Table of Contents

Method TryGetExplicitlySetAttributeForRole

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

TryGetExplicitlySetAttributeForRole(VisualRole, out Attribute?)

Attempts to get the Attribute associated with a specified VisualRole. If the role is not explicitly set, it will return false and the out parameter will be null.

public bool TryGetExplicitlySetAttributeForRole(VisualRole role, out Attribute? attribute)

Parameters

role VisualRole
attribute Attribute?

Returns

bool