DataGridTextColumn Class
Represents a DataGrid column that hosts textual content in its cells.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public class DataGridTextColumn : DataGridBoundColumn
Public Class DataGridTextColumn
Inherits DataGridBoundColumn
type DataGridTextColumn =
class
inherit DataGridBoundColumn
end
| Inheritance | Object → AvaloniaObject → DataGridColumn → DataGridBoundColumn → DataGridTextColumn |
Constructors
| DataGridTextColumn() | Initializes a new instance of the DataGridTextColumn class. |
Properties
| ActualWidth | 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 | Gets or sets the binding that associates the column with a property in the data source. (Inherited from DataGridBoundColumn) |
| BindingTarget | (Inherited from DataGridBoundColumn) |
| CanUserReorder | 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 | Gets or sets a value that indicates whether the user can adjust the column width using the mouse. (Inherited from DataGridColumn) |
| CanUserSort | Gets or sets a value that indicates whether the user can sort the column by clicking the column header. (Inherited from DataGridColumn) |
| CellStyleClasses | (Inherited from DataGridColumn) |
| CellTheme | Gets or sets the DataGridColumnHeader cell theme. (Inherited from DataGridColumn) |
| ClipboardContentBinding | 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 | Holds a Comparer to use for sorting, if not using the default. (Inherited from DataGridColumn) |
| DisplayIndex | Gets or sets the display position of the column relative to the other columns in the DataGrid. (Inherited from DataGridColumn) |
| FontFamily | Gets or sets the font name. |
| FontSize | Gets or sets the font size. |
| FontStretch | Gets or sets the font weight or thickness. |
| FontStyle | Gets or sets the font style. |
| FontWeight | Gets or sets the font weight or thickness. |
| Foreground | Gets or sets a brush that describes the foreground of the column cells. |
| Header | Gets or sets the DataGridColumnHeader content (Inherited from DataGridColumn) |
| HeaderTemplate | Gets or sets an IDataTemplate for the Header (Inherited from DataGridColumn) |
| InheritanceParent | Gets or sets the parent object that inherited AvaloniaProperty values are inherited from. (Inherited from AvaloniaObject) |
| IsAutoGenerated | (Inherited from DataGridColumn) |
| IsFrozen | (Inherited from DataGridColumn) |
| IsReadOnly | (Inherited from DataGridColumn) |
| IsVisible | Determines whether or not this column is visible. (Inherited from DataGridColumn) |
| Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
| Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
| MaxWidth | (Inherited from DataGridColumn) |
| MinWidth | (Inherited from DataGridColumn) |
| OwningGrid | Gets the DataGrid control that contains this column. (Inherited from DataGridColumn) |
| SortMemberPath | Holds the name of the member to use for sorting, if not using the default. (Inherited from DataGridColumn) |
| Tag | Gets or sets an object associated with this column. (Inherited from DataGridColumn) |
| Width | (Inherited from DataGridColumn) |
Methods
Events
| HeaderPointerPressed | Occurs when the pointer is pressed over the column's header (Inherited from DataGridColumn) |
| HeaderPointerReleased | Occurs when the pointer is released over the column's header (Inherited from DataGridColumn) |
| PropertyChanged | Raised when a AvaloniaProperty value changes on this object. (Inherited from AvaloniaObject) |
Fields
| FontFamilyProperty | Identifies the FontFamily dependency property. |
| FontSizeProperty | Identifies the FontSize dependency property. |
| FontStretchProperty | Identifies the FontStretch dependency property. |
| FontStyleProperty | Identifies the FontStyle dependency property. |
| FontWeightProperty | Identifies the FontWeight dependency property. |
| ForegroundProperty | Identifies the Foreground dependency property. |