Intersoft WebGrid Documentation
ShowInContextMenu Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFreezePaneSettings Class : ShowInContextMenu Property






Gets or sets whether the freezing commands are shown in column context menu.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute("Gets or sets whether the freezing commands are shown in column context menu.")>
Public Property ShowInContextMenu As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridFreezePaneSettings
Dim value As Boolean
 
instance.ShowInContextMenu = value
 
value = instance.ShowInContextMenu
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets whether the freezing commands are shown in column context menu.")]
public bool ShowInContextMenu {get; set;}
Delphi 
public read-write property ShowInContextMenu: Boolean; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
DescriptionAttribute("Gets or sets whether the freezing commands are shown in column context menu.")
public function get,set ShowInContextMenu : boolean
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets whether the freezing commands are shown in column context menu.")]
public: __property bool get_ShowInContextMenu();
public: __property void set_ShowInContextMenu( 
   bool value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets whether the freezing commands are shown in column context menu.")]
public:
property bool ShowInContextMenu {
   bool get();
   void set (    bool value);
}

Remarks

WebGrid's LiveFreze™ feature allows users to perform freezing/unfreezing at runtime through column context menu. By setting this property to True, you can easily enable the runtime freezing feature. When the WebGrid detects an active frozen settings, the Unfreeze Pane command will be enabled. Likewise, the Freeze Pane command will be enabled if the WebGrid does not have an active frozen columns.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

WebGridFreezePaneSettings Class
WebGridFreezePaneSettings Members

Concepts

Runtime freezing/unfreezing
Column Freezing

Tasks

How-to: Allow user to freeze/unfreeze at runtime

Other Resources

LiveFreeze™ behaviors and other notes

©2012 Intersoft Solutions Corp. All Rights Reserved.