Method ShouldHideGlyph
ShouldHideGlyph(Glyph)
Evaluate if the configuration of this Glyph would rather not show the Glyph in certain contexts.
Declaration
protected bool ShouldHideGlyph(Glyph glyph)
Parameters
Type | Name | Description |
---|---|---|
Glyph | glyph |
Returns
Type | Description |
---|---|
bool | True if the glyph should be hidden, false if the glyph should be shown. |
Remarks
The exact behavior of "hidden" is up to the component itself. For instance, a GlyphRichTextFormatter will not show the glyph for that action while a GlyphImageOutput may hide itself entirely.
Examples
If hideKeyboardMouseGlyphs is true and the glyph represents a keyboard or mouse glyph this will return true.