Extensions.LoadFromXaml Method

Definition

Overloads

LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type)

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

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
TXaml

The view on which this method operates.

xaml
System.String

The XAML that encodes the view state.

Returns

TXaml

The initialized view.

Applies to

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
TXaml

The view on which this method operates.

callingType
System.Type

The type of the caller.

Returns

TXaml

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

Applies to