Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Decorator.Child Property

Definition

Namespace:
System.Windows.Controls
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?