In This Topic
The C1Gauge control includes several properties that allow you to customize the appearance and behavior of the control. The main properties of the C1Gauge control include:
- C1Gauge.Gauges – the collection of gauges that can appear in the container control.
- C1Gauge.FaceShapes – the collection of "background" shapes that appear between the control's background and gauges.
- C1Gauge.CoverShapes – these are the "foreground" shapes that appear on top of everything.
- C1Gauge.Font – specifies the default font for all gauge labels.
- C1Gauge.ForeColor – sets the default color for all borders and labels in gauges and shapes.
- C1Gauge.BackColor – sets the default filling color.
- C1Gauge.Shadow – the default settings for all gauge shadows.
- C1Gauge.CacheBackground and C1Gauge.CacheForeground – these properties specify whether all static background and/or foreground elements should be painted into off-screen images. Such images are drawn quickly when the current value changes. This improves performance at the cost of additional memory consumption.
- C1Gauge.SupportsTransitionEffect – this property enables the ability for smooth transition between visual states of the control when the user calls the C1Gauge.EndUpdate() method with the ‘duration’ parameter.
- C1Gauge.FramesPerSecond – sets the maximum frequency of repainting of the gauge container. You may decrease the value of this property to improve overall performance.
- C1Gauge.Selectable – if True, the control is selectable and can receive input focus.
When some gauge is selected on the designer surface, it's easy to move selection to the owner C1Gauge control by clicking in the grab handle that appears at the top left corner of the control. An alternative way would be pressing the Escape key – this moves the selection to the owner control as well.
See Also