StyleOverride Interface
Deprecated in 3.x. Use ExtendedDataRule instead. See extended data usage page for more details.
Style override rules allow customizing display style of specific types of ECInstances.
@see Style override reference documentation page
Extends
Properties
Name | Type | Description | |
---|---|---|---|
backColor | string | undefined | Background color that should be used for node. | |
condition | string | undefined | Defines a condition for the rule, which needs to be met in order to execute it. | |
fontStyle | string | undefined | Font style that should be used for node. | |
foreColor | string | undefined | Foreground color that should be used for node. | |
ruleType | "StyleOverride" | Used for serializing to JSON. |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
onlyIfNotHandled Inherited | boolean | undefined | RuleBase | Tells the library that the rule should only be handled if no other rule of the same type was handled previously (based on rule |
priority Inherited | number | undefined | RuleBase | Defines the order in which rules are handled, higher number means the rule is handled first. |
requiredSchemas Inherited | RequiredSchemaSpecification[] | undefined | RuleBase | A list of ECSchema requirements that need to be met for the rule to be used. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.