Class TemplateManager
Static templating system manager
Inheritance
System.Object
TemplateManager
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.UI.Templating
Assembly: Simplic.Framework.Base.dll
Syntax
public class TemplateManager : INotifyPropertyChanged
Fields
| Improve this Doc View SourceTEMPLATE_PATH
Base template path, {0} can be "public" or "private"
Declaration
public const string TEMPLATE_PATH = "/{0}/UIDataTemplate/{1}/{2}"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceIsInEditMode
Gets or sets whether the ui is in edit mode or not
Declaration
public bool IsInEditMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Singleton
Gets the singleton class access
Declaration
public static TemplateManager Singleton { get; }
Property Value
Type | Description |
---|---|
TemplateManager |
Methods
| Improve this Doc View SourceInitialize()
Initialize the tempalte system
Declaration
public void Initialize()
SwitchEditMode(Guid)
Switch edit mode
Declaration
public static void SwitchEditMode(Guid appId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | appId | Unique app id |
Events
| Improve this Doc View SourcePropertyChanged
Adds or removes an property changed event handler
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged