BaseGauge Members
Represents the base class for gauges.Constructors
Name | Description |
---|---|
BaseGauge() | Initializes a new instance of the BaseGauge class. |
BaseGauge(IGaugeContainer) | Initializes a new instance of the BaseGauge class with the specified container. |
Properties
Name | Description |
---|---|
Bounds | Gets or sets the gauge’s bounds. |
CanRaiseEvents protected | Gets a value indicating whether the component can raise an event. Inherited from Component. |
Container | Gets the IContainer that contains the Component. Inherited from Component. |
DesignMode protected | Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
IsDisposing | Gets whether the object is being disposed of. |
MinimumSize | Gets the gauge’s minimum size. |
Model | This member supports the internal infrastructure and is not intended to be used directly from your code. |
Name | Gets or sets the gauge’s name. |
ParentCollectionName | This member supports the internal infrastructure and is not intended to be used directly from your code. |
ParentName | This member supports the internal infrastructure and is not intended to be used directly from your code. |
ProportionalStretch | Gets or sets whether the gauge is proportionally zoomed when resizing. |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
Tag | Gets or sets the object that contains data associated with the BaseGauge object. |
TypeNameEx | Gets the type name of the current object. |
Methods
Name | Description |
---|---|
ApplyStyles(StyleCollection) | Applies the specified collection of styles to the current gauge. |
ApplyTextSettings(TextSettings) | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
BeginUpdate() | Locks the BaseGauge object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. |
CancelUpdate() | Unlocks the BaseGauge object after it has been locked by the BeginUpdate method, without causing an immediate visual update. |
CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject. |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
EndUpdate() | Unlocks the BaseGauge object after a call to the BeginUpdate method and causes an immediate visual update. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetColorScheme() | Gets the color scheme currently applied to this gauge. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject. |
GetService(Type) protected | Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
InitializeDefault() | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MemberwiseClone(Boolean) protected | Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject. |
ReadTextSettings() | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
Events
Name | Description |
---|---|
Changed | Fires when the object’s properties are changed. |
CustomDrawElement | Occurs before every gauge element is drawn, allowing you to draw it in a custom manner. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
See Also