Class VisualFactory

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

The VisualFactory is a singleton object that provides and shares visuals between views.

C#
Copy
public class VisualFactory : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.Object
Tizen.NUI.Binding.Element
VisualFactory
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Properties

View Source

Instance

Retrieves the VisualFactory singleton.

Declaration
C#
Copy
public static VisualFactory Instance { get; }
Property Value
Type Description
VisualFactory
API Level: 3

Methods

View Source

CreateVisual(PropertyMap)

Request the visual.

Declaration
C#
Copy
public VisualBase CreateVisual(PropertyMap propertyMap)
Parameters
Type Name Description
PropertyMap propertyMap

The map contains the properties required by the visual. The content of the map determines the type of visual that will be returned.

Returns
Type Description
VisualBase

The handle to the created visual.

API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable