Constructor StoryBookEnumProperty
StoryBookEnumProperty(string, Func<VisualElement, Enum>, Action<VisualElement, Enum>)
Constructor.
Declaration
public StoryBookEnumProperty(string name, Func<VisualElement, Enum> getter, Action<VisualElement, Enum> setter)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the property. |
Func<VisualElement, Enum> | getter | The getter of the property. |
Action<VisualElement, Enum> | setter | The setter of the property. |