Viewbox.Child property

Applies to Windows and Windows Phone

Gets or sets the single child element of a Viewbox element.

Syntax


public UIElement Child { get; set; }


<ViewBox ...>
  child
</ViewBox>

XAML Values

child

A single object element of a type that derives from UIElement, which is contained by this Viewbox.

Property value

Type: UIElement

The single child element of a Viewbox element.

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

Viewbox

 

 

Show:
© 2014 Microsoft