BlockUIContainer コンストラクター

定義

BlockUIContainer クラスの新しいインスタンスを初期化します。

オーバーロード

BlockUIContainer()

BlockUIContainer クラスの新しい空のインスタンスを初期化します。

BlockUIContainer(UIElement)

指定した BlockUIContainer オブジェクトを新しい UIElement の初期コンテンツとして受け取って、BlockUIContainer クラスの新しいインスタンスを初期化します。

BlockUIContainer()

BlockUIContainer クラスの新しい空のインスタンスを初期化します。

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

適用対象

BlockUIContainer(UIElement)

指定した BlockUIContainer オブジェクトを新しい UIElement の初期コンテンツとして受け取って、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)

パラメーター

uiElement
UIElement

新しい UIElement の初期コンテンツを指定する BlockUIContainer オブジェクト。

次の例では、このコンストラクターの使用方法を示します。

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

適用対象