The table below lists common rule annotations along with a brief description.
Annotation | Description |
---|---|
%%Category | Specifies the category of the rule in the Property Pane and Part Editor. |
%%Choices | Specifies a list of choices for a parameter, or a rule to evaluate to specify choices (in the UI) when used with %%EvalChoices(“True”); adding choices changes the editor to a ComboBox. Separate choices by a comma, or use %%ChoicesDelimiter to specify an alternative. |
%%ChoicesDelimiter | Specifies the delimiter character used between values in %%Choices or %%EvalChoices annotations. |
%%DisplayName | Specifies an alternate display name for a rule when it appears in the Part Editor, Properties pane, and other standard UI controls where rules are displayed; this string may contain spaces where a rule name may not. |
%%EvalChoices | Specifies whether to evaluate value of %%Choices as a rule ( True ) or a list of choices. |
%%Prompt | Specifies the prompt for a parameter that is displayed in the tooltip in the Part Editor and when adding a child rule in the Design Editor. |
%%PERootPart? | If specified and False , the owner Rule is hidden in the context of the Root Part. If specified and True , the owner Rule is hidden everywhere outside of the Root Part. |