Canvas > Using Canvas > Using the Backstage View > Accessing General Settings > Configuring Style Sheets

Configuring Style Sheets

A Canvas style consists of a set of properties with preconfigured property values for a particular control type. Style sheets allow you to quickly apply a predetermined style to any control added to a screen or object. By designing and using style sheets consistently you can make changes in one place and cascade those changes down to all Canvas screens in the CygNet environment. Style sheets allow for the creation of unique style guidelines for your enterprise, making screen design faster, easing the burden of screen maintenance, and improving operator experience. If you create more than one object with the same properties, it's a good idea to use styles to ensure consistency in design.

Best practice recommends that you create new styles when building your screens in the Screen and Properties panes, and then subscribe to the style in the control's Style property. Once created you can manage all styles in the Backstage view: edit style name and property values, set as default, delete, even create new styles.

These settings are saved in XML format as part of the global settings file (.gsf) for your Canvas application and applied to all instances of Canvas.

You can use the Canvas Find / Replace feature to globally edit style names and property values.

Configure Style Sheets

Styles are created and configured in two places within Canvas:

Both locations are described below.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.