BaseGridControl
StockSharp.Xaml.GridControl
The grid control.
Inherits: GridControl
Implements: IPersistable
Constructors
BaseGridControl
public BaseGridControl()
baseGridControl = BaseGridControl()
Initializes a new instance of the BaseGridControl.
Properties
AutoScroll
public bool AutoScroll { get; set; }
value = baseGridControl.AutoScroll
baseGridControl.AutoScroll = value
Automatically to scroll control on the last row added. The default is off.
ColumnVisibility
public ColumnVisibilityHolder ColumnVisibility { get; }
value = baseGridControl.ColumnVisibility
Get or set column visibility by index.
Methods
BeginEndUpdate
public void BeginEndUpdate(Action action)
baseGridControl.BeginEndUpdate(action)
BeginDataUpdate and EndDataUpdate auto invoke.
- action
- Action.
Load
public virtual void Load(SettingsStorage storage)
baseGridControl.Load(storage)
Load settings.
- storage
- Settings storage.
LoadExpandedState
public void LoadExpandedState()
baseGridControl.LoadExpandedState()
Load group state settings.
OnItemsSourceChanged
protected override void OnItemsSourceChanged(object oldValue, object newValue)
baseGridControl.OnItemsSourceChanged(oldValue, newValue)
Called when the ItemsSource property changes.
- oldValue
- Old value of the ItemsSource property.
- newValue
- New value of the ItemsSource property.
OnLoaded
protected override void OnLoaded(object sender, RoutedEventArgs e)
baseGridControl.OnLoaded(sender, e)
- sender
- e
Save
public virtual void Save(SettingsStorage storage)
baseGridControl.Save(storage)
Save settings.
- storage
- Settings storage.
Events
DdeErrorHandler
public event Action<Exception> DdeErrorHandler
baseGridControl.DdeErrorHandler += handler
DDE export error handler.
ItemDoubleClick
public event Action<object, ItemDoubleClickEventArgs> ItemDoubleClick
baseGridControl.ItemDoubleClick += handler
Event of double-clicking the mouse on the selected item.
LayoutChanged
public event Action LayoutChanged
baseGridControl.LayoutChanged += handler
Layout changed event.
Fields
AutoScrollProperty
public static readonly DependencyProperty AutoScrollProperty
value = BaseGridControl.AutoScrollProperty
DependencyProperty for AutoScroll.