Class StoryBookBooleanProperty
This class defines a boolean property for a StoryBookComponent.
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: Unity.AppUI.Editor.dll
Syntax
public class StoryBookBooleanProperty : StoryBookComponentProperty
Constructors
StoryBookBooleanProperty(string, Func<VisualElement, bool>, Action<VisualElement, bool>)
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, bool> | getter | The getter of the property. |
| Action<VisualElement, bool> | 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, bool> |
setter
The setter of the property.
Declaration
public Action<VisualElement, bool> setter { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<VisualElement, bool> |