InlineCollection.Add Metoda

Definicja

Run Dodaje element do kolekcji.

Przeciążenia

Add(String)

Dodaje niejawny Run element z podanym tekstem podanym Stringjako .

Add(UIElement)

Dodaje niejawny element InlineUIContainer podany UIElement już w nim.

Add(String)

Dodaje niejawny Run element z podanym tekstem podanym Stringjako .

public:
 void Add(System::String ^ text);
public void Add (string text);
override this.Add : string -> unit
Public Sub Add (text As String)

Parametry

text
String

Tekst ustawiony jako Text właściwość niejawnego Run.

Dotyczy

Add(UIElement)

Dodaje niejawny element InlineUIContainer podany UIElement już w nim.

public:
 void Add(System::Windows::UIElement ^ uiElement);
public void Add (System.Windows.UIElement uiElement);
override this.Add : System.Windows.UIElement -> unit
Public Sub Add (uiElement As UIElement)

Parametry

uiElement
UIElement

UIElement ustaw jako Child właściwość niejawnego InlineUIContainer.

Dotyczy