Table of Contents

Class MyraEventArgs

Namespace
Myra.Events
Assembly
Myra.dll

Provides data for Myra UI events.

public class MyraEventArgs
Inheritance
MyraEventArgs
Derived
Inherited Members

Constructors

MyraEventArgs(InputEventType)

Initializes a new instance of the MyraEventArgs class with the specified event type.

public MyraEventArgs(InputEventType inputEventType)

Parameters

inputEventType InputEventType

The type of the input event.

Fields

Empty

Gets an empty event args instance with no event type.

public static readonly MyraEventArgs Empty

Field Value

MyraEventArgs

Properties

EventType

Gets the type of the input event.

public InputEventType EventType { get; }

Property Value

InputEventType

Methods

StopPropagation()

Stops the propagation of the current event, preventing it from reaching other widgets in the propagation chain.

public void StopPropagation()