Jazyk

Extensions.LoadFromXaml Metoda

Definice

Přetížení

Name Description
LoadFromXaml<TXaml>(TXaml, String)

Načte zadaný řetězec XAML do zobrazení.

LoadFromXaml<TXaml>(TXaml, Type)

Načte XAML přidružený k zadanému typu do zobrazení.

LoadFromXaml<TXaml>(TXaml, String)

Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs

Načte zadaný řetězec XAML do zobrazení.

public:
generic <typename TXaml>
[System::Runtime::CompilerServices::Extension]
 static TXaml LoadFromXaml(TXaml view, System::String ^ xaml);
public static TXaml LoadFromXaml<TXaml>(this TXaml view, string xaml);
static member LoadFromXaml : 'Xaml * string -> 'Xaml
<Extension()>
Public Function LoadFromXaml(Of TXaml) (view As TXaml, xaml As String) As TXaml

Parametry typu

TXaml

Typ zobrazení.

Parametry

view
TXaml

Zobrazení pro načtení XAML do.

xaml
String

Řetězec XAML, který se má načíst.

Návraty

TXaml

Zobrazení s načteným JAZYKem XAML.

Platí pro

LoadFromXaml<TXaml>(TXaml, Type)

Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs
Zdroj:
ViewExtensions.cs

Načte XAML přidružený k zadanému typu do zobrazení.

public:
generic <typename TXaml>
[System::Runtime::CompilerServices::Extension]
 static TXaml LoadFromXaml(TXaml view, Type ^ callingType);
public static TXaml LoadFromXaml<TXaml>(this TXaml view, Type callingType);
static member LoadFromXaml : 'Xaml * Type -> 'Xaml
<Extension()>
Public Function LoadFromXaml(Of TXaml) (view As TXaml, callingType As Type) As TXaml

Parametry typu

TXaml

Typ zobrazení.

Parametry

view
TXaml

Zobrazení pro načtení XAML do.

callingType
Type

Typ použitý k vyhledání prostředku XAML.

Návraty

TXaml

Zobrazení s načteným JAZYKem XAML.

Platí pro