Class ContextUIManager
ui manager
Inheritance
System.Object
ContextUIManager
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.Extension.UI
Assembly: Simplic.Framework.Extension.dll
Syntax
public class ContextUIManager
Properties
| Improve this Doc View SourceLabelPositions
Gets a static list of label positions
Declaration
public static IList<LabelPositionViewModel> LabelPositions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<LabelPositionViewModel> |
Methods
| Improve this Doc View SourceDeleteTab(Guid)
Remove a tab from the article system
Declaration
public void DeleteTab(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique tab id |
GetAllEditorConfiguration(Guid)
Gets all editor configurations
Declaration
public IEnumerable<PropertyEditorConfiguration> GetAllEditorConfiguration(Guid contextId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contextId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PropertyEditorConfiguration> | Enumerable of configurations |
GetEditorConfiguration(Guid)
Get the editor configuration from the database
Declaration
public PropertyEditorConfiguration GetEditorConfiguration(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique editor id |
Returns
Type | Description |
---|---|
PropertyEditorConfiguration |
GetTab(Guid)
Gets a single tab instance
Declaration
public UITab GetTab(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique tab id |
Returns
Type | Description |
---|---|
UITab | Article id if found |
GetTabs(Guid)
Gets a list of all available tabs
Declaration
public IList<UITab> GetTabs(Guid contextId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contextId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<UITab> | List of tabs |
SaveEditorConfiguration(PropertyEditorConfiguration, Guid)
Save the configuration to the database
Declaration
public void SaveEditorConfiguration(PropertyEditorConfiguration configuration, Guid contextId)
Parameters
Type | Name | Description |
---|---|---|
PropertyEditorConfiguration | configuration | Configuration instance |
System.Guid | contextId | Unique stack id |
SaveTab(UITab, Guid)
Save tab information
Declaration
public void SaveTab(UITab tab, Guid contextId)
Parameters
Type | Name | Description |
---|---|---|
UITab | tab | Tab instance |
System.Guid | contextId |