ComponentOne Gauges for WinForms
Gauges for WinForms Task-Based Help / Customizing the Pointer and Cap / Styling the Cap
In This Topic
    Styling the Cap
    In This Topic

    To style the cap, follow these steps:

    1. Click the ellipsis button next to the Gauges property in the Properties window. The C1Gauge.Gauges Collection Editor dialog box opens.
    2. Expand the Cap node, and set the following properties:
      1. Set Radius to 15.
      2. Expand Filling and set the Color property to White.
      3. Expand Filling and set the Color2 to Black.
      4. Expand Filling and set the BrushType to Gradient.
      5. Expand Shadow and set Visible to True.

    C1Gauge also includes a MoreCircles collection for the cap object. This allows you to add more circle shapes to your cap design, each with the same set of styling properties.

    See Also