Skip to content

Nodify_DecoratorContainer

miroiu edited this page Jun 18, 2025 · 2 revisions

DecoratorContainer Class

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlContentControlDecoratorContainer

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

Size

Bounds

public virtual Rect Bounds { get; set; }  

Property Value

Rect

Location

Gets or sets the location of this DecoratorContainer inside the NodifyEditor.DecoratorsHost.

public virtual Point Location { get; set; }  

Property Value

Point

Owner

public DecoratorsControl Owner { get; set; }  

Property Value

DecoratorsControl

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

RoutedEventHandler

Clone this wiki locally