FlexGrid for WinForms
AllowFreezing Property



Gets or sets whether the user is allowed to freeze rows and columns with the mouse.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets whether the user is allowed to freeze rows and columns with the mouse.")>
<DefaultValueAttribute()>
<C1CategoryAttribute("Behavior")>
Public Property AllowFreezing As AllowFreezingEnum
'Usage
 
Dim instance As C1FlexGridBase
Dim value As AllowFreezingEnum
 
instance.AllowFreezing = value
 
value = instance.AllowFreezing
[C1Description("Gets or sets whether the user is allowed to freeze rows and columns with the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public AllowFreezingEnum AllowFreezing {get; set;}
[C1Description("Gets or sets whether the user is allowed to freeze rows and columns with the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public:
property AllowFreezingEnum AllowFreezing {
   AllowFreezingEnum get();
   void set (    AllowFreezingEnum value);
}
Remarks

Frozen cells remain on the screen when the user scrolls the control (like fixed cells), but they are selectable and editable (like scrollable cells). They are painted using the CellStyleCollection.Frozen style.

To freeze rows or columns at runtime, the mouse must be near the edge of the frozen area. The mouse pointer will then change into a 'freeze' pointer (looks like a padlock) and the user can drag the frozen boundary to a new row or column.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback