Softelvdm.Controls Class Library for Windows Controls 1.0

reason Field, ActionEventArgs Class

Softel vdm, Inc.

The action that caused this event to occur.

Syntax      ActionEventArgs Class (Softelvdm.Controls)

VB   

Public ReadOnly Property reason As StrategyReasonEnum

C#   

public readonly StrategyReasonEnum reason;

C++   

public: <readonly> StrategyReasonEnum reason;

Field Value

Defines the current operation requested.

StrategyReasonEnum

Value

Description

Eval

0

The size and position of visible objects is requested.

Paint

1

Rendering is requested.

MouseDown

2

A mouse button down event must be handled.

MouseDown2

3

A mouse button double-click must be handled.

MouseUp

4

A mouse button release must be handled.

Hover

5

A mouse cursor movement must be handled.

Dimensions

6

The dimensions of an object are requested.

Comments

The reason field contains the action that caused this event to occur.

StrategyReasonEnum.MouseDown and StrategyReasonEnum.MouseDown2 are the only possible reason values.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com