Table of Contents

Struct AppKit.NSEventRef

Namespace
Xui.Runtime.MacOS
Assembly
Xui.Runtime.MacOS.dll
public ref struct AppKit.NSEventRef
Inherited Members

Constructors

NSEventRef(nint)

public NSEventRef(nint self)

Parameters

self nint

Fields

Self

public readonly nint Self

Field Value

nint

Properties

Characters

public string? Characters { get; }

Property Value

string

ClickCount

public int ClickCount { get; }

Property Value

int

IsARepeat

NSEvent.isARepeat — true when the key is held down.

public bool IsARepeat { get; }

Property Value

bool

KeyCode

public ushort KeyCode { get; }

Property Value

ushort

LocationInWindow

public Foundation.NSPoint LocationInWindow { get; }

Property Value

Foundation.NSPoint

ModifierFlags

NSEvent.modifierFlags — bit mask of active modifier keys.

public nuint ModifierFlags { get; }

Property Value

nuint

Pressure

public float Pressure { get; }

Property Value

float

ScrollingDelta

public Foundation.NSPoint ScrollingDelta { get; }

Property Value

Foundation.NSPoint

Subtype

public AppKit.NSEventRef.NSEventSubtype Subtype { get; }

Property Value

AppKit.NSEventRef.NSEventSubtype

Type

public AppKit.NSEventRef.NSEventType Type { get; }

Property Value

AppKit.NSEventRef.NSEventType

Methods

Dispose()

public void Dispose()

Operators

implicit operator nint(NSEventRef)

public static implicit operator nint(AppKit.NSEventRef cfStringRef)

Parameters

cfStringRef AppKit.NSEventRef

Returns

nint