Class GuiToolGroup
Represents a group or category in the main menu of the app.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public class GuiToolGroup
Remarks
[Export(typeof(GuiToolGroup))]
[Name("Encoders / Decoders")]
[Order(After = "Converters")] // Optional
internal sealed class MyGroup : GuiToolGroup
{
[ImportingConstructor]
internal MyGroup()
{
IconFontName = "FluentSystemIcons";
IconGlyph = "\u0108";
DisplayTitle = Sample.CommandDescription;
AccessibleName = Sample.CommandDescription;
}
}
Properties
AccessibleName
(optional) Gets or sets the name of the group that will be told to the user when using screen reader.
Declaration
public virtual string AccessibleName { get; protected set; }
Property Value
Type | Description |
---|---|
string |
DisplayTitle
Gets or sets the title to display in the menu.
Declaration
public virtual string DisplayTitle { get; protected set; }
Property Value
Type | Description |
---|---|
string |
IconFontName
Gets or sets the name of the font to use to display the IconGlyph.
Declaration
public virtual string IconFontName { get; protected set; }
Property Value
Type | Description |
---|---|
string |
IconGlyph
Gets or sets a glyph for the icon of the group.
Declaration
public virtual char IconGlyph { get; protected set; }
Property Value
Type | Description |
---|---|
char |