GoDiagram Win Reference
GoLayerCollection Class Members
Fields  Properties  Methods 


The following tables list the members exposed by GoLayerCollection.

Public Fields
 NameDescription
Public FieldChangedDefaultThis is a RaiseChanged hint.  
Public FieldInsertedLayerThis is a RaiseChanged hint.  
Public FieldMovedLayerThis is a RaiseChanged hint.  
Public FieldRemovedLayerThis is a RaiseChanged hint.  
Top
Public Properties
 NameDescription
Public PropertyBackwardsGets an enumerable whose enumerator will iterate over the layers in reverse order.  
Public PropertyBottomGets the first layer, normally drawn underneath all other layers.  
Public PropertyCountGet the number of layers.  
Public PropertyDefaultGets or sets the default layer for adding objects.  
Public PropertyDocumentGets the document that this layer collection belongs to, or null if this is in a view.  
Public PropertyIsReadOnlyThis collection is never read-only programmatically.  
Public PropertyLayerCollectionContainerGets the document or view to which this layer collection belongs.  
Public PropertyTopGets the last layer, normally drawn on top of all other layers.  
Public PropertyViewGets the view that this layer collection belongs to, or null if this is in a document.  
Top
Public Methods
 NameDescription
Public MethodAddAdding arbitrary layers to this collection is not supported. Use CreateNewLayerBefore, CreateNewLayerAfter, InsertDocumentLayerBefore, or InsertDocumentLayerAfter instead.  
Public MethodClearRemoving all layers from this collection is not supported. At least one layer must remain.  
Public MethodContainsA predicate to see if a particular GoLayer is a member of this collection.  
Public MethodCopyArrayReturns a newly allocated array holding references to all of the layers.  
Public MethodCopyToCopy references to all of the layers in this collection into an array.  
Public MethodCreateNewLayerAfterCreate a new GoLayer positioned after (i.e. in front of) an existing layer.  
Public MethodCreateNewLayerBeforeCreate a new GoLayer positioned before (i.e. behind) an existing layer.  
Public MethodFindSearch for a layer with a particular identifier.  
Public MethodGetEnumeratorGet an Enumerator that iterates over all of the layers of this collection.  
Public MethodGetObjectEnumeratorGet an Enumerator that iterates over all of the objects in all of the layers in this collection, in the desired order.  
Public MethodInsertDocumentLayerAfterAdd a reference to a document layer into this view's collection of layers.  
Public MethodInsertDocumentLayerBeforeAdd a reference to a document layer into this view's collection of layers.  
Public MethodMoveAfterReorder the layers in this collection by moving a layer to be immediately after (i.e. in front of) another layer.  
Public MethodMoveBeforeReorder the layers in this collection by moving a layer to be immediately before (i.e. behind) another layer.  
Public MethodNextLayerReturn the next layer in the Z-order, given a layer.  
Public MethodRemoveRemove a layer from this collection.  
Public MethodSortByZOrderOverloaded. Sort an Array of GoObjects by their Z-order position in these layers.  
Top
See Also

Reference

GoLayerCollection Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback