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

DataGridColumn Properties

The DataGridColumn type exposes the following members.

  Name Description
Public property ActualWidth Gets the current width of the column, in device-independent units (1/96th inch per unit).
Public property CanUserReorder Gets or sets a value that indicates whether the user can change the column display position by dragging the column header.
Public property CanUserResize Gets or sets a value that indicates whether the user can adjust the column width by using the mouse.
Public property CanUserSort Gets or sets a value that indicates whether the user can sort the column by clicking the column header.
Public property CellStyle Gets or sets the style that is used to render cells in the column.
Public property ClipboardContentBinding Gets or sets the binding object to use when getting or setting cell content for the clipboard.
Protected property DataGridOwner Gets the DataGrid control that contains this column.
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.
Public property DragIndicatorStyle Gets or sets the style object to apply to the column header during a drag operation.
Public property Header Gets or sets the content of the column header.
Public property HeaderStringFormat Gets or sets the format pattern to apply to the content of the column header.
Public property HeaderStyle Gets or sets the style that is used when rendering the column header.
Public property HeaderTemplate Gets or sets the template that defines the visual representation of the column header.
Public property HeaderTemplateSelector Gets or sets the object that selects which template to use for the column header.
Public property IsAutoGenerated Gets a value that indicates whether the column is auto-generated.
Public property IsFrozen Gets a value that indicates whether the column is prevented from scrolling horizontally.
Public property IsReadOnly Gets or sets a value that indicates whether cells in the column can be edited.
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.
Public property MinWidth Gets or sets the minimum width constraint of the column.
Public property SortDirection Gets or sets the sort direction (ascending or descending) of the column.
Public property SortMemberPath Gets or sets a property name, or a period-delimited hierarchy of property names, that indicates the member to sort by.
Public property Visibility Gets or sets the visibility of the column.
Public property Width Gets or sets the column width or automatic sizing mode.
Top
Show:
© 2014 Microsoft. All rights reserved.