BlockUIContainer Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da BlockUIContainer classe.
Sobrecargas
| Name | Description |
|---|---|
| BlockUIContainer() |
Inicializa uma nova instância vazia da BlockUIContainer classe. |
| BlockUIContainer(UIElement) |
Inicializa uma nova instância da BlockUIContainer classe, tomando um objeto especificado UIElement como conteúdo inicial do novo BlockUIContainer. |
BlockUIContainer()
Inicializa uma nova instância vazia da BlockUIContainer classe.
public:
BlockUIContainer();
public BlockUIContainer();
Public Sub New ()
Aplica-se a
BlockUIContainer(UIElement)
Inicializa uma nova instância da BlockUIContainer classe, tomando um objeto especificado UIElement como conteúdo inicial do novo BlockUIContainer.
public:
BlockUIContainer(System::Windows::UIElement ^ uiElement);
public BlockUIContainer(System.Windows.UIElement uiElement);
new System.Windows.Documents.BlockUIContainer : System.Windows.UIElement -> System.Windows.Documents.BlockUIContainer
Public Sub New (uiElement As UIElement)
Parâmetros
- uiElement
- UIElement
Um UIElement objeto que especifica o conteúdo inicial do novo BlockUIContainer.
Exemplos
O exemplo seguinte demonstra a utilização deste construtor.
// A child UIElement element for the new BlockUIContainer element.
Button buttonx = new Button();
buttonx.Content = "Click me!";
// After this line executes, the new element "inlineUI"
// contains the specified Inline element, "runx".
BlockUIContainer blockUI = new BlockUIContainer(buttonx);
' A child UIElement element for the new BlockUIContainer element.
Dim buttonx3 As New Button()
buttonx3.Content = "Click me!"
' After this line executes, the new element "inlineUI"
' contains the specified Inline element, "runx".
Dim blockUI As New BlockUIContainer(buttonx3)