Skip to content

DecoratorContainer

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>
public DecoratorContainer(DecoratorsControl parent);

Parameters

parent DecoratorsControl

public DecoratorContainer();

Gets the actual size of this DecoratorContainer.

public Size ActualSize { get; set; }

Property Value

Size

public virtual Rect Bounds { get; set; }

Property Value

Rect

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

public virtual Point Location { get; set; }

Property Value

Point

public DecoratorsControl Owner { get; set; }

Property Value

DecoratorsControl

Raises the DecoratorContainer.LocationChangedEvent.

protected void OnLocationChanged();
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo);

Parameters

sizeInfo SizeChangedInfo

protected override void OnVisualParentChanged(DependencyObject oldParent);

Parameters

oldParent DependencyObject

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

public event RoutedEventHandler LocationChanged;

Event Type

RoutedEventHandler