DataGridColumn Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The DataGridColumn type exposes the following members.

Properties

  Name Description
Public property ActualWidth Gets the current width of the column in pixels.
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 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 when rendering cells in the column.
Public property ClipboardContentBinding Gets or sets the binding that provides access to cell contents for clipboard operations.
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.
Public property DragIndicatorStyle Gets or sets the style that is used to render the column while it is being dragged.
Public property Header Gets or sets the content of the column header.
Public property HeaderStyle Gets or sets the style that is used when rendering 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 MaxWidth Gets or sets the maximum column width in pixels.
Public property MinWidth Gets or sets the minimum column width in pixels.
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 an automatic sizing mode.

Top