Make it possible to change the name of an enum button
This commit is contained in:
parent
bd01dfa69a
commit
c43ed1e73f
5 changed files with 56 additions and 35 deletions
|
|
@ -57,4 +57,14 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
|
||||
public bool InvertIcons { get; set; } = false;
|
||||
}
|
||||
|
||||
public class EnumNameAttribute : Attribute
|
||||
{
|
||||
public EnumNameAttribute(string name)
|
||||
{
|
||||
this.Name = name;
|
||||
}
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue