Partilhar via


DataGridColumn.IsFrozen Property

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

Gets a value that indicates whether the column is prevented from scrolling horizontally.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

Syntax

'Declaration
Public Property IsFrozen As Boolean
public bool IsFrozen { get; internal set; }

Property Value

Type: System.Boolean
true if the column cannot be scrolled horizontally; otherwise, false.

Remarks

The IsFrozen property is true if the column DisplayIndex property value is less than the DataGrid.FrozenColumnCount property value.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.