Class AdornerContainer
Simple helper class to allow any UIElements to be used as an Adorner.
public class AdornerContainer : Adorner
- Inheritance
-
AdornerContainer
Constructors
AdornerContainer(UIElement)
public AdornerContainer(UIElement adornedElement)
Parameters
adornedElement
UIElement
Properties
Child
public UIElement Child { get; set; }
Property Value
- UIElement
VisualChildrenCount
protected override int VisualChildrenCount { get; }
Property Value
Methods
ArrangeOverride(Size)
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
Returns
- Size
GetVisualChild(int)
protected override Visual GetVisualChild(int index)
Parameters
index
int
Returns
- Visual