DataGrid Methods
Methods
AddHandler(RoutedEvent, Delegate, RoutingStrategies, Boolean) | Adds a handler for the specified routed event. (Inherited from Interactive) |
AddHandler(TEventArgs)(RoutedEvent(TEventArgs), EventHandler(TEventArgs), RoutingStrategies, Boolean) | Adds a handler for the specified routed event. (Inherited from Interactive) |
ApplyStyling() | Applies styling to the control if the control is initialized and styling is not already applied. (Inherited from StyledElement) |
ApplyTemplate() | Creates the visual children of the control, if necessary (Inherited from TemplatedControl) |
Arrange(Rect) | Arranges the control and its children. (Inherited from Layoutable) |
ArrangeCore(Rect) | The default implementation of the control's arrange pass. (Inherited from Layoutable) |
ArrangeOverride(Size) | Arranges the content of the DataGridRow. (Overrides Layoutable.ArrangeOverride(Size)) |
BeginEdit() | Enters editing mode for the current cell and current row (if they're not already in editing mode). |
BeginEdit(RoutedEventArgs) | Enters editing mode for the current cell and current row (if they're not already in editing mode). |
BeginInit() | Signals the object that initialization is starting. (Inherited from StyledElement) |
Bind(AvaloniaProperty, IBinding) | Binds a AvaloniaProperty to an IBinding. (Inherited from AvaloniaObject) |
Bind(AvaloniaProperty, IObservable(Object), BindingPriority) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(DirectPropertyBase(T), IObservable(T)) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(DirectPropertyBase(T), IObservable(BindingValue(T))) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(DirectPropertyBase(T), IObservable(Object)) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(StyledProperty(T), IObservable(T), BindingPriority) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(StyledProperty(T), IObservable(BindingValue(T)), BindingPriority) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
Bind(T)(StyledProperty(T), IObservable(Object), BindingPriority) | Binds a AvaloniaProperty to an observable. (Inherited from AvaloniaObject) |
BuildEventRoute(RoutedEvent) | Builds an event route for a routed event. (Inherited from Interactive) |
CancelEdit() | Cancels editing mode and restores the original value. |
CancelEdit(DataGridEditingUnit) | Cancels editing mode for the specified DataGridEditingUnit and restores its original value. |
CheckAccess() | Returns a value indicating whether the current thread is the UI thread. (Inherited from AvaloniaObject) |
ClearValue(AvaloniaProperty) | Clears a AvaloniaProperty's local value. (Inherited from AvaloniaObject) |
ClearValue(T)(AvaloniaProperty(T)) | Clears a AvaloniaProperty's local value. (Inherited from AvaloniaObject) |
ClearValue(T)(DirectPropertyBase(T)) | Clears a AvaloniaProperty's local value. (Inherited from AvaloniaObject) |
ClearValue(T)(StyledProperty(T)) | Clears a AvaloniaProperty's local value. (Inherited from AvaloniaObject) |
CoerceValue(AvaloniaProperty) | Coerces the specified AvaloniaProperty. (Inherited from AvaloniaObject) |
CollapseRowGroup(DataGridCollectionViewGroup, Boolean) | Collapses the DataGridRowGroupHeader that represents a given CollectionViewGroup |
CommitEdit() | Commits editing mode and pushes changes to the backend. |
CommitEdit(DataGridEditingUnit, Boolean) | Commits editing mode for the specified DataGridEditingUnit and pushes changes to the backend. |
EndInit() | Signals the object that initialization is complete. (Inherited from StyledElement) |
Equals(Object) | Compares two objects using reference equality. (Inherited from AvaloniaObject) |
ExpandRowGroup(DataGridCollectionViewGroup, Boolean) | Expands the DataGridRowGroupHeader that represents a given CollectionViewGroup |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Focus(NavigationMethod, KeyModifiers) | Focuses the control. (Inherited from InputElement) |
GetBaseValue(T)(StyledProperty(T)) | Gets an AvaloniaProperty base value. (Inherited from AvaloniaObject) |
GetGroupFromItem(Object, Int32) | Returns the Group at the indicated level or null if the item is not in the ItemsSource |
GetHashCode() | Gets the hash code for the object. (Inherited from AvaloniaObject) |
GetTemplateFocusTarget() | Gets the element that receives the focus adorner. (Inherited from TemplatedControl) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
GetValue(AvaloniaProperty) | Gets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
GetValue(T)(DirectPropertyBase(T)) | Gets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
GetValue(T)(StyledProperty(T)) | Gets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
InitializeIfNeeded() | (Inherited from StyledElement) |
InvalidateArrange() | Invalidates the arrangement of the control and queues a new layout pass. (Inherited from Layoutable) |
InvalidateMeasure() | Invalidates the measurement of the control and queues a new layout pass. (Inherited from Layoutable) |
InvalidateMirrorTransform() | Computes the HasMirrorTransform value according to the FlowDirection and BypassFlowDirectionPolicies (Inherited from Visual) |
InvalidateVisual() | Invalidates the visual and queues a repaint. (Inherited from Visual) |
IsAnimating(AvaloniaProperty) | Checks whether a AvaloniaProperty is animating. (Inherited from AvaloniaObject) |
IsSet(AvaloniaProperty) | Checks whether a AvaloniaProperty is set on this object. (Inherited from AvaloniaObject) |
LogicalChildrenCollectionChanged(Object, NotifyCollectionChangedEventArgs) | (Inherited from Visual) |
Measure(Size) | Carries out a measure of the control. (Inherited from Layoutable) |
MeasureCore(Size) | The default implementation of the control's measure pass. (Inherited from Layoutable) |
MeasureOverride(Size) | Measures the children of a DataGridRow to prepare for arranging them during the ArrangeOverride(Size) pass. (Overrides Layoutable.MeasureOverride(Size)) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
OnApplyTemplate(TemplateAppliedEventArgs) | Builds the visual tree for the column header when a new template is applied. (Overrides TemplatedControl.OnApplyTemplate(TemplateAppliedEventArgs)) |
OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs) | Called when the styled element is added to a rooted logical tree. (Inherited from TemplatedControl) |
OnAttachedToVisualTree(VisualTreeAttachmentEventArgs) | (Overrides Visual.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)) |
OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs) | Calls the OnAttachedToVisualTree(VisualTreeAttachmentEventArgs) method for this control and all of its visual descendants. (Inherited from Control) |
OnAutoGeneratingColumn(DataGridAutoGeneratingColumnEventArgs) | Raises the AutoGeneratingColumn event. |
OnBeginningEdit(DataGridBeginningEditEventArgs) | Raises the BeginningEdit event. |
OnCellEditEnded(DataGridCellEditEndedEventArgs) | Raises the CellEditEnded event. |
OnCellEditEnding(DataGridCellEditEndingEventArgs) | Raises the CellEditEnding event. |
OnColumnDisplayIndexChanged(DataGridColumnEventArgs) | |
OnColumnReordered(DataGridColumnEventArgs) | |
OnColumnReordering(DataGridColumnReorderingEventArgs) | |
OnColumnSorting(DataGridColumnEventArgs) | |
OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs) | This method raises the CopyingRowClipboardContent event. |
OnCreateAutomationPeer() | (Overrides Control.OnCreateAutomationPeer()) |
OnCurrentCellChanged(EventArgs) | Raises the CurrentCellChanged event. |
OnDataContextBeginUpdate() | Called when the DataContext begins updating. (Overrides StyledElement.OnDataContextBeginUpdate()) |
OnDataContextChanged(EventArgs) | Called when the DataContext property changes. (Inherited from StyledElement) |
OnDataContextEndUpdate() | Called when the DataContext finishes updating. (Overrides StyledElement.OnDataContextEndUpdate()) |
OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs) | Called when the styled element is removed from a rooted logical tree. (Inherited from TemplatedControl) |
OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs) | (Overrides Visual.OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)) |
OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs) | (Inherited from Control) |
OnGotFocus(GotFocusEventArgs) | Called before the GotFocus event occurs. (Inherited from Control) |
OnInitialized() | Called when the control finishes initialization. (Inherited from StyledElement) |
OnKeyDown(KeyEventArgs) | Called before the KeyDown event occurs. (Inherited from InputElement) |
OnKeyUp(KeyEventArgs) | Called before the KeyUp event occurs. (Inherited from Control) |
OnLoaded(RoutedEventArgs) | Invoked just before the Loaded event. (Inherited from Control) |
OnLoadingRow(DataGridRowEventArgs) | Raises the LoadingRow event for row preparation. |
OnLoadingRowDetails(DataGridRowDetailsEventArgs) | Raises the LoadingRowDetails for row details preparation |
OnLoadingRowGroup(DataGridRowGroupHeaderEventArgs) | Raises the LoadingRowGroup event |
OnLostFocus(RoutedEventArgs) | Called before the LostFocus event occurs. (Inherited from Control) |
OnMeasureInvalidated() | Called by InvalidateMeasure (Inherited from Layoutable) |
OnPointerCaptureLost(PointerCaptureLostEventArgs) | Called before the PointerCaptureLost event occurs. (Inherited from InputElement) |
OnPointerEntered(PointerEventArgs) | Called before the PointerEntered event occurs. (Inherited from InputElement) |
OnPointerExited(PointerEventArgs) | Called before the PointerExited event occurs. (Inherited from InputElement) |
OnPointerMoved(PointerEventArgs) | Called before the PointerMoved event occurs. (Inherited from InputElement) |
OnPointerPressed(PointerPressedEventArgs) | Called before the PointerPressed event occurs. (Inherited from InputElement) |
OnPointerReleased(PointerReleasedEventArgs) | Called before the PointerReleased event occurs. (Inherited from Control) |
OnPointerWheelChanged(PointerWheelEventArgs) | Scrolls the DataGrid according to the direction of the delta. (Overrides InputElement.OnPointerWheelChanged(PointerWheelEventArgs)) |
OnPreparingCellForEdit(DataGridPreparingCellForEditEventArgs) | Raises the PreparingCellForEdit event. |
OnPropertyChanged(AvaloniaPropertyChangedEventArgs) | (Inherited from Control) |
OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs) | (Inherited from Animatable) |
OnRowDetailsVisibilityChanged(DataGridRowDetailsEventArgs) | Raises the RowDetailsVisibilityChanged event. |
OnRowEditEnded(DataGridRowEditEndedEventArgs) | Raises the RowEditEnded event. |
OnRowEditEnding(DataGridRowEditEndingEventArgs) | Raises the RowEditEnding event. |
OnSelectionChanged(SelectionChangedEventArgs) | Raises the SelectionChanged event and clears the _selectionChanged. This event won't get raised again until after _selectionChanged is set back to true. |
OnSizeChanged(SizeChangedEventArgs) | Invoked just before the SizeChanged event. (Inherited from Control) |
OnTemplateChanged(AvaloniaPropertyChangedEventArgs) | Called when the Template property changes. (Inherited from TemplatedControl) |
OnTextInput(TextInputEventArgs) | Called before the TextInput event occurs. (Inherited from InputElement) |
OnUnloaded(RoutedEventArgs) | Invoked just before the Unloaded event. (Inherited from Control) |
OnUnloadingRow(DataGridRowEventArgs) | Raises the UnloadingRow event for row recycling. |
OnUnloadingRowDetails(DataGridRowDetailsEventArgs) | Raises the UnloadingRowDetails event |
OnUnloadingRowGroup(DataGridRowGroupHeaderEventArgs) | Raises the UnLoadingRowGroup event |
OnVisualParentChanged(Visual, Visual) | Called when the control's visual parent changes. (Inherited from Layoutable) |
RaiseEvent(RoutedEventArgs) | Raises a routed event. (Inherited from Interactive) |
RaisePropertyChanged(T)(DirectPropertyBase(T), T, T) | Raises the PropertyChanged event for a direct property. (Inherited from AvaloniaObject) |
RemoveHandler(RoutedEvent, Delegate) | Removes a handler for the specified routed event. (Inherited from Interactive) |
RemoveHandler(TEventArgs)(RoutedEvent(TEventArgs), EventHandler(TEventArgs)) | Removes a handler for the specified routed event. (Inherited from Interactive) |
Render(DrawingContext) | Renders the visual to a DrawingContext. (Inherited from Visual) |
ScrollIntoView(Object, DataGridColumn) | Scrolls the specified item or RowGroupHeader and/or column into view. If item is not null: scrolls the row representing the item into view; If column is not null: scrolls the column into view; If both item and column are null, the method returns without scrolling. |
SelectAll() | |
SetAndRaise(T)(DirectPropertyBase(T), T, T) | Sets the backing field for a direct avalonia property, raising the PropertyChanged event if the value has changed. (Inherited from AvaloniaObject) |
SetCurrentValue(AvaloniaProperty, Object) | Sets the value of a dependency property without changing its value source. (Inherited from AvaloniaObject) |
SetCurrentValue(T)(StyledProperty(T), T) | Sets the value of a dependency property without changing its value source. (Inherited from AvaloniaObject) |
SetValue(AvaloniaProperty, Object, BindingPriority) | Sets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
SetValue(T)(DirectPropertyBase(T), T) | Sets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
SetValue(T)(StyledProperty(T), T, BindingPriority) | Sets a AvaloniaProperty value. (Inherited from AvaloniaObject) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
TryGetResource(Object, ThemeVariant, Object) | Tries to find a resource within the object. (Inherited from StyledElement) |
UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception) | Called to update the validation state for properties for which data validation is enabled. (Inherited from AvaloniaObject) |
UpdateIsEffectivelyEnabled() | Updates the IsEffectivelyEnabled property value according to the parent control's enabled state and IsEnabledCore. (Inherited from InputElement) |
UpdateLayout() | Executes a layout pass. (Inherited from Layoutable) |
VerifyAccess() | Checks that the current thread is the UI thread and throws if not. (Inherited from AvaloniaObject) |