Synced
HideIfAttribute
Section titled “HideIfAttribute”
- Hides the annotated Inspector property when a sibling member satisfies a condition.
Required contracts
Section titled “Required contracts”API: engine
Inherits: Inno.Editor.Annotations.InspectorPresentationAttribute
Project: Inno.Editor.Annotations
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Annotations.HideIfAttribute : Inno.Editor.Annotations.InspectorPresentationAttributeMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | HideIfAttribute.Constructor(System.String) | Creates a truthiness condition. |
| Constructors | HideIfAttribute.Constructor(System.String,Inno.Editor.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. |