Table of Contents

Class FlagSelector<TFlagsEnum>

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Provides a user interface for displaying and selecting non-mutually-exclusive flags in a type-safe way. FlagSelector provides a non-type-safe version. TFlagsEnum must be a valid enum type with the '[Flags]' attribute.

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

Type Parameters

TFlagsEnum
Inheritance
FlagSelector<TFlagsEnum>
Implements
Inherited Members
Extension Methods

Constructors

FlagSelector()

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

Properties

Value

Gets or sets the value of the selected flags.

Methods

OnValueChanged(int?, int?)

Called when Value has changed. Raises the generic ValueChanged event.

Events

ValueChanged

Raised when Value has changed. Provides the new value as TFlagsEnum?.