Class Extensions

Definition

Namespace:
Tizen.NUI.Xaml
Assembly:
Tizen.NUI.dll

Extension class for View defining Tizen.NUI.Xaml.Extensions.LoadFromXaml{TView} method.

C#
Copy
public static class Extensions : object
Inheritance
Extensions

Methods

View Source

LoadFromXaml<TXaml>(TXaml, String)

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

Declaration
C#
Copy
public static TXaml LoadFromXaml<TXaml>(this TXaml view, string xaml)
Parameters
Type Name Description
TXaml view

The view on which this method operates.

String xaml

The XAML that encodes the view state.

Returns
Type Description
TXaml

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

Type Parameters
Name Description
TXaml

The type of view to initialize with state from XAML.

View Source

LoadFromXaml<TXaml>(TXaml, Type)

Returns an initialized view by loading the specified xaml.

Declaration
C#
Copy
public static TXaml LoadFromXaml<TXaml>(this TXaml view, Type callingType)
Parameters
Type Name Description
TXaml view

The view on which this method operates.

Type callingType

The type of the caller.

Returns
Type Description
TXaml

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

Type Parameters
Name Description
TXaml

The type of view to initialize with state from XAML.

View Source

LoadFromXamlFile<TXaml>(TXaml, String)

Declaration
C#
Copy
public static TXaml LoadFromXamlFile<TXaml>(this TXaml view, string nameOfXamlFile)
Parameters
Type Name Description
TXaml view
String nameOfXamlFile
Returns
Type Description
TXaml
Type Parameters
Name Description
TXaml
View Source

LoadObject<T>(String)

Declaration
C#
Copy
public static T LoadObject<T>(string path)
Parameters
Type Name Description
String path
Returns
Type Description
T
Type Parameters
Name Description
T