Intersoft WebGrid Documentation
ContextMenu Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > GroupByBoxObject Class : ContextMenu Property






Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute("Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property ContextMenu As Boolean
Visual Basic (Usage)Copy Code
Dim instance As GroupByBoxObject
Dim value As Boolean
 
instance.ContextMenu = value
 
value = instance.ContextMenu
C# 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public bool ContextMenu {get; set;}
Delphi 
public read-write property ContextMenu: Boolean; 
JScript 
DefaultValueAttribute()
DescriptionAttribute("Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
public function get,set ContextMenu : boolean
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public: __property bool get_ContextMenu();
public: __property void set_ContextMenu( 
   bool value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute("Specifies whether the GroupByBox menu is enabled or disabled in the column's context menu.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
public:
property bool ContextMenu {
   bool get();
   void set (    bool value);
}

Remarks

In Enterprise edition, the context menu is applicable to all WebGrid's UI objects such as grouped column header in GroupByBox area, cell, row, grouped row and so on. For more information you can read Context Menus.

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

GroupByBoxObject Class
GroupByBoxObject Members

Concepts

Context Menus

Other Resources

Rich User Interface Elements

©2012 Intersoft Solutions Corp. All Rights Reserved.