Decorator.Child Property


Gets or sets the single child element of a Decorator.

 virtual property System::Windows::UIElement ^ Child { System::Windows::UIElement ^ get(); void set(System::Windows::UIElement ^ value); };
public virtual System.Windows.UIElement Child { get; set; }
member this.Child : System.Windows.UIElement with get, set
Public Overridable Property Child As UIElement

Property Value

The single child element of a Decorator.


Decorator enforces a strong content model for child content. The Child property of a Decorator must be a single UIElement.

Applies to