Decorator.Child Property

Definition

Gets or sets the single child element of a Decorator.

public:
 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.

Remarks

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

Applies to