Summary
Represents a
DataGrid
column that hosts textual content in its cells.
- Namespace
- Avalonia
.Controls - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- Base Types
graph BT
Type-->Base0["DataGridBoundColumn"]
click Base0 "/api/Avalonia.Controls/DataGridBoundColumn"
Base0-->Base1["DataGridColumn"]
click Base1 "/api/Avalonia.Controls/DataGridColumn"
Base1-->Base2["AvaloniaObject"]
click Base2 "/api/Avalonia/AvaloniaObject"
Base2-->Base3["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["DataGridTextColumn"]
class Type type-node
Syntax
public class DataGridTextColumn : DataGridBoundColumn, IAvaloniaObject, IAvaloniaObjectDebug,
INotifyPropertyChanged, IValueSink
Constructors
Name | Summary |
---|---|
DataGridTextColumn |
Initializes a new instance of the DataGridTextColumn class.
|
Events
Name | Type | Summary |
---|---|---|
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Fields
Name | Constant Value | Summary |
---|---|---|
FontFamilyProperty |
Identifies the FontFamily dependency property.
static
|
|
FontSizeProperty |
Identifies the FontSize dependency property.
static
|
|
FontStyleProperty |
Identifies the FontStyle dependency property.
static
|
|
FontWeightProperty |
Identifies the FontWeight dependency property.
static
|
|
ForegroundProperty |
Identifies the Foreground dependency property.
static
|
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.
Inherited from DataGridBoundColumn
|
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.
Inherited from DataGridBoundColumn
|
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
|
FontFamily | FontFamily |
Gets or sets the font name.
|
FontSize | double |
Gets or sets the font size.
|
FontStyle | FontStyle |
Gets or sets the font style.
|
FontWeight | FontWeight |
Gets or sets the font weight or thickness.
|
Foreground | IBrush |
Gets or sets a brush that describes the foreground of the column cells.
|
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
|