BaseGridControl
StockSharp.Xaml.GridControl
Die Netzsteuerung.
Erbt von: GridControl
Implementiert: IAsyncPersistable
Konstruktoren
BaseGridControl
public BaseGridControl()
baseGridControl = BaseGridControl()
Initialisiert eine neue Instanz von BaseGridControl.
Eigenschaften
AutoScroll
public bool AutoScroll { get; set; }
value = baseGridControl.AutoScroll
baseGridControl.AutoScroll = value
Automatische Steuerung des Scrollens in der letzten Zeile hinzugefügt.
ColumnVisibility
public ColumnVisibilityHolder ColumnVisibility { get; }
value = baseGridControl.ColumnVisibility
Holen Sie sich oder setzen Sie die Spaltensichtbarkeit nach Index.
Methoden
BeginEndUpdate
public void BeginEndUpdate(Action action)
baseGridControl.BeginEndUpdate(action)
BeginDataUpdate und EndDataUpdate Autoaufruf.
- action
- Maßnahmen.
LoadAsync
public virtual Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = baseGridControl.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
LoadExpandedState
public void LoadExpandedState()
baseGridControl.LoadExpandedState()
Einstellungen für den Zustand der Ladegruppe.
OnItemsSourceChanged
protected override void OnItemsSourceChanged(object oldValue, object newValue)
baseGridControl.OnItemsSourceChanged(oldValue, newValue)
Wird aufgerufen, wenn sich die ItemsSource-Eigenschaft ändert.
- oldValue
- Alter Wert der ItemsSource-Eigenschaft.
- newValue
- Neuer Wert der ItemsSource-Eigenschaft.
OnLoaded
protected override void OnLoaded(object sender, RoutedEventArgs e)
baseGridControl.OnLoaded(sender, e)
- sender
- e
SaveAsync
public virtual Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = baseGridControl.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
Ereignisse
DdeErrorHandler
public event Action<Exception> DdeErrorHandler
baseGridControl.DdeErrorHandler += handler
DDE Export Error Handler.
ItemDoubleClick
public event Action<object, ItemDoubleClickEventArgs> ItemDoubleClick
baseGridControl.ItemDoubleClick += handler
Ereignis des Doppelklickens der Maus auf das ausgewählte Element.
LayoutChanged
public event Action LayoutChanged
baseGridControl.LayoutChanged += handler
Layout geändertes Ereignis.
Felder
AutoScrollProperty
public static readonly DependencyProperty AutoScrollProperty
value = BaseGridControl.AutoScrollProperty
DependencyProperty für AutoScroll.