Border.Child Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Border.Child.

public:
 property UIElement ^ Child { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Child();

void Child(UIElement value);
public UIElement Child { get; set; }
var uIElement = border.child;
border.child = uIElement;
Public Property Child As UIElement
<Border>
  singleChild
</Border>

Property Value

UIElement

The UIElement to apply the border to.

Applies to