Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : ObjectSingleClicked Event |
'Declaration <CategoryAttribute("GoView")> <DescriptionAttribute("A document object was single clicked by the user (a GoObjectEventHandler)")> Public Event ObjectSingleClicked As GoObjectEventHandler
[CategoryAttribute("GoView")] [DescriptionAttribute("A document object was single clicked by the user (a GoObjectEventHandler)")] public event GoObjectEventHandler ObjectSingleClicked
The event handler receives an argument of type GoObjectEventArgs containing data related to this event. The following GoObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Alt (Inherited from Northwoods.Go.GoInputEventArgs) | Gets whether Modifiers has Keys.Alt set. |
Buttons (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the MouseButtons used with this input event. |
Control (Inherited from Northwoods.Go.GoInputEventArgs) | Gets whether Modifiers has Keys.Control set. |
Delta (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the amount of change associated with a mouse-wheel rotation. |
DocPoint (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the point at which this input event occurred. |
DoubleClick (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets whether this is a double-click event. |
DragEventArgs (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the DragEventArgs associated with this input event. |
GoObject | Gets or sets the GoObject associated with this event. |
InputState (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the GoInputState as defined by various tools. |
IsContextButton (Inherited from Northwoods.Go.GoInputEventArgs) | Gets whether Buttons equals MouseButtons.Right . |
Key (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the key pressed as this input event. |
KeyEventArgs (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the KeyEventArgs associated with this input event. |
Modifiers (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the modifier keys used with this input event. |
MouseEventArgs (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the MouseEventArgs associated with this input event. |
Shift (Inherited from Northwoods.Go.GoInputEventArgs) | Gets whether Modifiers has Keys.Shift set. |
ViewPoint (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the point at which this input event occurred. |
MyView.ObjectSingleClicked += new GoObjectEventHandler(MyView_ObjectSingleClicked); ... private void MyView_ObjectSingleClicked(Object sender, GoObjectEventArgs evt) { GoBasicNode bn = evt.GoObject.ParentNode as GoBasicNode; if (bn != null) { MessageBox.Show("Clicked on " + bn.Text); } }
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