Table of Contents

Property SchemeName

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

SchemeName

Gets or sets the name of the scheme to use for this View. If set, it overrides the scheme inherited from the SuperView. If a scheme was explicitly set (HasScheme is true), this property is ignored.

public string? SchemeName { get; set; }

Property Value

string

The scheme name, or null if no scheme name is set.

Remarks

Setting this property raises pre- and post-change events via CWPPropertyHelper, allowing customization or cancellation of the change. The SchemeNameChanging event is raised before the change, and SchemeNameChanged is raised after.

See Also