Export (0) Print
Expand All

DataGridTemplateColumn Properties

The DataGridTemplateColumn 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 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 CellEditingTemplate Gets or sets the template to use to display the contents of a cell that is in editing mode.
Public property CellEditingTemplateSelector Gets or sets the object that determines which template to use to display the contents of a cell that is in editing mode.
Public property CellStyle Gets or sets the style that is used to render cells in the column. (Inherited from DataGridColumn.)
Public property CellTemplate Gets or sets the template to use to display the contents of a cell that is not in editing mode.
Public property CellTemplateSelector Gets or sets the object that determines which template to use to display the contents of a cell that is not in editing mode.
Public property ClipboardContentBinding Gets or sets the binding object to use when getting or setting cell content for the clipboard. (Inherited from DataGridColumn.)
Protected property DataGridOwner Gets the DataGrid control that contains this column. (Inherited from DataGridColumn.)
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 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

Community Additions

ADD
Show:
© 2014 Microsoft