Table of Contents

Property this

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

this[string]

Gets or sets the element with the specified key.

public ColorScheme? this[string key] { get; set; }

Parameters

key string

The key of the element to get or set.

Property Value

ColorScheme

The element with the specified key.

Exceptions

ArgumentNullException

key is null.

KeyNotFoundException

The property is retrieved and key is not found.

NotSupportedException

The property is set and the IDictionary<TKey, TValue> is read-only.