Skip to content
API referenceDevelopmentAuthoring scriptingEngine ccf7d03f
Synced
  • Shows the annotated Inspector property only when a sibling member satisfies a condition.

API: scripting
Inherits: InnoEditor.Annotations.InspectorPresentationAttribute
Project: Inno.Editor.Annotations
Scope: Authoring

public sealed class InnoEditor.Annotations.ShowIfAttribute : InnoEditor.Annotations.InspectorPresentationAttribute
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.