API Reference > presentation-common > PresentationRules PresentationRules Types for defining the presentation ruleset. Enumerations Name Description ChildNodeSpecificationTypes Used for serializing array of ChildNodeSpecification ContentSpecificationTypes Used for serializing array of ContentSpecification GroupingSpecificationTypes Available types of GroupingSpecification InstanceLabelOverrideValueSpecificationType Types of possible InstanceLabelOverride label value. PropertyEditorParameterTypes Used for serializing array of PropertyEditorParameters to JSON PropertyGroupingValue Used in PropertyGroup to specify the type of value to use QuerySpecificationTypes Used for serializing array of QuerySpecification to JSON. RelatedPropertiesSpecialValues Special values that can be used in RelatedPropertiesSpecification.propertyNames RelationshipDirection Defines direction of a relationship that should be followed RelationshipMeaning Meaning of the relationship RuleTypes Used for serializing Rule objects to JSON. SameLabelInstanceGroupApplicationStage Specifies hierarchy creation stages used to apply SameLabelInstanceGroup grouping. VariableValueType Available value types of user-controllable variables Interfaces Name Description CalculatedPropertiesSpecification Sub-specification to include additional calculated properties into the content. CheckBoxRule Rule that allows configuring check boxes for certain nodes. ChildNodeRule Child node rules define nodes that are displayed at ChildNodeSpecificationBase Base interface for all ChildNodeSpecification implementations. ClassGroup Allows grouping ECInstance nodes by their base class. ConditionContainer Container of a ConditionContainer.condition property. ContentInstancesOfSpecificClassesSpecification Creates content for ECInstance(s) of specified classes. ContentModifier Rule that allows supplementing content with additional ContentModifiersList Contains various rule attributes that allow modifying returned content. ContentRelatedInstancesSpecificationNew ContentRule Defines content that's displayed in content controls (table view, ContentSpecificationBase Base interface for all ContentSpecification implementations. CustomNodeSpecification Creates a custom-defined node. CustomQueryInstanceNodesSpecification Creates nodes for instances which are returned by an ECSQL query. CustomRendererSpecification Specification for custom content renderer. DefaultGroupingPropertiesContainer A container of default grouping properties. DefaultPropertyCategoryOverride A rule that allows overriding the default property category. DEPRECATED_AllInstanceNodesSpecification Creates nodes for all available instances filtered only by the Deprecated DEPRECATED_AllRelatedInstanceNodesSpecification Creates nodes for all related instances for parent ECInstance node. Deprecated DEPRECATED_ContentRelatedInstancesSpecification Deprecated DEPRECATED_PropertiesDisplaySpecification Sub-specification to hide / display specified ECInstance properties. Deprecated DEPRECATED_PropertyEditorsSpecification Sub-specification to specify custom property editor Deprecated DEPRECATED_RelatedInstanceNodesSpecification Deprecated DEPRECATED_RelatedInstanceSpecification Deprecated RelatedInstanceSpecification specification. Deprecated DEPRECATED_RelatedPropertiesSpecification Sub-specification to include additional related instance properties. Deprecated DisabledSortingRule Rule to disable sorting for certain ECInstances in the hierarchy and/or content. ECPropertyValueQuerySpecification Specification which specifies the name of the parent instance property whose ExtendedDataRule Rule used to inject some extended data into presentation data GroupingRule Grouping rule is an advanced way to configure node grouping. GroupingSpecificationBase Base interface for all GroupingSpecification implementations. IdCategoryIdentifier Identifier of a category specified through PropertyCategorySpecification in this scope. ImageIdOverride Rule that allows overriding default icon and dynamically define an icon InstanceLabelOverride Rule to override labels for instances of specific ECClasses. InstanceLabelOverrideBriefcaseIdSpecification Specification that returns ECInstance's briefcase ID in base36 format. InstanceLabelOverrideClassLabelSpecification Specification that uses ECClass display label as the label content. InstanceLabelOverrideClassNameSpecification Specification that uses ECClass name as the label content. InstanceLabelOverrideCompositeValueSpecification Specification that allows creating a label value composited using InstanceLabelOverrideLocalIdSpecification Specification that returns ECInstance's local ID in base36 format. InstanceLabelOverridePropertyValueSpecification Specification that uses property value as the label content. InstanceLabelOverrideRelatedInstanceLabelSpecification Specification that uses label of a related instance as the label content. InstanceLabelOverrideStringValueSpecification Specification that uses the specified value as the label content. InstanceLabelOverrideValueSpecificationBase Base interface for all InstanceLabelOverrideValueSpecification implementations. InstanceNodesOfSpecificClassesSpecification Creates nodes for all instances of specified ECClasses. LabelOverride Rule to override labels and descriptions of nodes which pass rule's Deprecated MultiSchemaClassesSpecification Specification for multiple ECClasses that belong to NavigationRuleBase Base class for all NavigationRule implementations. NoCategoryIdentifier Identifier for no category. NodeArtifactsRule Rule used to create and assign artifacts to specific nodes. ParentCategoryIdentifier Identifier of the default parent category. PropertyCategorySpecification Specification to define a custom property category. PropertyEditorJsonParameters Arbitrary JSON parameters for custom property editors PropertyEditorMultilineParameters Multiline parameters for property editors that support multiline display PropertyEditorParametersBase Base interface for PropertyEditorParameters. PropertyEditorRangeParameters Range parameters for property editors that support ranges PropertyEditorSliderParameters Slider parameters for property editors that support slider display PropertyEditorSpecification Specification for custom property editor PropertyGroup Allows grouping by property of the instance PropertyOverrides A container structure for possible property overrides PropertyRangeGroupSpecification Describes a grouping range PropertySortingRule Rule to configure sorting for certain ECInstances in the hierarchy and/or content. PropertySpecification Specification of an ECProperty and its overrides QuerySpecificationBase Base interface for all QuerySpecification implementations. RelatedInstanceNodesSpecificationNew RelatedInstanceSpecificationNew Updated RelatedInstanceSpecification specification. RelatedPropertiesSpecificationNew Sub-specification to include additional related instance properties. RelationshipStepSpecification Specification of a single relationship path step. RepeatableRelationshipStepSpecification Specification of a single relationship path step. RequiredSchemaSpecification A specification for a schema requirement. Beta RootCategoryIdentifier Identifier of the root category. RootNodeRule Root node rules define the nodes that are displayed RuleBase Base interface for all Rule implementations. Ruleset Presentation ruleset is a list of rules that define tree hierarchy and content provided by SameLabelInstanceGroup Allows grouping multiple instances with the same label into one ECInstance node. SchemasSpecification Specification for a list of ECSchemas SelectedNodeInstancesSpecification Creates content for current selection. SingleSchemaClassSpecification Specification for a single ECClass SortingRuleBase Base class for all SortingRule implementations. StringQuerySpecification Specification which contains an ECSQL query used to query for instances. StyleOverride Rule to override default node style and dynamically define a foreground/background SubCondition Defines child node specifications which should only be handled when a condition SupplementationInfo Contains supplementation-related information for Variable Definition for single user-controllable variable VariablesGroup Presentation rules support variables that allow having additional customization of the hierarchy Type Aliases Name Description CategoryIdentifier Category identifier used to assign properties to a category. ChildNodeSpecification Navigation rule specifications that define what content the rule results in. ContentRelatedInstancesSpecification Creates content for ECInstance(s) related to current selection. ContentSpecification Content rule specifications which define what content is returned CustomizationRule Customization rules allow customizing each node or content item separately. GroupingSpecification Grouping rule specifications InstanceLabelOverrideValueSpecification Specification to define how the label for InstanceLabelOverride should be created. NavigationRule Navigation rules define the hierarchy that's created for navigation controls. PropertyEditorParameters Parameters for PropertyEditorSpecification PropertyRendererSpecification Specification for custom property renderer. Deprecated QuerySpecification Query specifications used in CustomQueryInstanceNodesSpecification. RelatedInstanceNodesSpecification Creates nodes for related instances of specified ECClasses. RelatedInstanceSpecification This sub-specification allows joining the primary node instance with any number of related instances and creating RelatedPropertiesSpecification Sub-specification to include additional related instance properties RelationshipPathSpecification Specification of a relationship path. RepeatableRelationshipPathSpecification Specification of a repeatable relationship path. Rule Presentation rules allow configuring the hierarchy and content. SortingRule Sorting rule implementations Last Updated: 12 June, 2024