Base class for nodes that have a Visibility attribute. More...
#include <PropertyEditorNodes.h>
Inherits AZ::DocumentPropertyEditor::NodeDefinition.
Inherited by AZ::DocumentPropertyEditor::Nodes::Adapter, AZ::DocumentPropertyEditor::Nodes::Container, AZ::DocumentPropertyEditor::Nodes::Label, AZ::DocumentPropertyEditor::Nodes::PropertyEditor, and AZ::DocumentPropertyEditor::Nodes::Row.
Static Public Attributes | |
static constexpr AZStd::string_view | Name = "NodeWithVisiblityControl" |
static constexpr auto | Visibility = AttributeDefinition<PropertyVisibility>("Visibility") |
static constexpr auto | ReadOnly = AttributeDefinition<bool>("ReadOnly") |
static constexpr auto | NameLabelOverride = AttributeDefinition<AZStd::string_view>("NameLabelOverride") |
static constexpr auto | SetTrueLabel = AttributeDefinition<AZStd::string_view>("SetTrueLabel") |
static constexpr auto | SetFalseLabel = AttributeDefinition<AZStd::string_view>("SetFalseLabel") |
static constexpr auto | Disabled = AttributeDefinition<bool>("Disabled") |
static constexpr auto | AncestorDisabled = AttributeDefinition<bool>("AncestorDisabled") |
Static Public Attributes inherited from AZ::DocumentPropertyEditor::NodeDefinition | |
static constexpr AZStd::string_view | Name = "<undefined node name>" |
Additional Inherited Members | |
Static Public Member Functions inherited from AZ::DocumentPropertyEditor::NodeDefinition | |
static bool | CanAddToParentNode (const Dom::Value &parentNode) |
static bool | CanBeParentToValue (const Dom::Value &value) |
Base class for nodes that have a Visibility attribute.
|
staticconstexpr |
In some cases, a node may need to know that it is descended from a disabled ancestor. For example, disabled elements of a disabled container might require different treatment than disabled elements of an enabled container.