Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1603 lines (1519 sloc) 112 KB
<Type Name="DataGridColumn" FullName="System.Windows.Controls.DataGridColumn">
<TypeSignature Language="C#" Value="public abstract class DataGridColumn : System.Windows.DependencyObject" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DataGridColumn extends System.Windows.DependencyObject" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.DataGridColumn" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DataGridColumn&#xA;Inherits DependencyObject" />
<TypeSignature Language="C++ CLI" Value="public ref class DataGridColumn abstract : System::Windows::DependencyObject" />
<TypeSignature Language="F#" Value="type DataGridColumn = class&#xA; inherit DependencyObject" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.DependencyObject</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a <see cref="T:System.Windows.Controls.DataGrid" /> column.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This abstract class provides the base functionality for all <xref:System.Windows.Controls.DataGrid> columns.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.Columns" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DataGridColumn ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; DataGridColumn();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Controls.DataGridColumn" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ActualWidth">
<MemberSignature Language="C#" Value="public double ActualWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 ActualWidth" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.ActualWidth" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ActualWidth As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double ActualWidth { double get(); };" />
<MemberSignature Language="F#" Value="member this.ActualWidth : double" Usage="System.Windows.Controls.DataGridColumn.ActualWidth" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current width of the column, in [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)].</summary>
<value>The width of the column in [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)]. The registered default is 0. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The value of the <xref:System.Windows.Controls.DataGridColumn.ActualWidth%2A> property is used to arrange the cells and header of the column. The value is coerced to be within the <xref:System.Windows.Controls.DataGridColumn.MaxWidth%2A> and <xref:System.Windows.Controls.DataGridColumn.MinWidth%2A> constraints.
To get the rendered width of the column, use the <xref:System.Windows.Controls.DataGridLength.DisplayValue%2A> of the <xref:System.Windows.Controls.DataGridColumn.Width%2A> property.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridCell.ArrangeOverride(System.Windows.Size)" />
</Docs>
</Member>
<Member MemberName="ActualWidthProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ActualWidthProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ActualWidthProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.ActualWidthProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ActualWidthProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ActualWidthProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ActualWidthProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.ActualWidthProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.ActualWidth" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CancelCellEdit">
<MemberSignature Language="C#" Value="protected virtual void CancelCellEdit (System.Windows.FrameworkElement editingElement, object uneditedValue);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void CancelCellEdit(class System.Windows.FrameworkElement editingElement, object uneditedValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.CancelCellEdit(System.Windows.FrameworkElement,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub CancelCellEdit (editingElement As FrameworkElement, uneditedValue As Object)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void CancelCellEdit(System::Windows::FrameworkElement ^ editingElement, System::Object ^ uneditedValue);" />
<MemberSignature Language="F#" Value="abstract member CancelCellEdit : System.Windows.FrameworkElement * obj -&gt; unit&#xA;override this.CancelCellEdit : System.Windows.FrameworkElement * obj -&gt; unit" Usage="dataGridColumn.CancelCellEdit (editingElement, uneditedValue)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" />
<Parameter Name="uneditedValue" Type="System.Object" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<param name="uneditedValue">The original, unedited value in the cell being edited.</param>
<summary>Causes the cell being edited to revert to the original, unedited value.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanUserReorder">
<MemberSignature Language="C#" Value="public bool CanUserReorder { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanUserReorder" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.CanUserReorder" />
<MemberSignature Language="VB.NET" Value="Public Property CanUserReorder As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool CanUserReorder { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.CanUserReorder : bool with get, set" Usage="System.Windows.Controls.DataGridColumn.CanUserReorder" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the user can change the column display position by dragging the column header.</summary>
<value>
<see langword="true" /> if the user can drag the column header to a new position; otherwise, <see langword="false" />. The registered default is <see langword="true" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can set this reorder behavior for all columns by setting the <xref:System.Windows.Controls.DataGrid.CanUserReorderColumns%2A?displayProperty=nameWithType> property. If the <xref:System.Windows.Controls.DataGridColumn.CanUserReorder%2A?displayProperty=nameWithType> property and the <xref:System.Windows.Controls.DataGrid.CanUserReorderColumns%2A?displayProperty=nameWithType> property are both set, a value of `false` takes precedence over a value of `true`.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.CanUserReorderColumns" />
</Docs>
</Member>
<Member MemberName="CanUserReorderProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanUserReorderProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanUserReorderProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.CanUserReorderProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanUserReorderProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanUserReorderProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanUserReorderProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.CanUserReorderProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.CanUserReorder" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanUserResize">
<MemberSignature Language="C#" Value="public bool CanUserResize { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanUserResize" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.CanUserResize" />
<MemberSignature Language="VB.NET" Value="Public Property CanUserResize As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool CanUserResize { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.CanUserResize : bool with get, set" Usage="System.Windows.Controls.DataGridColumn.CanUserResize" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the user can adjust the column width by using the mouse.</summary>
<value>
<see langword="true" /> if the user can resize the column; otherwise, <see langword="false" />. The registered default is <see langword="true" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property does not affect whether column widths can be changed programmatically, such as by changing the <xref:System.Windows.Controls.DataGridColumn.Width%2A> property.
You can set this resize behavior for all columns by setting the <xref:System.Windows.Controls.DataGrid.CanUserResizeColumns%2A?displayProperty=nameWithType> property. If the <xref:System.Windows.Controls.DataGridColumn.CanUserResize%2A?displayProperty=nameWithType> property and the <xref:System.Windows.Controls.DataGrid.CanUserResizeColumns%2A?displayProperty=nameWithType> property are both set, a value of `false` takes precedence over a value of `true`.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.CanUserResizeColumns" />
</Docs>
</Member>
<Member MemberName="CanUserResizeProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanUserResizeProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanUserResizeProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.CanUserResizeProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanUserResizeProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanUserResizeProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanUserResizeProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.CanUserResizeProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.CanUserResize" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CanUserSort">
<MemberSignature Language="C#" Value="public bool CanUserSort { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool CanUserSort" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.CanUserSort" />
<MemberSignature Language="VB.NET" Value="Public Property CanUserSort As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool CanUserSort { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.CanUserSort : bool with get, set" Usage="System.Windows.Controls.DataGridColumn.CanUserSort" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the user can sort the column by clicking the column header.</summary>
<value>
<see langword="true" /> if the user can sort the column; otherwise, <see langword="false" />. The registered default is <see langword="true" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can set this sorting behavior for all columns by setting the <xref:System.Windows.Controls.DataGrid.CanUserSortColumns%2A?displayProperty=nameWithType> property. If the <xref:System.Windows.Controls.DataGridColumn.CanUserSort%2A?displayProperty=nameWithType> property and the <xref:System.Windows.Controls.DataGrid.CanUserSortColumns%2A?displayProperty=nameWithType> property are both set, a value of `false` takes precedence over a value of `true`.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.CanUserSortColumns" />
</Docs>
</Member>
<Member MemberName="CanUserSortProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CanUserSortProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CanUserSortProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.CanUserSortProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CanUserSortProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CanUserSortProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CanUserSortProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.CanUserSortProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.CanUserSort" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CellStyle">
<MemberSignature Language="C#" Value="public System.Windows.Style CellStyle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Style CellStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.CellStyle" />
<MemberSignature Language="VB.NET" Value="Public Property CellStyle As Style" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Style ^ CellStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };" />
<MemberSignature Language="F#" Value="member this.CellStyle : System.Windows.Style with get, set" Usage="System.Windows.Controls.DataGridColumn.CellStyle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the style that is used to render cells in the column.</summary>
<value>The style that is used to render cells in the column. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To define a <xref:System.Windows.Style> for a cell, specify a <xref:System.Windows.Style.TargetType%2A> of <xref:System.Windows.Controls.DataGridCell>.
A <xref:System.Windows.Style> can be applied to a cell at the table, column, or cell level. To apply a <xref:System.Windows.Style> to all cells in a column, set the <xref:System.Windows.Controls.DataGridColumn.CellStyle%2A?displayProperty=nameWithType> property, which takes precedence over the <xref:System.Windows.Controls.DataGrid.CellStyle%2A?displayProperty=nameWithType> property. To apply a <xref:System.Windows.Style> to an individual cell, set the <xref:System.Windows.FrameworkElement.Style%2A> property directly on the <xref:System.Windows.Controls.DataGridCell> object, which takes precedence over all other styles that you apply to the cell.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.CellStyle" />
</Docs>
</Member>
<Member MemberName="CellStyleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty CellStyleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty CellStyleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.CellStyleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CellStyleProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ CellStyleProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CellStyleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.CellStyleProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.CellStyle" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClipboardContentBinding">
<MemberSignature Language="C#" Value="public virtual System.Windows.Data.BindingBase ClipboardContentBinding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Data.BindingBase ClipboardContentBinding" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.ClipboardContentBinding" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property ClipboardContentBinding As BindingBase" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Windows::Data::BindingBase ^ ClipboardContentBinding { System::Windows::Data::BindingBase ^ get(); void set(System::Windows::Data::BindingBase ^ value); };" />
<MemberSignature Language="F#" Value="member this.ClipboardContentBinding : System.Windows.Data.BindingBase with get, set" Usage="System.Windows.Controls.DataGridColumn.ClipboardContentBinding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Data.BindingBase</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the binding object to use when getting or setting cell content for the clipboard.</summary>
<value>An object that represents the binding.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommitCellEdit">
<MemberSignature Language="C#" Value="protected virtual bool CommitCellEdit (System.Windows.FrameworkElement editingElement);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool CommitCellEdit(class System.Windows.FrameworkElement editingElement) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.CommitCellEdit(System.Windows.FrameworkElement)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function CommitCellEdit (editingElement As FrameworkElement) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual bool CommitCellEdit(System::Windows::FrameworkElement ^ editingElement);" />
<MemberSignature Language="F#" Value="abstract member CommitCellEdit : System.Windows.FrameworkElement -&gt; bool&#xA;override this.CommitCellEdit : System.Windows.FrameworkElement -&gt; bool" Usage="dataGridColumn.CommitCellEdit editingElement" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<summary>Performs any required validation before exiting cell editing mode.</summary>
<returns>
<see langword="true" /> if no validation errors are found; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CopyingCellClipboardContent">
<MemberSignature Language="C#" Value="public event EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; CopyingCellClipboardContent;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class System.Windows.Controls.DataGridCellClipboardEventArgs&gt; CopyingCellClipboardContent" />
<MemberSignature Language="DocId" Value="E:System.Windows.Controls.DataGridColumn.CopyingCellClipboardContent" />
<MemberSignature Language="VB.NET" Value="Public Event CopyingCellClipboardContent As EventHandler(Of DataGridCellClipboardEventArgs) " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler&lt;System::Windows::Controls::DataGridCellClipboardEventArgs ^&gt; ^ CopyingCellClipboardContent;" />
<MemberSignature Language="F#" Value="member this.CopyingCellClipboardContent : EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; " Usage="member this.CopyingCellClipboardContent : System.EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs after the cell clipboard content is prepared.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Event handlers can modify the cell content before it gets stored on the clipboard.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DataGridOwner">
<MemberSignature Language="C#" Value="protected internal System.Windows.Controls.DataGrid DataGridOwner { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Controls.DataGrid DataGridOwner" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.DataGridOwner" />
<MemberSignature Language="VB.NET" Value="Protected Friend ReadOnly Property DataGridOwner As DataGrid" />
<MemberSignature Language="C++ CLI" Value="protected public:&#xA; property System::Windows::Controls::DataGrid ^ DataGridOwner { System::Windows::Controls::DataGrid ^ get(); };" />
<MemberSignature Language="F#" Value="member this.DataGridOwner : System.Windows.Controls.DataGrid" Usage="System.Windows.Controls.DataGridColumn.DataGridOwner" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Controls.DataGrid</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Windows.Controls.DataGrid" /> control that contains this column.</summary>
<value>The <see cref="T:System.Windows.Controls.DataGrid" /> control that contains this column.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DisplayIndex">
<MemberSignature Language="C#" Value="public int DisplayIndex { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 DisplayIndex" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.DisplayIndex" />
<MemberSignature Language="VB.NET" Value="Public Property DisplayIndex As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int DisplayIndex { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.DisplayIndex : int with get, set" Usage="System.Windows.Controls.DataGridColumn.DisplayIndex" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the display position of the column relative to the other columns in the <see cref="T:System.Windows.Controls.DataGrid" />.</summary>
<value>The zero-based position of the column, as it is displayed in the associated <see cref="T:System.Windows.Controls.DataGrid" />. The registered default is -1. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> property has a default value of -1 before it is added to the <xref:System.Windows.Controls.DataGrid.Columns%2A?displayProperty=nameWithType> collection. This value is updated when the column is added to the <xref:System.Windows.Controls.DataGrid>.
The <xref:System.Windows.Controls.DataGrid> requires that the <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> property of each column must be a unique integer from 0 to the <xref:System.Windows.Controls.ColumnDefinitionCollection.Count%2A> of <xref:System.Windows.Controls.DataGrid.Columns%2A> -1. Therefore, when the <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> of one column changes, the change typically causes the <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> of other columns to also change.
The restrictions on the <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> value are enforced by a <xref:System.Windows.ValidateValueCallback> mechanism. If you attempt to set a value that is not valid, a run-time exception is thrown.
When the value of the <xref:System.Windows.Controls.DataGridColumn.DisplayIndex%2A> property is changed, the <xref:System.Windows.Controls.DataGrid.ColumnDisplayIndexChanged?displayProperty=nameWithType> event is raised.
]]></format>
</remarks>
<altmember cref="E:System.Windows.Controls.DataGrid.ColumnDisplayIndexChanged" />
</Docs>
</Member>
<Member MemberName="DisplayIndexProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty DisplayIndexProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty DisplayIndexProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.DisplayIndexProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DisplayIndexProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ DisplayIndexProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable DisplayIndexProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.DisplayIndexProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.DisplayIndex" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DragIndicatorStyle">
<MemberSignature Language="C#" Value="public System.Windows.Style DragIndicatorStyle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Style DragIndicatorStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.DragIndicatorStyle" />
<MemberSignature Language="VB.NET" Value="Public Property DragIndicatorStyle As Style" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Style ^ DragIndicatorStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };" />
<MemberSignature Language="F#" Value="member this.DragIndicatorStyle : System.Windows.Style with get, set" Usage="System.Windows.Controls.DataGridColumn.DragIndicatorStyle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the style object to apply to the column header during a drag operation.</summary>
<value>The style object to apply to the column header during a drag operation. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this property to set the <xref:System.Windows.Controls.DataGridColumn.DragIndicatorStyle%2A> for an individual column in the <xref:System.Windows.Controls.DataGrid>. To define a <xref:System.Windows.Style> for the drag indicator, specify a <xref:System.Windows.Style.TargetType%2A> of <xref:System.Windows.Controls.Control>.
You can set properties in the style to change the appearance of certain elements of the drag indicator, such as the border around the column header. However, the default template for the drag indicator uses a <xref:System.Windows.Media.VisualBrush> to paint a <xref:System.Windows.Controls.Canvas> with an image of the original column header that is being dragged. As a result, if you set some properties in your style, such as <xref:System.Windows.Controls.Control.Background%2A> or <xref:System.Windows.Controls.Control.Foreground%2A>, they will appear to not be applied. To change the appearance of the column header while it is being dragged, apply a new template that does not use the default <xref:System.Windows.Media.VisualBrush>.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.DragIndicatorStyle" />
</Docs>
</Member>
<Member MemberName="DragIndicatorStyleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty DragIndicatorStyleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty DragIndicatorStyleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.DragIndicatorStyleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DragIndicatorStyleProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ DragIndicatorStyleProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable DragIndicatorStyleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.DragIndicatorStyleProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.DragIndicatorStyle" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GenerateEditingElement">
<MemberSignature Language="C#" Value="protected abstract System.Windows.FrameworkElement GenerateEditingElement (System.Windows.Controls.DataGridCell cell, object dataItem);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Windows.FrameworkElement GenerateEditingElement(class System.Windows.Controls.DataGridCell cell, object dataItem) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.GenerateEditingElement(System.Windows.Controls.DataGridCell,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected MustOverride Function GenerateEditingElement (cell As DataGridCell, dataItem As Object) As FrameworkElement" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; abstract System::Windows::FrameworkElement ^ GenerateEditingElement(System::Windows::Controls::DataGridCell ^ cell, System::Object ^ dataItem);" />
<MemberSignature Language="F#" Value="abstract member GenerateEditingElement : System.Windows.Controls.DataGridCell * obj -&gt; System.Windows.FrameworkElement" Usage="dataGridColumn.GenerateEditingElement (cell, dataItem)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cell" Type="System.Windows.Controls.DataGridCell" />
<Parameter Name="dataItem" Type="System.Object" />
</Parameters>
<Docs>
<param name="cell">The cell that will contain the generated element.</param>
<param name="dataItem">The data item that is represented by the row that contains the intended cell.</param>
<summary>When overridden in a derived class, gets an editing element that is bound to the <see cref="P:System.Windows.Controls.DataGridBoundColumn.Binding" /> property value of the column.</summary>
<returns>A new editing element that is bound to the <see cref="P:System.Windows.Controls.DataGridBoundColumn.Binding" /> property value of the column.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method creates the visual tree for the cell content when the cell is in editing mode.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridColumn.GenerateElement(System.Windows.Controls.DataGridCell,System.Object)" />
<altmember cref="P:System.Windows.Controls.DataGridBoundColumn.EditingElementStyle" />
</Docs>
</Member>
<Member MemberName="GenerateElement">
<MemberSignature Language="C#" Value="protected abstract System.Windows.FrameworkElement GenerateElement (System.Windows.Controls.DataGridCell cell, object dataItem);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Windows.FrameworkElement GenerateElement(class System.Windows.Controls.DataGridCell cell, object dataItem) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.GenerateElement(System.Windows.Controls.DataGridCell,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected MustOverride Function GenerateElement (cell As DataGridCell, dataItem As Object) As FrameworkElement" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; abstract System::Windows::FrameworkElement ^ GenerateElement(System::Windows::Controls::DataGridCell ^ cell, System::Object ^ dataItem);" />
<MemberSignature Language="F#" Value="abstract member GenerateElement : System.Windows.Controls.DataGridCell * obj -&gt; System.Windows.FrameworkElement" Usage="dataGridColumn.GenerateElement (cell, dataItem)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cell" Type="System.Windows.Controls.DataGridCell" />
<Parameter Name="dataItem" Type="System.Object" />
</Parameters>
<Docs>
<param name="cell">The cell that will contain the generated element.</param>
<param name="dataItem">The data item that is represented by the row that contains the intended cell.</param>
<summary>When overridden in a derived class, gets a read-only element that is bound to the <see cref="P:System.Windows.Controls.DataGridBoundColumn.Binding" /> property value of the column.</summary>
<returns>A new read-only element that is bound to the <see cref="P:System.Windows.Controls.DataGridBoundColumn.Binding" /> property value of the column.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method creates the visual tree for the cell content when the cell is in display mode.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridColumn.GenerateEditingElement(System.Windows.Controls.DataGridCell,System.Object)" />
<altmember cref="P:System.Windows.Controls.DataGridBoundColumn.ElementStyle" />
</Docs>
</Member>
<MemberGroup MemberName="GetCellContent">
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the <see cref="P:System.Windows.Controls.ContentControl.Content" /> property value for a cell in the column.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetCellContent">
<MemberSignature Language="C#" Value="public System.Windows.FrameworkElement GetCellContent (object dataItem);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.FrameworkElement GetCellContent(object dataItem) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.GetCellContent(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function GetCellContent (dataItem As Object) As FrameworkElement" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::FrameworkElement ^ GetCellContent(System::Object ^ dataItem);" />
<MemberSignature Language="F#" Value="member this.GetCellContent : obj -&gt; System.Windows.FrameworkElement" Usage="dataGridColumn.GetCellContent dataItem" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataItem" Type="System.Object" />
</Parameters>
<Docs>
<param name="dataItem">The data item that is represented by the row that contains the intended cell.</param>
<summary>Gets the <see cref="P:System.Windows.Controls.ContentControl.Content" /> property value for the cell at the intersection of this column and the row that represents the specified data item.</summary>
<returns>The cell content; or <see langword="null" />, if the cell is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="dataItem" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCellContent">
<MemberSignature Language="C#" Value="public System.Windows.FrameworkElement GetCellContent (System.Windows.Controls.DataGridRow dataGridRow);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.FrameworkElement GetCellContent(class System.Windows.Controls.DataGridRow dataGridRow) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.GetCellContent(System.Windows.Controls.DataGridRow)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::FrameworkElement ^ GetCellContent(System::Windows::Controls::DataGridRow ^ dataGridRow);" />
<MemberSignature Language="F#" Value="member this.GetCellContent : System.Windows.Controls.DataGridRow -&gt; System.Windows.FrameworkElement" Usage="dataGridColumn.GetCellContent dataGridRow" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataGridRow" Type="System.Windows.Controls.DataGridRow" />
</Parameters>
<Docs>
<param name="dataGridRow">The row that contains the intended cell.</param>
<summary>Retrieves the <see cref="P:System.Windows.Controls.ContentControl.Content" /> property value for the cell at the intersection of this column and the specified row.</summary>
<returns>The cell content; or <see langword="null" />, if the cell is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="dataGridRow" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="Header">
<MemberSignature Language="C#" Value="public object Header { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance object Header" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.Header" />
<MemberSignature Language="VB.NET" Value="Public Property Header As Object" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Object ^ Header { System::Object ^ get(); void set(System::Object ^ value); };" />
<MemberSignature Language="F#" Value="member this.Header : obj with get, set" Usage="System.Windows.Controls.DataGridColumn.Header" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the content of the column header.</summary>
<value>The column header content. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HeaderProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HeaderProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.HeaderProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HeaderProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HeaderProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HeaderProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.HeaderProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.Header" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderStringFormat">
<MemberSignature Language="C#" Value="public string HeaderStringFormat { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string HeaderStringFormat" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.HeaderStringFormat" />
<MemberSignature Language="VB.NET" Value="Public Property HeaderStringFormat As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::String ^ HeaderStringFormat { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.HeaderStringFormat : string with get, set" Usage="System.Windows.Controls.DataGridColumn.HeaderStringFormat" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the format pattern to apply to the content of the column header.</summary>
<value>A string value that represents the formatting pattern. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderStringFormatProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HeaderStringFormatProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HeaderStringFormatProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.HeaderStringFormatProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HeaderStringFormatProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HeaderStringFormatProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HeaderStringFormatProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.HeaderStringFormatProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.HeaderStringFormat" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderStyle">
<MemberSignature Language="C#" Value="public System.Windows.Style HeaderStyle { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Style HeaderStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.HeaderStyle" />
<MemberSignature Language="VB.NET" Value="Public Property HeaderStyle As Style" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Style ^ HeaderStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };" />
<MemberSignature Language="F#" Value="member this.HeaderStyle : System.Windows.Style with get, set" Usage="System.Windows.Controls.DataGridColumn.HeaderStyle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the style that is used when rendering the column header.</summary>
<value>The style that is used to render the column header; or <see langword="null" />, to use the <see cref="P:System.Windows.Controls.DataGrid.ColumnHeaderStyle" /> setting. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To define a <xref:System.Windows.Style> for a column header, specify a <xref:System.Windows.Style.TargetType%2A> of <xref:System.Windows.Controls.Primitives.DataGridColumnHeader>.
A <xref:System.Windows.Style> can be applied to all column headers or to an individual column header. To apply a <xref:System.Windows.Style> to an individual header, set the <xref:System.Windows.Controls.DataGridColumn.HeaderStyle%2A?displayProperty=nameWithType> property, which takes precedence over the <xref:System.Windows.Controls.DataGrid.ColumnHeaderStyle%2A?displayProperty=nameWithType> property.
## Examples
The following example uses a style resource to change the style of column headers in the <xref:System.Windows.Controls.DataGrid>. The style of the first column header is then set with an inline style that overrides the <xref:System.Windows.Controls.DataGrid.ColumnHeaderStyle%2A?displayProperty=nameWithType>.
[!code-xaml[DataGrid_ColumnHeaderStyle#1](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_columnheaderstyle/CS/mainwindow.xaml#1)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.HeadersVisibility" />
<altmember cref="P:System.Windows.Controls.DataGrid.ColumnHeaderStyle" />
</Docs>
</Member>
<Member MemberName="HeaderStyleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HeaderStyleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HeaderStyleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.HeaderStyleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HeaderStyleProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HeaderStyleProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HeaderStyleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.HeaderStyleProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.HeaderStyle" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderTemplate">
<MemberSignature Language="C#" Value="public System.Windows.DataTemplate HeaderTemplate { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.DataTemplate HeaderTemplate" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.HeaderTemplate" />
<MemberSignature Language="VB.NET" Value="Public Property HeaderTemplate As DataTemplate" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::DataTemplate ^ HeaderTemplate { System::Windows::DataTemplate ^ get(); void set(System::Windows::DataTemplate ^ value); };" />
<MemberSignature Language="F#" Value="member this.HeaderTemplate : System.Windows.DataTemplate with get, set" Usage="System.Windows.Controls.DataGridColumn.HeaderTemplate" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DataTemplate</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the template that defines the visual representation of the column header.</summary>
<value>The object that defines the visual representation of the column header. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderTemplateProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HeaderTemplateProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HeaderTemplateProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.HeaderTemplateProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HeaderTemplateProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HeaderTemplateProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HeaderTemplateProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.HeaderTemplateProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.HeaderTemplate" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderTemplateSelector">
<MemberSignature Language="C#" Value="public System.Windows.Controls.DataTemplateSelector HeaderTemplateSelector { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Controls.DataTemplateSelector HeaderTemplateSelector" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.HeaderTemplateSelector" />
<MemberSignature Language="VB.NET" Value="Public Property HeaderTemplateSelector As DataTemplateSelector" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Controls::DataTemplateSelector ^ HeaderTemplateSelector { System::Windows::Controls::DataTemplateSelector ^ get(); void set(System::Windows::Controls::DataTemplateSelector ^ value); };" />
<MemberSignature Language="F#" Value="member this.HeaderTemplateSelector : System.Windows.Controls.DataTemplateSelector with get, set" Usage="System.Windows.Controls.DataGridColumn.HeaderTemplateSelector" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.DataTemplateSelector</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the object that selects which template to use for the column header.</summary>
<value>The object that selects the template. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HeaderTemplateSelectorProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HeaderTemplateSelectorProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HeaderTemplateSelectorProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.HeaderTemplateSelectorProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HeaderTemplateSelectorProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HeaderTemplateSelectorProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HeaderTemplateSelectorProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.HeaderTemplateSelectorProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.HeaderTemplateSelector" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsAutoGenerated">
<MemberSignature Language="C#" Value="public bool IsAutoGenerated { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsAutoGenerated" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.IsAutoGenerated" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsAutoGenerated As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsAutoGenerated { bool get(); };" />
<MemberSignature Language="F#" Value="member this.IsAutoGenerated : bool" Usage="System.Windows.Controls.DataGridColumn.IsAutoGenerated" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the column is auto-generated.</summary>
<value>
<see langword="true" /> if the column is auto-generated; otherwise, <see langword="false" />. The registered default is <see langword="false" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.AutoGenerateColumns" />
</Docs>
</Member>
<Member MemberName="IsAutoGeneratedProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsAutoGeneratedProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsAutoGeneratedProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.IsAutoGeneratedProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsAutoGeneratedProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsAutoGeneratedProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsAutoGeneratedProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.IsAutoGeneratedProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.IsAutoGenerated" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsFrozen">
<MemberSignature Language="C#" Value="public bool IsFrozen { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsFrozen" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.IsFrozen" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsFrozen As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsFrozen { bool get(); };" />
<MemberSignature Language="F#" Value="member this.IsFrozen : bool" Usage="System.Windows.Controls.DataGridColumn.IsFrozen" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the column is prevented from scrolling horizontally.</summary>
<value>
<see langword="true" /> if the column cannot be scrolled horizontally; otherwise, <see langword="false" />. The registered default is <see langword="false" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Windows.Controls.DataGridColumn.IsFrozen%2A> cannot be used to freeze a column. Instead, set the <xref:System.Windows.Controls.DataGrid.FrozenColumnCount%2A> property. The leftmost columns up to the column that is specified by the <xref:System.Windows.Controls.DataGrid.FrozenColumnCount%2A> number will freeze in place.
## Examples
The following example shows how to freeze a column when "Freeze Column" is selected from the <xref:System.Windows.Controls.ContextMenu>. Columns are moved to the left in order to be included in the frozen columns.
[!code-xaml[DataGrid_FrozenColumn#1](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_frozencolumn/cs/window1.xaml#1)]
[!code-csharp[DataGrid_FrozenColumn#2](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_frozencolumn/cs/window1.xaml.cs#2)]
[!code-vb[DataGrid_FrozenColumn#2](~/samples/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/window1.xaml.vb#2)]
[!code-csharp[DataGrid_FrozenColumn#3](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_frozencolumn/cs/window1.xaml.cs#3)]
[!code-vb[DataGrid_FrozenColumn#3](~/samples/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/window1.xaml.vb#3)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.DataGrid" />
<altmember cref="P:System.Windows.Controls.DataGrid.FrozenColumnCount" />
</Docs>
</Member>
<Member MemberName="IsFrozenProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsFrozenProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsFrozenProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.IsFrozenProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsFrozenProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsFrozenProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsFrozenProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.IsFrozenProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.IsFrozen" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsReadOnly">
<MemberSignature Language="C#" Value="public bool IsReadOnly { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.IsReadOnly" />
<MemberSignature Language="VB.NET" Value="Public Property IsReadOnly As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsReadOnly { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.IsReadOnly : bool with get, set" Usage="System.Windows.Controls.DataGridColumn.IsReadOnly" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether cells in the column can be edited.</summary>
<value>
<see langword="true" /> if cells in the column cannot be edited; otherwise, <see langword="false" />. The registered default is <see langword="false" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Set the <xref:System.Windows.Controls.DataGridColumn.IsReadOnly%2A> property to `true` to make all cells in an individual column read-only. Set the <xref:System.Windows.Controls.DataGrid.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make all cells in the <xref:System.Windows.Controls.DataGrid> read-only. Set the <xref:System.Windows.Controls.DataGridCell.IsReadOnly%2A?displayProperty=nameWithType> property to `true` to make an individual cell read-only. If a conflict exists between the settings at the <xref:System.Windows.Controls.DataGrid>, column, or cell levels, a value of `true` takes precedence over a value of `false`.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.IsReadOnly" />
<altmember cref="P:System.Windows.Controls.DataGridCell.IsReadOnly" />
</Docs>
</Member>
<Member MemberName="IsReadOnlyProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsReadOnlyProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsReadOnlyProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.IsReadOnlyProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsReadOnlyProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsReadOnlyProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsReadOnlyProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.IsReadOnlyProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.IsReadOnly" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaxWidth">
<MemberSignature Language="C#" Value="public double MaxWidth { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 MaxWidth" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.MaxWidth" />
<MemberSignature Language="VB.NET" Value="Public Property MaxWidth As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double MaxWidth { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.MaxWidth : double with get, set" Usage="System.Windows.Controls.DataGridColumn.MaxWidth" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the maximum width constraint of the column.</summary>
<value>The maximum column width, in [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)]. The registered default is <see cref="F:System.Double.PositiveInfinity" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When you set a value for the <xref:System.Windows.Controls.DataGridColumn.MaxWidth%2A> property, it must be greater than or equal to 0.0.
<xref:System.Double.NaN?displayProperty=nameWithType> is not a valid value for this property. The value restrictions on the <xref:System.Double> value are enforced by a <xref:System.Windows.ValidateValueCallback> mechanism. If you attempt to set a value that is not valid, a run-time exception is thrown.
The <xref:System.Windows.Controls.DataGridLength.DisplayValue%2A> of the <xref:System.Windows.Controls.DataGrid.ColumnWidth%2A?displayProperty=nameWithType> and <xref:System.Windows.Controls.DataGridColumn.Width%2A?displayProperty=nameWithType> properties are constrained by the following properties, if they are set, in order of precedence:
- <xref:System.Windows.Controls.DataGridColumn.MaxWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MaxColumnWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGridColumn.MinWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MinColumnWidth%2A?displayProperty=nameWithType>
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGridColumn.MinWidth" />
<altmember cref="P:System.Windows.Controls.DataGridColumn.Width" />
<altmember cref="P:System.Windows.Controls.DataGrid.MaxColumnWidth" />
</Docs>
</Member>
<Member MemberName="MaxWidthProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty MaxWidthProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty MaxWidthProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.MaxWidthProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly MaxWidthProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ MaxWidthProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable MaxWidthProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.MaxWidthProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.MaxWidth" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MinWidth">
<MemberSignature Language="C#" Value="public double MinWidth { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 MinWidth" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.MinWidth" />
<MemberSignature Language="VB.NET" Value="Public Property MinWidth As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property double MinWidth { double get(); void set(double value); };" />
<MemberSignature Language="F#" Value="member this.MinWidth : double with get, set" Usage="System.Windows.Controls.DataGridColumn.MinWidth" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the minimum width constraint of the column.</summary>
<value>The minimum column width, in [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)]. The registered default is 20. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When you set a value for the <xref:System.Windows.Controls.DataGridColumn.MinWidth%2A> property, the value must be greater than or equal to 0.0.
<xref:System.Double.PositiveInfinity?displayProperty=nameWithType> and <xref:System.Double.NaN?displayProperty=nameWithType> are not valid values for this property. The value restrictions on the <xref:System.Double> value are enforced by a <xref:System.Windows.ValidateValueCallback> mechanism. If you attempt to set a value that is not valid, a run-time exception is thrown.
The <xref:System.Windows.Controls.DataGridLength.DisplayValue%2A> of the <xref:System.Windows.Controls.DataGrid.ColumnWidth%2A?displayProperty=nameWithType> and <xref:System.Windows.Controls.DataGridColumn.Width%2A?displayProperty=nameWithType> properties are constrained by the following properties, if they are set, in order of precedence:
- <xref:System.Windows.Controls.DataGridColumn.MaxWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MaxColumnWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGridColumn.MinWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MinColumnWidth%2A?displayProperty=nameWithType>
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGridColumn.MaxWidth" />
<altmember cref="P:System.Windows.Controls.DataGridColumn.Width" />
<altmember cref="P:System.Windows.Controls.DataGrid.MinColumnWidth" />
</Docs>
</Member>
<Member MemberName="MinWidthProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty MinWidthProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty MinWidthProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.MinWidthProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly MinWidthProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ MinWidthProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable MinWidthProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.MinWidthProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.MinWidth" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NotifyPropertyChanged">
<MemberSignature Language="C#" Value="protected void NotifyPropertyChanged (string propertyName);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void NotifyPropertyChanged(string propertyName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.NotifyPropertyChanged(System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Sub NotifyPropertyChanged (propertyName As String)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; void NotifyPropertyChanged(System::String ^ propertyName);" />
<MemberSignature Language="F#" Value="member this.NotifyPropertyChanged : string -&gt; unit" Usage="dataGridColumn.NotifyPropertyChanged propertyName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
</Parameters>
<Docs>
<param name="propertyName">The name of the column property that changed.</param>
<summary>Notifies the <see cref="T:System.Windows.Controls.DataGrid" /> that contains this column that a column property has changed.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnCoerceIsReadOnly">
<MemberSignature Language="C#" Value="protected virtual bool OnCoerceIsReadOnly (bool baseValue);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnCoerceIsReadOnly(bool baseValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.OnCoerceIsReadOnly(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function OnCoerceIsReadOnly (baseValue As Boolean) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual bool OnCoerceIsReadOnly(bool baseValue);" />
<MemberSignature Language="F#" Value="abstract member OnCoerceIsReadOnly : bool -&gt; bool&#xA;override this.OnCoerceIsReadOnly : bool -&gt; bool" Usage="dataGridColumn.OnCoerceIsReadOnly baseValue" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="baseValue" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="baseValue">The value that was passed to the delegate.</param>
<summary>Determines the value of the <see cref="P:System.Windows.Controls.DataGridColumn.IsReadOnly" /> property based on the property rules of the <see cref="T:System.Windows.Controls.DataGrid" /> that contains this column.</summary>
<returns>
<see langword="true" /> if cells in the column cannot be edited based on rules from the <see cref="T:System.Windows.Controls.DataGrid" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnCopyingCellClipboardContent">
<MemberSignature Language="C#" Value="public virtual object OnCopyingCellClipboardContent (object item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object OnCopyingCellClipboardContent(object item) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.OnCopyingCellClipboardContent(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function OnCopyingCellClipboardContent (item As Object) As Object" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Object ^ OnCopyingCellClipboardContent(System::Object ^ item);" />
<MemberSignature Language="F#" Value="abstract member OnCopyingCellClipboardContent : obj -&gt; obj&#xA;override this.OnCopyingCellClipboardContent : obj -&gt; obj" Usage="dataGridColumn.OnCopyingCellClipboardContent item" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="System.Object" />
</Parameters>
<Docs>
<param name="item">The data context for the selected element.</param>
<summary>Raises the <see cref="E:System.Windows.Controls.DataGridColumn.CopyingCellClipboardContent" /> event.</summary>
<returns>An object that represents the content of the cell.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is called for each selected cell to retrieve the default cell content. It then raises the <xref:System.Windows.Controls.DataGridColumn.CopyingCellClipboardContent> event. You can handle the event to modify the cell content before it is returned.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridColumn.OnPastingCellClipboardContent(System.Object,System.Object)" />
<altmember cref="E:System.Windows.Controls.DataGridColumn.CopyingCellClipboardContent" />
</Docs>
</Member>
<Member MemberName="OnPastingCellClipboardContent">
<MemberSignature Language="C#" Value="public virtual void OnPastingCellClipboardContent (object item, object cellContent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnPastingCellClipboardContent(object item, object cellContent) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.OnPastingCellClipboardContent(System.Object,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub OnPastingCellClipboardContent (item As Object, cellContent As Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void OnPastingCellClipboardContent(System::Object ^ item, System::Object ^ cellContent);" />
<MemberSignature Language="F#" Value="abstract member OnPastingCellClipboardContent : obj * obj -&gt; unit&#xA;override this.OnPastingCellClipboardContent : obj * obj -&gt; unit" Usage="dataGridColumn.OnPastingCellClipboardContent (item, cellContent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="item" Type="System.Object" />
<Parameter Name="cellContent" Type="System.Object" />
</Parameters>
<Docs>
<param name="item">The data context for the selected element.</param>
<param name="cellContent">The content to paste into the cell.</param>
<summary>Raises the <see cref="E:System.Windows.Controls.DataGridColumn.PastingCellClipboardContent" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method can be used as a helper if you provide a custom paste implementation for the <xref:System.Windows.Controls.DataGrid>. The cell content is stored in the `item` object.
This method raises the <xref:System.Windows.Controls.DataGridColumn.PastingCellClipboardContent> event. You can handle the event to modify the cell content before it is pasted into the cell. You can set `cellContent` to `null` to cancel the paste action.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridColumn.OnCopyingCellClipboardContent(System.Object)" />
<altmember cref="E:System.Windows.Controls.DataGridColumn.CopyingCellClipboardContent" />
<altmember cref="P:System.Windows.Controls.DataGridColumn.ClipboardContentBinding" />
</Docs>
</Member>
<Member MemberName="PastingCellClipboardContent">
<MemberSignature Language="C#" Value="public event EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; PastingCellClipboardContent;" />
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1&lt;class System.Windows.Controls.DataGridCellClipboardEventArgs&gt; PastingCellClipboardContent" />
<MemberSignature Language="DocId" Value="E:System.Windows.Controls.DataGridColumn.PastingCellClipboardContent" />
<MemberSignature Language="VB.NET" Value="Public Event PastingCellClipboardContent As EventHandler(Of DataGridCellClipboardEventArgs) " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event EventHandler&lt;System::Windows::Controls::DataGridCellClipboardEventArgs ^&gt; ^ PastingCellClipboardContent;" />
<MemberSignature Language="F#" Value="member this.PastingCellClipboardContent : EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; " Usage="member this.PastingCellClipboardContent : System.EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt; " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.EventHandler&lt;System.Windows.Controls.DataGridCellClipboardEventArgs&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs before the clipboard content is moved to the cell.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Event handlers can modify the clipboard content before it gets stored in the cell content.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PrepareCellForEdit">
<MemberSignature Language="C#" Value="protected virtual object PrepareCellForEdit (System.Windows.FrameworkElement editingElement, System.Windows.RoutedEventArgs editingEventArgs);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance object PrepareCellForEdit(class System.Windows.FrameworkElement editingElement, class System.Windows.RoutedEventArgs editingEventArgs) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.PrepareCellForEdit(System.Windows.FrameworkElement,System.Windows.RoutedEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function PrepareCellForEdit (editingElement As FrameworkElement, editingEventArgs As RoutedEventArgs) As Object" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual System::Object ^ PrepareCellForEdit(System::Windows::FrameworkElement ^ editingElement, System::Windows::RoutedEventArgs ^ editingEventArgs);" />
<MemberSignature Language="F#" Value="abstract member PrepareCellForEdit : System.Windows.FrameworkElement * System.Windows.RoutedEventArgs -&gt; obj&#xA;override this.PrepareCellForEdit : System.Windows.FrameworkElement * System.Windows.RoutedEventArgs -&gt; obj" Usage="dataGridColumn.PrepareCellForEdit (editingElement, editingEventArgs)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" />
<Parameter Name="editingEventArgs" Type="System.Windows.RoutedEventArgs" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<param name="editingEventArgs">Information about the user gesture that is causing a cell to enter editing mode.</param>
<summary>When overridden in a derived class, sets cell content as needed for editing.</summary>
<returns>When returned by a derived class, the unedited cell value. This implementation returns <see langword="null" /> in all cases.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Derived column types override this method to respond to the user gesture that is indicated by `editingEventArgs` and to return the current value before editing.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.DataGridColumn.GenerateEditingElement(System.Windows.Controls.DataGridCell,System.Object)" />
<altmember cref="P:System.Windows.Controls.DataGridBoundColumn.EditingElementStyle" />
</Docs>
</Member>
<Member MemberName="RefreshCellContent">
<MemberSignature Language="C#" Value="protected internal virtual void RefreshCellContent (System.Windows.FrameworkElement element, string propertyName);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance void RefreshCellContent(class System.Windows.FrameworkElement element, string propertyName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridColumn.RefreshCellContent(System.Windows.FrameworkElement,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable Sub RefreshCellContent (element As FrameworkElement, propertyName As String)" />
<MemberSignature Language="C++ CLI" Value="protected public:&#xA; virtual void RefreshCellContent(System::Windows::FrameworkElement ^ element, System::String ^ propertyName);" />
<MemberSignature Language="F#" Value="abstract member RefreshCellContent : System.Windows.FrameworkElement * string -&gt; unit&#xA;override this.RefreshCellContent : System.Windows.FrameworkElement * string -&gt; unit" Usage="dataGridColumn.RefreshCellContent (element, propertyName)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.FrameworkElement" />
<Parameter Name="propertyName" Type="System.String" />
</Parameters>
<Docs>
<param name="element">The cell to update.</param>
<param name="propertyName">The name of the column property that changed.</param>
<summary>When overridden in a derived class, updates the contents of a cell in the column in response to a column property value that changed.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SortDirection">
<MemberSignature Language="C#" Value="public Nullable&lt;System.ComponentModel.ListSortDirection&gt; SortDirection { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1&lt;valuetype System.ComponentModel.ListSortDirection&gt; SortDirection" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.SortDirection" />
<MemberSignature Language="VB.NET" Value="Public Property SortDirection As Nullable(Of ListSortDirection)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Nullable&lt;System::ComponentModel::ListSortDirection&gt; SortDirection { Nullable&lt;System::ComponentModel::ListSortDirection&gt; get(); void set(Nullable&lt;System::ComponentModel::ListSortDirection&gt; value); };" />
<MemberSignature Language="F#" Value="member this.SortDirection : Nullable&lt;System.ComponentModel.ListSortDirection&gt; with get, set" Usage="System.Windows.Controls.DataGridColumn.SortDirection" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable&lt;System.ComponentModel.ListSortDirection&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the sort direction (ascending or descending) of the column.</summary>
<value>A value that represents the direction for sorting. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SortDirectionProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty SortDirectionProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty SortDirectionProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.SortDirectionProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly SortDirectionProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ SortDirectionProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable SortDirectionProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.SortDirectionProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.SortDirection" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SortMemberPath">
<MemberSignature Language="C#" Value="public string SortMemberPath { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SortMemberPath" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.SortMemberPath" />
<MemberSignature Language="VB.NET" Value="Public Property SortMemberPath As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::String ^ SortMemberPath { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.SortMemberPath : string with get, set" Usage="System.Windows.Controls.DataGridColumn.SortMemberPath" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a property name, or a period-delimited hierarchy of property names, that indicates the member to sort by.</summary>
<value>The path of the data-item member to sort by. The registered default is an empty string (""). For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SortMemberPathProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty SortMemberPathProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty SortMemberPathProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.SortMemberPathProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly SortMemberPathProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ SortMemberPathProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable SortMemberPathProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.SortMemberPathProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.SortMemberPath" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Visibility">
<MemberSignature Language="C#" Value="public System.Windows.Visibility Visibility { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Visibility Visibility" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.Visibility" />
<MemberSignature Language="VB.NET" Value="Public Property Visibility As Visibility" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Visibility Visibility { System::Windows::Visibility get(); void set(System::Windows::Visibility value); };" />
<MemberSignature Language="F#" Value="member this.Visibility : System.Windows.Visibility with get, set" Usage="System.Windows.Controls.DataGridColumn.Visibility" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Visibility</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the visibility of the column.</summary>
<value>An enumeration value that specifies the column visibility. The registered default is <see cref="F:System.Windows.Visibility.Visible" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To hide a column, set its <xref:System.Windows.Controls.DataGridColumn.Visibility%2A> property to <xref:System.Windows.Visibility.Collapsed>.
## Examples
The following example shows how to set the visibility of the column.
[!code-xaml[DataGrid_ColumnsManipulation#Visible](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_columnsmanipulation/cs/datagrid_columnsmanipulation/window1.xaml#visible)]
[!code-xaml[DataGrid_ColumnsManipulation#DataGrid](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_columnsmanipulation/cs/datagrid_columnsmanipulation/window1.xaml#datagrid)]
[!code-csharp[DataGrid_ColumnsManipulation#Visible2](~/samples/snippets/csharp/VS_Snippets_Wpf/datagrid_columnsmanipulation/cs/datagrid_columnsmanipulation/window1.xaml.cs#visible2)]
[!code-vb[DataGrid_ColumnsManipulation#Visible2](~/samples/snippets/visualbasic/VS_Snippets_Wpf/datagrid_columnsmanipulation/vb/datagrid_columnsmanipulation_vb/window1.xaml.vb#visible2)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGrid.Columns" />
</Docs>
</Member>
<Member MemberName="VisibilityProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty VisibilityProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty VisibilityProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.VisibilityProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly VisibilityProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ VisibilityProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable VisibilityProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.VisibilityProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.Visibility" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Width">
<MemberSignature Language="C#" Value="public System.Windows.Controls.DataGridLength Width { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Controls.DataGridLength Width" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridColumn.Width" />
<MemberSignature Language="VB.NET" Value="Public Property Width As DataGridLength" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Controls::DataGridLength Width { System::Windows::Controls::DataGridLength get(); void set(System::Windows::Controls::DataGridLength value); };" />
<MemberSignature Language="F#" Value="member this.Width : System.Windows.Controls.DataGridLength with get, set" Usage="System.Windows.Controls.DataGridColumn.Width" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Controls.DataGridLength</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the column width or automatic sizing mode.</summary>
<value>A structure that represents the column width or automatic sizing mode. The registered default is <see cref="P:System.Windows.Controls.DataGridLength.Auto" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.DataGridColumn.Width%2A> property, when set on an individual <xref:System.Windows.Controls.DataGridColumn>, takes precedence over the <xref:System.Windows.Controls.DataGrid.ColumnWidth%2A?displayProperty=nameWithType> property.
The <xref:System.Windows.Controls.DataGridLength.DisplayValue%2A> of the <xref:System.Windows.Controls.DataGridColumn.Width%2A> property is constrained by the following properties, if they are set, in order of precedence:
- <xref:System.Windows.Controls.DataGridColumn.MaxWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MaxColumnWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGridColumn.MinWidth%2A?displayProperty=nameWithType>
- <xref:System.Windows.Controls.DataGrid.MinColumnWidth%2A?displayProperty=nameWithType>
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.DataGridColumn.MaxWidth" />
<altmember cref="P:System.Windows.Controls.DataGridColumn.MinWidth" />
<altmember cref="P:System.Windows.Controls.DataGrid.ColumnWidth" />
</Docs>
</Member>
<Member MemberName="WidthProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty WidthProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty WidthProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridColumn.WidthProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly WidthProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ WidthProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable WidthProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridColumn.WidthProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridColumn.Width" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.