Synced
ShowIfAttribute
Section titled “ShowIfAttribute”
- Shows the annotated Inspector property only when a sibling member satisfies a condition.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: InnoEditor.Annotations.InspectorPresentationAttribute
Project: Inno.Editor.Annotations
Scope: Authoring
Declaration
Section titled “Declaration”public sealed class InnoEditor.Annotations.ShowIfAttribute : InnoEditor.Annotations.InspectorPresentationAttributeMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ShowIfAttribute.Constructor(System.String) | Creates a truthiness condition. |
| Constructors | ShowIfAttribute.Constructor(System.String,InnoEditor.Annotations.InspectorCondition) | Creates a named condition that does not require an expected value. |
| Constructors | ShowIfAttribute.Constructor(System.String,System.Object) | Creates an equality condition. |
| Properties | ShowIfAttribute.condition | Gets the comparison. |
| Properties | ShowIfAttribute.expectedValue | Gets the optional expected constant. |
| Properties | ShowIfAttribute.memberName | Gets the sibling member name. |