www.Chart4.NET | Samples
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
Context menu containing chart options to display on a node on a user action. See Remarks section.
Namespace:
UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
Syntax
| C# |
|---|
public HierarchyMenuStrip hpMenu4Node { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property hpMenu4Node As HierarchyMenuStrip |
| Visual Basic (Usage) |
|---|
Dim instance As HierarchyWin Dim value As HierarchyMenuStrip value = instance.hpMenu4Node instance.hpMenu4Node = value |
| Visual C++ |
|---|
public: property HierarchyMenuStrip^ hpMenu4Node { HierarchyMenuStrip^ get (); void set (HierarchyMenuStrip^ value); } |
| J# |
|---|
/** @property */ public HierarchyMenuStrip get_hpMenu4Node() /** @property */ public void set_hpMenu4Node(HierarchyMenuStrip value) |
| JScript |
|---|
public function get hpMenu4Node () : HierarchyMenuStrip public function set hpMenu4Node (value : HierarchyMenuStrip) |
| JavaScript |
|---|
function get_hpMenu4Node(); function set_hpMenu4Node(value); |
Field Value
System.Windows.Forms.ContextMenuStrip
Remarks
- Set AvailableOnChart property to true to see the context menu on the chart on a user action (ex: on right-clicking the node).
- Set Button4MouseAction property to specify the user action on which the menu has to be displayed.
- Some items should be added to Items collection to get it displayed. Use ContextMenuStrip members or designer to add and remove items of the menu.
- To add events to the (newly added) items, access the control from source code window.
- If no items are added, the default menu would be displayed. To enable the default context menu, set hpMenu4Context.AvailableOnChart property to true.
