PropertyGridEx
StockSharp.Xaml.PropertyGrid
The extended table of settings.
Inherits: PropertyGridControl
Implements: IComponentConnector
Constructors
PropertyGridEx
public PropertyGridEx()
propertyGridEx = PropertyGridEx()
Initializes a new instance of the PropertyGridEx.
Properties
CustomEditors
public static Dictionary<Type, Type> CustomEditors { get; }
value = PropertyGridEx.CustomEditors
Custom editors.
ExchangeInfoProvider
public IExchangeInfoProvider ExchangeInfoProvider { get; set; }
value = propertyGridEx.ExchangeInfoProvider
propertyGridEx.ExchangeInfoProvider = value
The exchange boards provider.
HeaderShowMode
public HeaderShowMode HeaderShowMode { get; set; }
value = propertyGridEx.HeaderShowMode
propertyGridEx.HeaderShowMode = value
Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = propertyGridEx.Portfolios
propertyGridEx.Portfolios = value
Available portfolios.
PostImmediately
public bool PostImmediately { get; set; }
value = propertyGridEx.PostImmediately
propertyGridEx.PostImmediately = value
SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = propertyGridEx.SecurityProvider
propertyGridEx.SecurityProvider = value
The provider of information about instruments.
UseCustomIndent
public bool UseCustomIndent { get; set; }
value = propertyGridEx.UseCustomIndent
propertyGridEx.UseCustomIndent = value
Methods
CreatePropertyGridView
protected override PropertyGridView CreatePropertyGridView()
result = propertyGridEx.CreatePropertyGridView()
GetSelectedObject
public object GetSelectedObject()
result = propertyGridEx.GetSelectedObject()
Get the selected object.
Returns: Value.
InitializeComponent
public void InitializeComponent()
propertyGridEx.InitializeComponent()
InitializeComponent
OnSelectedObjectChanged
protected override void OnSelectedObjectChanged(object oldValue, object newValue)
propertyGridEx.OnSelectedObjectChanged(oldValue, newValue)
The value change handle.
- oldValue
- Previous value.
- newValue
- The new value.
SetSelectedObject
public void SetSelectedObject(Type type, object instance)
propertyGridEx.SetSelectedObject(type, instance)
Set the selected object.
- type
- type.
- instance
- Object.
Fields
ExchangeInfoProviderProperty
public static readonly DependencyProperty ExchangeInfoProviderProperty
value = PropertyGridEx.ExchangeInfoProviderProperty
DependencyProperty for ExchangeInfoProvider.
HeaderShowModeProperty
public static readonly DependencyProperty HeaderShowModeProperty
value = PropertyGridEx.HeaderShowModeProperty
PortfoliosProperty
public static readonly DependencyProperty PortfoliosProperty
value = PropertyGridEx.PortfoliosProperty
DependencyProperty for Portfolios.
PostImmediatelyProperty
public static readonly DependencyProperty PostImmediatelyProperty
value = PropertyGridEx.PostImmediatelyProperty
SecurityProviderProperty
public static readonly DependencyProperty SecurityProviderProperty
value = PropertyGridEx.SecurityProviderProperty
DependencyProperty for SecurityProvider.
UseCustomIndentProperty
public static readonly DependencyProperty UseCustomIndentProperty
value = PropertyGridEx.UseCustomIndentProperty