Export (0) Print
Expand All

DataGridTextColumn Properties

The DataGridTextColumn type exposes the following members.

  Name Description
Public property ActualWidth Gets the current width of the column in pixels. (Inherited from DataGridColumn.)
Public property Binding Gets or sets the binding that associates the column with a property in the data source. (Inherited from DataGridBoundColumn.)
Public property 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.)
Public property CanUserResize Gets or sets a value that indicates whether the user can adjust the column width using the mouse. (Inherited from DataGridColumn.)
Public property CanUserSort Gets or sets a value that indicates whether the user can sort the column by clicking the column header. (Inherited from DataGridColumn.)
Public property CellStyle Gets or sets the style that is used when rendering cells in the column. (Inherited from DataGridColumn.)
Public property ClipboardContentBinding Gets or sets the binding that provides access to cell contents for clipboard operations. (Inherited from DataGridBoundColumn.)
Public property Dispatcher Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public property DisplayIndex Gets or sets the display position of the column relative to the other columns in the DataGrid. (Inherited from DataGridColumn.)
Public property DragIndicatorStyle Gets or sets the style that is used to render the column while it is being dragged. (Inherited from DataGridColumn.)
Public property EditingElementStyle Gets or sets the style that is used when rendering the element that the column displays for a cell in editing mode. (Inherited from DataGridBoundColumn.)
Public property ElementStyle Gets or sets the style that is used when rendering the element that the column displays for a cell that is not in editing mode. (Inherited from DataGridBoundColumn.)
Public property FontFamily Gets or sets the font family of the content of cells in the column.
Public property FontSize Gets or sets the font size of the content of cells in the column.
Public property FontStyle Gets or sets the font style of the content of cells in the column.
Public property FontWeight Gets or sets the font weight of the contents of cells in the column.
Public property Foreground Gets or sets the brush that is used to paint the text contents of cells in the column.
Public property Header Gets or sets the content of the column header. (Inherited from DataGridColumn.)
Public property HeaderStyle Gets or sets the style that is used when rendering the column header. (Inherited from DataGridColumn.)
Public property IsAutoGenerated Gets a value that indicates whether the column is auto-generated. (Inherited from DataGridColumn.)
Public property IsFrozen Gets a value that indicates whether the column is prevented from scrolling horizontally. (Inherited from DataGridColumn.)
Public property IsReadOnly Gets or sets a value that indicates whether cells in the column can be edited. (Inherited from DataGridColumn.)
Public property MaxWidth Gets or sets the maximum column width in pixels. (Inherited from DataGridColumn.)
Public property MinWidth Gets or sets the minimum column width in pixels. (Inherited from DataGridColumn.)
Public property SortMemberPath Gets or sets a property name, or a period-delimited hierarchy of property names, that indicates the member to sort by. (Inherited from DataGridColumn.)
Public property Visibility Gets or sets the visibility of the column. (Inherited from DataGridColumn.)
Public property Width Gets or sets the column width or an automatic sizing mode. (Inherited from DataGridColumn.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft