Border.Child property

Applies to Windows and Windows Phone

Gets or sets the child element to draw the border around.

Syntax


public UIElement Child { get; set; }


<Border>
  singleChild
</Border>


XAML Values

singleChild

A single object element that the border encloses. This child must be an object that derives from UIElement.

Property value

Type: UIElement

The UIElement to apply the border to.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Border

 

 

Show:
© 2014 Microsoft