Table of Contents

Class AttributePicker

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

Allows the user to pick an Attribute by selecting foreground and background colors, and text styles.

public class AttributePicker : View, IDisposable, ISupportInitializeNotification, ISupportInitialize, IValue<Attribute?>, IValue, IDesignable
Inheritance
AttributePicker
Implements
Inherited Members
Extension Methods

Constructors

AttributePicker()

Creates a new instance of AttributePicker.

Properties

SampleText

Gets or sets the sample text displayed to preview the attribute.

Value

Gets or sets the selected Attribute.

Methods

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EnableForDesign()

Causes the View to enable design-time mode. This typically means that the view will load demo data and be configured to allow for design-time manipulation.

OnValueChanged(ValueChangedEventArgs<Attribute?>)

Called after Value has changed.

OnValueChanging(ValueChangingEventArgs<Attribute?>)

Called before Value changes. Return true to cancel the change.

Events

ValueChanged

Raised when Value has changed.

ValueChangedUntyped

Raised when Value has changed, providing the value as an un-typed object.

ValueChanging

Raised when Value is about to change. Set Handled to true to cancel the change.