Share via


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)

적용 대상