Class BaseContextEditor
Base class for preview editor
Implements
ISaveableLayout
IFocusableControlBase
Inherited Members
Namespace: Simplic.Framework.Extension.UI
Assembly: Simplic.Framework.Extension.dll
Syntax
public class BaseContextEditor : StackBasedWindow
Constructors
| Improve this Doc View SourceBaseContextEditor()
Constructor
Declaration
public BaseContextEditor()
Properties
| Improve this Doc View Source_LoadOnOpenPage
gets/sets flag
Declaration
public bool _LoadOnOpenPage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContextManager
gets/sets context manager
Declaration
public ContextManager ContextManager { get; set; }
Property Value
Type | Description |
---|---|
ContextManager |
ShowGridLines
gets/sets flag
Declaration
public bool ShowGridLines { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UIManager
gets/sets UI Manager
Declaration
public ContextUIManager UIManager { get; set; }
Property Value
Type | Description |
---|---|
ContextUIManager |
Methods
| Improve this Doc View SourceAddProperty(PropertyAssignment, ref IDictionary<Guid, WindowGrid>, ref IList<Tuple<Int32, TabItem>>)
Add a property to grid/tab
Declaration
protected void AddProperty(PropertyAssignment property, ref IDictionary<Guid, WindowGrid> _grids, ref IList<Tuple<int, TabItem>> _tabs)
Parameters
Type | Name | Description |
---|---|---|
PropertyAssignment | property | |
System.Collections.Generic.IDictionary<System.Guid, WindowGrid> | _grids | |
System.Collections.Generic.IList<System.Tuple<System.Int32, System.Windows.Controls.TabItem>> | _tabs |
GetGridLengthFromString(String)
Parse grid-length to string
Declaration
protected GridLength GetGridLengthFromString(string length)
Parameters
Type | Name | Description |
---|---|---|
System.String | length | Length string |
Returns
Type | Description |
---|---|
System.Windows.GridLength | Instance of GridLength |
New()
Must be overwritten for preview
Declaration
public virtual void New()
Implements
ISaveableLayout
IFocusableControlBase