Add a new style based on a control
It is easy to create styles in the Properties pane using the Select Properties for New Style dialog box. This is the preferred method for style sheet creation and configuration.
- Configure the desired properties values for your screen object (control) in the Properties pane.
- Click
(Add a new style based on this control) next to the Style property to open a new style sheet for this control. The style sheet will pick up any property values you have configured for the control.
|
Style sheet configuration — Properties pane |
Note: The style sheet does not display all properties for all control types. Some complex object types (for example, Chart.Series properties, and Grid.ColumnDefinition properties) and lists (e.g., ComboBox.Items properties) are hidden from style configuration.
- Click the check box next to the properties for which you wish to apply a new style.
- Edit any property values as desired.
- Optionally, rename the style by editing the name in the Style name box.
- Click
in the column header to filter the rows as needed. - Once your style sheet is configured, click OK to save the configuration to the global settings file.
- Or click Cancel to abort and close the Select Properties for New Style dialog box.