Skip to content

Nodify_DecoratorContainer

miroiu edited this page Dec 23, 2024 · 1 revision

DecoratorContainer Class

Namespace: Nodify

Assembly: Nodify

Inheritance: ObjectDispatcherObjectDependencyObjectVisualUIElementFrameworkElementControlContentControlDecoratorContainer

Implements: INodifyCanvasItem

References: NodifyEditor

The container for all the items generated from the NodifyEditor.Decorators collection.

public class DecoratorContainer : ContentControl, INodifyCanvasItem  

Constructors

DecoratorContainer()

public DecoratorContainer();  

Properties

ActualSize

Gets the actual size of this DecoratorContainer.

public Size ActualSize { get; set; }  

Property Value

Size

Location

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

public virtual Point Location { get; set; }  

Property Value

Point

Methods

OnLocationChanged()

Raises the DecoratorContainer.LocationChangedEvent.

protected void OnLocationChanged();  

OnRenderSizeChanged(SizeChangedInfo)

protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo);  

Parameters

sizeInfo SizeChangedInfo

Events

LocationChanged

Occurs when the DecoratorContainer.Location of this DecoratorContainer is changed.

public event RoutedEventHandler LocationChanged;  

Event Type

RoutedEventHandler

Clone this wiki locally