Table of Contents

Class ChatActionToggledEventArgs

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Event data for a toggle-variant chat message action whose pressed state changed.

public sealed class ChatActionToggledEventArgs : ChatActionEventArgs
Inheritance
ChatActionToggledEventArgs
Inherited Members
Extension Methods

Constructors

ChatActionToggledEventArgs(ChatMessageId, ChatMessageAction, bool)

Initialises a new ChatActionToggledEventArgs.

public ChatActionToggledEventArgs(ChatMessageId messageId, ChatMessageAction action, bool isPressed)

Parameters

messageId ChatMessageId

The message the action belongs to.

action ChatMessageAction

The toggle action.

isPressed bool

The new pressed state.

Properties

IsPressed

The new pressed state of the toggle action.

public bool IsPressed { get; }

Property Value

bool