BlockUIContainer Oluşturucular

Tanım

BlockUIContainer sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

Name Description
BlockUIContainer()

Sınıfının yeni, boş bir örneğini BlockUIContainer başlatır.

BlockUIContainer(UIElement)

Yeni BlockUIContainerilk içeriği olarak belirtilen UIElement nesnesini alarak BlockUIContainer sınıfının yeni bir örneğini başlatır.

BlockUIContainer()

Sınıfının yeni, boş bir örneğini BlockUIContainer başlatır.

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

Şunlara uygulanır

BlockUIContainer(UIElement)

Yeni BlockUIContainerilk içeriği olarak belirtilen UIElement nesnesini alarak BlockUIContainer sınıfının yeni bir örneğini başlatır.

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)

Parametreler

uiElement
UIElement

UIElement Yeni BlockUIContaineröğesinin ilk içeriğini belirten bir nesne.

Örnekler

Aşağıdaki örnekte bu oluşturucunun kullanımı gösterilmektedir.

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

Şunlara uygulanır