Class Extensions
Definition
- Namespace:
- Tizen.NUI.Xaml
- Assembly:
- Tizen.NUI.dll
Extension class for View defining Tizen.NUI.Xaml.Extensions.LoadFromXaml{TView} method.
C#Copypublic 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#Copypublic 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#Copypublic 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. |
Declaration
C#Copypublic 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 |
Declaration
C#Copypublic static T LoadObject<T>(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |