Class ContextUIManager
ui manager
Inheritance
System.Object
ContextUIManager
Namespace: Simplic.Framework.Extension.UI
Assembly: Simplic.Framework.Extension.dll
Syntax
public class ContextUIManager : object
Properties
| Improve this Doc View SourceLabelPositions
Gets a static list of label positions
Declaration
public static IList<LabelPositionViewModel> LabelPositions { get; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| Guid | id | Unique tab id |
GetAllEditorConfiguration(Guid)
Gets all editor configurations
Declaration
public IEnumerable<PropertyEditorConfiguration> GetAllEditorConfiguration(Guid contextId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contextId |
Returns
| Type | Description |
|---|---|
| IEnumerable<PropertyEditorConfiguration> | Enumerable of configurations |
GetEditorConfiguration(Guid)
Get the editor configuration from the database
Declaration
public PropertyEditorConfiguration GetEditorConfiguration(Guid id)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|---|---|
| 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 |
|---|---|---|
| Guid | contextId |
Returns
| Type | Description |
|---|---|
| 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 |
| 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 |
| Guid | contextId |