Home Cooker Classes Others Rice CookerGX
Classes  >  elementeventargs
elementeventargs class

Description

Represents an event argument that will be passed to a handler regarding the element event.

Notes

It is a class that is statically included in the Cooker.

fitter

SignatureDescription
elementeventargs()

Get a new instance of elementeventargs class.

getter

SignatureDescription
AltKeyPressed

Gets the value that indicates whether the ALT key was pressed when this event occurred.

BubbleEvent

Gets the value indicating whether the current event bubbles up.

ClientMousePositionX

Gets the x-position of the mouse cursor in the document's client area.

ClientMousePositionY

Gets the y-position of the mouse cursor in the document's client area.

CtrlKeyPressed

Gets the value that indicates whether the CTRL key was pressed when this event occurred.

EHSwitch

Gets the switch for the event control.

EventType

Gets the name of the event that was raised.

Fitted

Gets the value that indicates whether this instance was already initialized.

FromElement

Gets the instance of the element type that the mouse pointer was away.

KeyPressedCode

Gets the ASCII value of the keyboard characters that typed.

LeftPressed

Gets the value that indicates whether the left mouse button was pressed when this event occurred.

MiddlePressed

Gets the value that indicates whether the middle mouse button was pressed when this event occurred.

MousePositionX

Gets the relative x-position of the mouse cursor which is based on a positioning parent element.

MousePositionY

Gets the relative y-position of the mouse cursor which is based on a positioning parent element.

NonePressed

Gets the value that indicates whether the mouse button was not pressed when this event occurred.

OffsetMousePositionX

Gets the x-position of the mouse cursor relative to the element that triggered the event.

OffsetMousePositionY

Gets the y-position of the mouse cursor relative to the element that triggered the event.

ReturnValue

Gets the value that indicates whether the event was handled.

RightPressed

Gets the value that indicates whether the right mouse button was pressed when this event occurred.

ShiftKeyPressed

Gets the value that indicates whether the SHIFT key was pressed when this event occurred.

SrcElement

Gets the element that fired the event.

ToElement

Gets the element that is destination of the mouse pointer.

TypeName

Gets the type name.

XButton1Pressed

Gets the value that indicates whether the X1 mouse button was pressed when this event occurred.

XButton2Pressed

Gets the value that indicates whether the X2 mouse button was pressed when this event occurred.

setter

SignatureDescription
BubbleEvent(bool)

Sets the value indicating whether the current event bubbles up.

ReturnValue(bool)

Sets the value that indicates whether the event was handled.

method

This class does not have a method.

Copyright © Rice All rights reserved.