[]
        
(Showing Draft Content)

C1.Win.C1Gauge.C1Gauge

C1Gauge Class

Container control for ComponentOne Gauges.

Namespace: C1.Win.C1Gauge
Assembly: C1.Win.C1Gauge.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1Gauge), "C1Gauge.png")]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class C1Gauge : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize

Constructors

Name Description
C1Gauge()

Initializes a new instance of the C1Gauge control.

Properties

Name Description
CacheBackground

Gets or sets whether the cache buffer is used for fixed background elements.

CacheForeground

Gets or sets whether the cache buffer is used for fixed foreground elements.

CommonBorders

Gets the collection of templates for the C1GaugeBorder object.

CommonFillings

Gets the collection of templates for the C1GaugeFilling object.

CommonFonts

Gets the collection of templates for text font and color.

CommonGradients

Gets the collection of templates for the C1GaugeGradient object.

CommonImages

Gets the collection of templates for the C1GaugeCustomImage object.

CommonShadows

Gets the collection of templates for the C1GaugeShadow object.

CommonShapes

Gets the collection of templates for the C1GaugeCustomShape object.

CoverShapes

Gets the collection of shapes in the top layer (over everything).

DefaultSize

Gets the default size of the Gauge container control.

FaceShapes

Gets the collection of shapes in the bottom layer (between the background and Gauges).

FramesPerSecond

Gets or sets how many times per second the C1Gauge control can be repainted.

Gauges

Gets the collection of Gauges.

HotBrush

Specifies the properties of a brush to paint selection on the hot item.

ImeMode

This property has no effect on C1Gauge.

Padding

This property has no effect on C1Gauge.

RightToLeft

This property has no effect on C1Gauge.

Selectable

Gets or sets whether the C1Gauge control can receive focus.

Shadow

Encapsulates properties of the shadow.

SupportsTransitionEffect

Gets or sets whether the transition effect after a call to 'EndUpdate(duration)' is enabled.

Text

This property has no effect on C1Gauge.

TextRenderingHint

Gets or sets the quality of text rendering.

UseAntiAliasing

Gets or sets whether antialiasing is used when drawing Gauge elements.

UsePixelOffset

Gets or sets whether pixels are offset during rendering.

ViewTag

Gets or sets a digital tag identifying this element's views.

Viewport

Specifies the bounds of the Gauge container working area.

Methods

Name Description
BeginInit()
BeginUpdate()

Maintains performance while multiple settings are being changed.

Dispose(bool)

Clean up any resources being used.

EndInit()
EndUpdate()

Resumes processing after it has been suspended by a call to BeginUpdate().

EndUpdate(double)

Resumes processing after it has been suspended by a call to BeginUpdate().

GetImage()

Returns a "screenshot" of the C1Gauge control.

GetImage(int, int)

Returns a "screenshot" of the C1Gauge control as an image with given width and height.

GetImage(int, int, PixelFormat)

Returns a "screenshot" of the C1Gauge control as an Bitmap image with given width, height, and pixel format.

GetItemAt(int, int)

Returns the topmost hit-testable Gauge item, such as a decorator or pointer, at the given location.

InvalidateCache()

Invalidates the internal cache, then redraws the C1Gauge control completely.

IsInputKey(Keys)

Determines whether the specified key requires processing.

Load(Stream)

Loads the contents of C1Gauge from a Stream.

Load(string)

Loads the contents of C1Gauge from an XML file.

Load(XmlDocument)

Loads the contents of C1Gauge from an XmlDocument.

LoadView(Stream)

Loads a View of C1Gauge from a Stream.

LoadView(string)

Loads a View of C1Gauge from an XML file.

LoadView(XmlDocument)

Loads a View of C1Gauge from an XmlDocument.

OnBackColorChanged(EventArgs)

Raises the BackColorChanged event.

OnBackgroundImageChanged(EventArgs)

Raises the BackgroundImageChanged event.

OnBackgroundImageLayoutChanged(EventArgs)

Raises the BackgroundImageLayoutChanged event.

OnBindingContextChanged(EventArgs)

Notifies Gauges about changing the binding context.

OnDrawFocus(DrawFocusEventArgs)

Raises the DrawFocus event.

OnEnabledChanged(EventArgs)

Raises the EnabledChanged event.

OnFontChanged(EventArgs)

Raises the FontChanged event.

OnForeColorChanged(EventArgs)

Raises the ForeColorChanged event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnItemClick(ItemEventArgs)

Raises the ItemClick event.

OnItemDoubleClick(ItemEventArgs)

Raises the ItemDoubleClick event.

OnItemMouseDown(ItemMouseEventArgs)

Raises the ItemMouseDown event.

OnItemMouseEnter(ItemEventArgs)

Raises the ItemMouseEnter event.

OnItemMouseLeave(ItemEventArgs)

Raises the ItemMouseLeave event.

OnItemMouseMove(ItemMouseEventArgs)

Raises the ItemMouseMove event.

OnItemMouseUp(ItemMouseEventArgs)

Raises the ItemMouseUp event.

OnItemStateChanged(ItemEventArgs)

Raises the ItemStateChanged event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnMouseClick(MouseEventArgs)

Raises the MouseClick event.

OnMouseDoubleClick(MouseEventArgs)

Raises the MouseDoubleClick event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseLeave(EventArgs)

Raises the MouseLeave event.

OnMouseMove(MouseEventArgs)

Raises the MouseMove event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnMove(EventArgs)

Raises the Move event.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnPaintBackground(PaintEventArgs)

Paints the background of the control.

OnResize(EventArgs)

Raises the Resize event.

OnVisibleChanged(EventArgs)

Raises the VisibleChanged event.

Reset()

Removes all gauges and shapes from a C1Gauge and resets its properties to their default values.

Save(Stream)

Saves the contents of C1Gauge into a Stream.

Save(Stream, Encoding)

Saves the contents of C1Gauge into a Stream.

Save(string)

Saves the contents of C1Gauge into an XML file.

Save(string, Encoding)

Saves the contents of C1Gauge into an XML file.

Save(XmlWriter)

Saves the contents of C1Gauge into an XmlWriter.

SaveView(Stream)

Saves a View of C1Gauge into a Stream.

SaveView(Stream, Encoding)

Saves a View of C1Gauge into a Stream.

SaveView(string)

Saves a View of C1Gauge into an XML file.

SaveView(string, Encoding)

Saves a View of C1Gauge into an XML file.

SaveView(XmlWriter)

Saves a View of C1Gauge into an XmlWriter.

ShouldSerializeCommonBorders()

This member is for internal use only.

ShouldSerializeCommonFillings()

This member is for internal use only.

ShouldSerializeCommonFonts()

This member is for internal use only.

ShouldSerializeCommonGradients()

This member is for internal use only.

ShouldSerializeCommonImages()

This member is for internal use only.

ShouldSerializeCommonShadows()

This member is for internal use only.

ShouldSerializeCommonShapes()

This member is for internal use only.

ShouldSerializeCoverShapes()

This member is for internal use only.

ShouldSerializeFaceShapes()

This member is for internal use only.

ShouldSerializeGauges()

This member is for internal use only.

ShouldSerializeHotBrush()

This member is for internal use only.

ShouldSerializeShadow()

This member is for internal use only.

ShouldSerializeViewport()

This member is for internal use only.

Events

Name Description
DrawFocus

Occurs when the focus rectangle should be drawn.

ItemClick

Occurs when a Gauge item is clicked.

ItemDoubleClick

Occurs when a Gauge item is double-clicked.

ItemMouseDown

Occurs when the mouse pointer is over a Gauge item and a mouse button is pressed.

ItemMouseEnter

Occurs when the mouse pointer enters a Gauge item.

ItemMouseLeave

Occurs when the mouse pointer leaves a Gauge item.

ItemMouseMove

Occurs when the mouse pointer is moved over a Gauge item.

ItemMouseUp

Occurs when the mouse pointer is over a Gauge item and a mouse button is released.

ItemStateChanged

Occurs when the state of a Gauge item is changed.