Table of Contents

Method OnGettingAttributeForRole

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

OnGettingAttributeForRole(in VisualRole, ref Attribute)

Overrides attribute retrieval to ensure that in ReadOnly mode, the control uses the Normal or Focus attributes

protected override bool OnGettingAttributeForRole(in VisualRole role, ref Attribute currentAttribute)

Parameters

role VisualRole
currentAttribute Attribute

Returns

bool