Summary
Represents a
DataGrid
column that can
bind to a property in the grid's data source.
- Namespace
- Avalonia
.Controls - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
-
- object
- AvaloniaObject
- DataGridColumn
- Derived Types
graph BT
Type-->Base0["DataGridColumn"]
click Base0 "/api/Avalonia.Controls/DataGridColumn"
Base0-->Base1["AvaloniaObject"]
click Base1 "/api/Avalonia/AvaloniaObject"
Base1-->Base2["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type["DataGridBoundColumn"]
class Type type-node
Derived0["DataGridCheckBoxColumn"]-->Type
click Derived0 "/api/Avalonia.Controls/DataGridCheckBoxColumn"
Derived1["DataGridTextColumn"]-->Type
click Derived1 "/api/Avalonia.Controls/DataGridTextColumn"
Syntax
public abstract class DataGridBoundColumn : DataGridColumn, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Properties
Name | Value | Summary |
---|---|---|
ActualWidth | double |
Actual visible width after Width, MinWidth, and MaxWidth setting at the Column level and DataGrid level
have been taken into account
Inherited from DataGridColumn
|
Binding | IBinding |
Gets or sets the binding that associates the column with a property in the data source.
|
CanUserReorder | bool |
Gets or sets a value that indicates whether the user can change the column display position by
dragging the column header.
Inherited from DataGridColumn
|
CanUserResize | bool |
Gets or sets a value that indicates whether the user can adjust the column width using the mouse.
Inherited from DataGridColumn
|
CanUserSort | bool |
Gets or sets a value that indicates whether the user can sort the column by clicking the column header.
Inherited from DataGridColumn
|
CellStyleClasses | Classes |
Inherited from DataGridColumn
|
Clipboard |
IBinding |
The binding that will be used to get or set cell content for the clipboard.
If the base ClipboardContentBinding is not explicitly set, this will return the value of Binding.
|
CustomSortComparer | IComparer |
Holds a Comparer to use for sorting, if not using the default.
Inherited from DataGridColumn
|
DisplayIndex | int |
Gets or sets the display position of the column relative to the other columns in the
DataGrid .
Inherited from DataGridColumn
|
Header | object |
Inherited from DataGridColumn
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
IsAutoGenerated | bool |
Inherited from DataGridColumn
|
IsFrozen | bool |
Inherited from DataGridColumn
|
IsReadOnly | bool |
Inherited from DataGridColumn
|
IsVisible | bool |
Determines whether or not this column is visible.
Inherited from DataGridColumn
|
MaxWidth | double |
Inherited from DataGridColumn
|
MinWidth | double |
Inherited from DataGridColumn
|
SortMemberPath | string |
Holds the name of the member to use for sorting, if not using the default.
Inherited from DataGridColumn
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|
Width | DataGridLength |
Inherited from DataGridColumn
|