Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridTextColumn Properties

The DataGridTextColumn type exposes the following members.

  NameDescription
Public property ActualWidth Gets the current width of the column, in device-independent units (1/96th inch per unit). (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 by 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 to render cells in the column. (Inherited from DataGridColumn.)
Public property ClipboardContentBinding Gets or sets the binding object to use when getting or setting cell content for the clipboard. (Inherited from DataGridBoundColumn.)
Protected property DataGridOwner Gets the DataGrid control that contains this column. (Inherited from DataGridColumn.)
Public property Static member DefaultEditingElementStyle The default value of the EditingElementStyle property.
Public property Static member DefaultElementStyle The default value of the ElementStyle property.
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance.  (Inherited from DependencyObject.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
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 object to apply to the column header during a drag operation. (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 for the content of cells in the column.
Public property FontSize Gets or sets the font size for the content of cells in the column.
Public property FontStyle Gets or sets the font style for the content of cells in the column.
Public property FontWeight Gets or sets the font weight for the content 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 HeaderStringFormat Gets or sets the format pattern to apply to 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 HeaderTemplate Gets or sets the template that defines the visual representation of the column header. (Inherited from DataGridColumn.)
Public property HeaderTemplateSelector Gets or sets the object that selects which template to use for 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 IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.)
Public property MaxWidth Gets or sets the maximum width constraint of the column. (Inherited from DataGridColumn.)
Public property MinWidth Gets or sets the minimum width constraint of the column. (Inherited from DataGridColumn.)
Public property SortDirection Gets or sets the sort direction (ascending or descending) of the column. (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 automatic sizing mode. (Inherited from DataGridColumn.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.