Taal

BlockUIContainer Constructors

Definitie

Initialiseert een nieuw exemplaar van de BlockUIContainer klasse.

Overloads

Name Description
BlockUIContainer()

Initialiseert een nieuwe, lege instantie van de BlockUIContainer klasse.

BlockUIContainer(UIElement)

Initialiseert een nieuw exemplaar van de BlockUIContainer klasse, waarbij een opgegeven UIElement object wordt gebruikt als de eerste inhoud van het nieuwe BlockUIContainerobject.

BlockUIContainer()

Initialiseert een nieuwe, lege instantie van de BlockUIContainer klasse.

public:
 BlockUIContainer();
public BlockUIContainer();
Public Sub New ()

Van toepassing op

BlockUIContainer(UIElement)

Initialiseert een nieuw exemplaar van de BlockUIContainer klasse, waarbij een opgegeven UIElement object wordt gebruikt als de eerste inhoud van het nieuwe BlockUIContainerobject.

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)

Parameters

uiElement
UIElement

Een UIElement object dat de oorspronkelijke inhoud van het nieuwe BlockUIContainerobject opgeeft.

Voorbeelden

In het volgende voorbeeld ziet u het gebruik van deze constructor.

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

Van toepassing op