csharp
public sealed class EnumDrawerA dropdown over an enum's names.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ A [Flags] enum gets a multi-select, because a dropdown that lets you choose one of "None, Read, Write, ReadWrite" is one that cannot express "Read and Execute" and that lists combinations somebody happened to name.
Methods (3)
public bool CanDraw(InspectorMember member)Whether this drawer can edit a member.
public UiElement Build(InspectorField field, UiElement parent)Makes the controls, once.
public void Show(InspectorField field, UiElement editor)Puts the current value into controls that already exist.
Used by (2)
- DrawerRegistryVixen.Editor.Inspector
- DrawerTestsVixen.Editor.Inspector.Tests