3.7 KiB
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
DecoratorContainer(DecoratorsControl)
public DecoratorContainer(DecoratorsControl parent);
Parameters
parent DecoratorsControl
DecoratorContainer()
public DecoratorContainer();
Properties
ActualSize
Gets the actual size of this DecoratorContainer.
public Size ActualSize { get; set; }
Property Value
Bounds
public virtual Rect Bounds { get; set; }
Property Value
Location
Gets or sets the location of this DecoratorContainer inside the NodifyEditor.DecoratorsHost.
public virtual Point Location { get; set; }
Property Value
Owner
public DecoratorsControl Owner { get; set; }
Property Value
Methods
OnLocationChanged()
Raises the DecoratorContainer.LocationChangedEvent.
protected void OnLocationChanged();
OnRenderSizeChanged(SizeChangedInfo)
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo);
Parameters
sizeInfo SizeChangedInfo
OnVisualParentChanged(DependencyObject)
protected override void OnVisualParentChanged(DependencyObject oldParent);
Parameters
oldParent DependencyObject
Events
LocationChanged
Occurs when the DecoratorContainer.Location of this DecoratorContainer is changed.
public event RoutedEventHandler LocationChanged;
Event Type