Share via


UserControl.Content Proprietà

Definizione

Ottiene o imposta il contenuto contenuto contenuto all'interno di un controllo utente.

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 .../>

Valore della proprietà

Contenuto del controllo utente.

Si applica a