Table of Contents

Class FlagSelector<TEnum>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Provides a user interface for displaying and selecting flags. Flags can be set from a dictionary or directly from an enum type.

public sealed class FlagSelector<TEnum> : FlagSelector, IDisposable, ISupportInitializeNotification, ISupportInitialize, IOrientation, IDesignable where TEnum : struct, Enum

Type Parameters

TEnum
Inheritance
FlagSelector<TEnum>
Implements
Inherited Members

Constructors

FlagSelector()

Initializes a new instance of the FlagSelector<TEnum> class.

Properties

Value

Gets or sets the value of the selected flags.

Methods

CreateCheckBox(string, uint)
SetFlagNames(Func<TEnum, string>)

Set the display names for the flags.

SetFlags(IReadOnlyDictionary<uint, string>)

Prevents calling the base SetFlags method with arbitrary flag values.