Class StoryBookBooleanProperty
This class defines a boolean property for a StoryBookComponent.
Inherited Members
Namespace: Unity.AppUI.Editor
Syntax
public class StoryBookBooleanProperty : StoryBookComponentProperty
Constructors
StoryBookBooleanProperty(String, Func<VisualElement, Boolean>, Action<VisualElement, Boolean>)
Constructor.
Declaration
public StoryBookBooleanProperty(string name, Func<VisualElement, bool> getter, Action<VisualElement, bool> setter)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the property. |
Func<VisualElement, Boolean> | getter | The getter of the property. |
Action<VisualElement, Boolean> | setter | The setter of the property. |
Properties
getter
The getter of the property.
Declaration
public Func<VisualElement, bool> getter { get; set; }
Property Value
Type | Description |
---|---|
Func<VisualElement, Boolean> |
setter
The setter of the property.
Declaration
public Action<VisualElement, bool> setter { get; set; }
Property Value
Type | Description |
---|---|
Action<VisualElement, Boolean> |