Extensions.LoadFromXaml Extensions.LoadFromXaml Method

Definition

Overloads

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

public static TXaml LoadFromXaml<TXaml> (this TXaml view, string xaml);
static member LoadFromXaml : 'Xaml * string -> 'Xaml
Type Parameters
TXaml

The type of view to initialize with state from XAML.

Parameters
view

The view on which this method operates.

xaml
String String

The XAML that encodes the view state.

Returns

The initialized view.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

public static TXaml LoadFromXaml<TXaml> (this TXaml view, Type callingType);
static member LoadFromXaml : 'Xaml * Type -> 'Xaml
Type Parameters
TXaml

The type of view to initialize with state from XAML.

Parameters
view

The view on which this method operates.

callingType
Type Type

The type of the caller.

Returns

A TXaml with the properties that are defined in the application manifest for callingType.

Applies to