Layer
A Layer is a collection of Nodes or Links that are to be displayed in front of or behind the parts in other layers.
Hereda de: UIElement
Propiedades
AllowDelete : bool
Gets or sets whether the user may delete the parts that are in this layer.
AllowEdit : bool
Gets or sets whether the user may edit in-place the text of the parts that are in this layer.
AllowGroup : bool
Gets or sets whether the user may group the parts that are in this layer.
AllowPrint : bool
Gets or sets whether the user may print the parts that are in this layer.
AllowRelink : bool
Gets or sets whether the user may relink the links that are in this layer.
AllowReshape : bool
Gets or sets whether the user may reshape the parts that are in this layer.
AllowResize : bool
Gets or sets whether the user may resize the parts that are in this layer.
AllowRotate : bool
Gets or sets whether the user may rotate the parts that are in this layer.
AllowSelect : bool
Gets or sets whether the user may select the parts that are in this layer.
AllowUngroup : bool
Gets or sets whether the user may ungroup the groups that are in this layer.
IsTemporary : bool
Gets or sets whether the layer holds "temporary" objects, such as selection or tool adornments or other parts temporarily displayed by tools.
Panel : DiagramPanel
Get the DiagramPanel that this layer is in.
Métodos
FindElementAt``1(Point, Func<Visual, T>, Predicate<T>)
Search the parts in this layer that are at a given point that meet a given predicate, and return the first element that matches.
- p
- a Point in model coordinates
- navig
- This is a function that is given an element at the given point and returns an element of type to be considered by the predicate . Typically the function will find the ancestor Part or Node.
- pred
- This is a predicate that is given an element of type ; if the predicate returns true, this method returns that element.
Devuelve: an element of type
FindElementsAt``1(Point, Func<Visual, T>, Predicate<T>)
Search the parts in this layer that are at a given point that meet a given predicate, and return a collection of elements that match.
- p
- a Point in model coordinates
- navig
- This is a function that is given an element at the given point and returns an element of type to be considered by the predicate . Typically the function will find the ancestor Part or Node.
- pred
- This is a predicate that is given an element of type ; if the predicate returns true, this method includes that element in its results.
Devuelve: a collection of elements of type
OnVisualParentChanged(DependencyObject)
Every Layer's parent must be a DiagramPanel, if it has any parent.
- oldParent
Campos
AllowCopyProperty : DependencyProperty
Identifies the AllowCopy dependency property.
AllowDeleteProperty : DependencyProperty
Identifies the AllowDelete dependency property.
AllowEditProperty : DependencyProperty
Identifies the AllowEdit dependency property.
AllowGroupProperty : DependencyProperty
Identifies the AllowGroup dependency property.
AllowLinkProperty : DependencyProperty
Identifies the AllowLink dependency property.
AllowMoveProperty : DependencyProperty
Identifies the AllowMove dependency property.
AllowPrintProperty : DependencyProperty
Identifies the AllowPrint dependency property.
AllowRelinkProperty : DependencyProperty
Identifies the AllowRelink dependency property.
AllowReshapeProperty : DependencyProperty
Identifies the AllowReshape dependency property.
AllowResizeProperty : DependencyProperty
Identifies the AllowResize dependency property.
AllowRotateProperty : DependencyProperty
Identifies the AllowRotate dependency property.
AllowSelectProperty : DependencyProperty
Identifies the AllowSelect dependency property.
AllowUngroupProperty : DependencyProperty
Identifies the AllowUngroup dependency property.
IdProperty : DependencyProperty
Identifies the Id dependency property.
IsTemporaryProperty : DependencyProperty
Identifies the IsTemporary dependency property.