DecoratorContainer
DecoratorContainer Class
Section titled “DecoratorContainer Class”Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ContentControl → DecoratorContainer
Implements: INodifyCanvasItem, IKeyboardFocusTarget<DecoratorContainer>
References: DecoratorsControl, NodifyEditor
The container for all the items generated from the NodifyEditor.Decorators collection.
public class DecoratorContainer : ContentControl, INodifyCanvasItem, IKeyboardFocusTarget<DecoratorContainer>
Constructors
Section titled “Constructors”DecoratorContainer(DecoratorsControl)
Section titled “DecoratorContainer(DecoratorsControl)”public DecoratorContainer(DecoratorsControl parent);
Parameters
parent
DecoratorsControl
DecoratorContainer()
Section titled “DecoratorContainer()”public DecoratorContainer();
Properties
Section titled “Properties”ActualSize
Section titled “ActualSize”Gets the actual size of this DecoratorContainer.
public Size ActualSize { get; set; }
Property Value
Bounds
Section titled “Bounds”public virtual Rect Bounds { get; set; }
Property Value
Location
Section titled “Location”Gets or sets the location of this DecoratorContainer inside the NodifyEditor.DecoratorsHost.
public virtual Point Location { get; set; }
Property Value
public DecoratorsControl Owner { get; set; }
Property Value
Methods
Section titled “Methods”OnLocationChanged()
Section titled “OnLocationChanged()”Raises the DecoratorContainer.LocationChangedEvent.
protected void OnLocationChanged();
OnRenderSizeChanged(SizeChangedInfo)
Section titled “OnRenderSizeChanged(SizeChangedInfo)”protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo);
Parameters
sizeInfo
SizeChangedInfo
OnVisualParentChanged(DependencyObject)
Section titled “OnVisualParentChanged(DependencyObject)”protected override void OnVisualParentChanged(DependencyObject oldParent);
Parameters
oldParent
DependencyObject
Events
Section titled “Events”LocationChanged
Section titled “LocationChanged”Occurs when the DecoratorContainer.Location of this DecoratorContainer is changed.
public event RoutedEventHandler LocationChanged;
Event Type