Table of Contents

Method ToString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ToString(bool)

Converts the current key and modifier combination to its string representation.

public virtual string ToString(bool forUser)

Parameters

forUser bool

A value indicating whether the string representation should be formatted for user display. If true, the output is tailored for user-friendly display; otherwise, it is formatted for internal or programmatic use.

Returns

string

A string that represents the key and modifier combination. If modifiers are present, they are included in the output, separated by the appropriate separator based on the forUser value.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.