STK X Send comments on this topic.
MouseMode Property (AgUiAx2DCntrl)
See Also  Example
Windows






Windows & Linux

Description

Whether this control responds to mouse events.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property MouseMode() As AgEMouseMode

[C#]
public AgEMouseMode MouseMode {get; set;}

[Managed C++]
public: __property AgEMouseMode get_MouseMode();
public: __property void set_MouseMode(
AgEMouseMode
);

[Unmanaged C++]
public: HRESULT get_MouseMode(
AgEMouseMode * pRetVal
);
public: HRESULT put_MouseMode(
AgEMouseMode NewMouseMode
);

[Java]
public AgEMouseMode getMouseMode();public void setMouseMode(
AgEMouseMode
);

Remarks

By default the control is in automatic mode.

In manual mode the ZoomIn and ZoomOut methods have no effect.

Example

[Visual Basic .NET] Copy Code
Me.AxAgUiAx2DCntrl1.MouseMode = AGI.STKX.AgEMouseMode.eMouseModeManual

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK Engine for UNIX 11.2