Synced
HideIfAttribute
Section titled “HideIfAttribute”
- Hides the annotated Inspector property 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.HideIfAttribute : InnoEditor.Annotations.InspectorPresentationAttributeMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | HideIfAttribute.Constructor(System.String) | Creates a truthiness condition. |
| Constructors | HideIfAttribute.Constructor(System.String,InnoEditor.Annotations.InspectorCondition) | Creates a named condition that does not require an expected value. |
| Constructors | HideIfAttribute.Constructor(System.String,System.Object) | Creates an equality condition. |
| Properties | HideIfAttribute.condition | Gets the comparison. |
| Properties | HideIfAttribute.expectedValue | Gets the optional expected constant. |
| Properties | HideIfAttribute.memberName | Gets the sibling member name. |