UserControl.Content 屬性

定義

取得或設定包含在使用者控制項內的內容。

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

void Content(UIElement value);
public UIElement Content { get; set; }
var uIElement = userControl.content;
userControl.content = uIElement;
Public Property Content As UIElement
<UserControl ...>
  singleContentElement
</UserControl>
-or-
<UserControl .../>

屬性值

使用者控制項的內容。

適用於