Compartilhar via


DataGridFrozenGrid.SetIsFrozen Method

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

Sets a value that indicates whether the grid is frozen.

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

Syntax

'Declaration
Public Shared Sub SetIsFrozen ( _
    element As DependencyObject, _
    value As Boolean _
)
public static void SetIsFrozen(
    DependencyObject element,
    bool value
)

Parameters

  • value
    Type: System.Boolean
    true if element is frozen; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

element is nulla null reference (Nothing in Visual Basic).

Remarks

This method supports the DataGridFrozenGrid.IsFrozen attached property.

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.