Udostępnij za pośrednictwem


Child (Popup)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the child element that forms the visual tree for the popup.

<Popup ...>
  singleChild
</Popup>
value = object.Child
object.Child = value

XAML Values

Value

Description

singleChild

A single object that derives from UIElement. These can be one or more of the following: Border, Canvas, Ellipse, Glyphs, Grid, Image, InkPresenter, Line, MediaElement, PasswordBox, Path, Polygon, Polyline, Rectangle, Shape, StackPanel, TextBlock, TextBox.

Property Value

Type: UIElement

The object for the visual tree.

This property is read/write. The default is null.

Managed Equivalent

Child

Applies To

Popup

Version Information

Silverlight 2