LedIndicator Class
Click or drag to resize

LedIndicator Class

Provides a status indicator modeled on a bi-colour red/green LED lamp. The lamp can be red or green and (traffic light colours) and can be steady or can flash with a choice of different cadences.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsUserControl
              ASCOM.ControlsLedIndicator

Namespace:  ASCOM.Controls
Assembly:  ASCOM.Controls (in ASCOM.Controls.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
public sealed class LedIndicator : UserControl

The LedIndicator type exposes the following members.

Constructors
  NameDescription
Public methodLedIndicator
Default constructor for a new LEDIndicator object. Performs the default processing required by the designer.
Top
Properties
  NameDescription
Public propertyAccessibilityObject (Inherited from Control.)
Public propertyAccessibleDefaultActionDescription (Inherited from Control.)
Public propertyAccessibleDescription (Inherited from Control.)
Public propertyAccessibleName (Inherited from Control.)
Public propertyAccessibleRole (Inherited from Control.)
Public propertyActiveControl (Inherited from ContainerControl.)
Public propertyAllowDrop (Inherited from Control.)
Public propertyAnchor (Inherited from Control.)
Public propertyAutoScaleDimensions (Inherited from ContainerControl.)
Public propertyAutoScaleMode (Inherited from ContainerControl.)
Public propertyAutoScroll (Inherited from ScrollableControl.)
Public propertyAutoScrollMargin (Inherited from ScrollableControl.)
Public propertyAutoScrollMinSize (Inherited from ScrollableControl.)
Public propertyAutoScrollOffset (Inherited from Control.)
Public propertyAutoScrollPosition (Inherited from ScrollableControl.)
Public propertyAutoSize (Inherited from UserControl.)
Public propertyAutoSizeMode (Inherited from UserControl.)
Public propertyAutoValidate (Inherited from UserControl.)
Public propertyBackColor (Inherited from Control.)
Public propertyBackgroundImage (Inherited from Control.)
Public propertyBackgroundImageLayout (Inherited from Control.)
Public propertyBindingContext (Inherited from ContainerControl.)
Public propertyBorderStyle (Inherited from UserControl.)
Public propertyBottom (Inherited from Control.)
Public propertyBounds (Inherited from Control.)
Public propertyCadence
Gets or sets the LED cadence bitmap. If the cadence has changed and is non-steady and the LED is enabled, then the cadence timer is started.
Public propertyCanFocus (Inherited from Control.)
Public propertyCanSelect (Inherited from Control.)
Public propertyCapture (Inherited from Control.)
Public propertyCausesValidation (Inherited from Control.)
Public propertyClientRectangle (Inherited from Control.)
Public propertyClientSize (Inherited from Control.)
Public propertyCompanyName (Inherited from Control.)
Public propertyContainer (Inherited from Component.)
Public propertyContainsFocus (Inherited from Control.)
Public propertyContextMenu (Inherited from Control.)
Public propertyContextMenuStrip (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyCreated (Inherited from Control.)
Public propertyCurrentAutoScaleDimensions (Inherited from ContainerControl.)
Public propertyCursor (Inherited from Control.)
Public propertyDataBindings (Inherited from Control.)
Public propertyDisplayRectangle (Inherited from ScrollableControl.)
Public propertyDisposing (Inherited from Control.)
Public propertyDock (Inherited from Control.)
Public propertyDockPadding (Inherited from ScrollableControl.)
Public propertyEnabled
Sets or reads the 'power status' of the LED When the LED is Enabled, it reflects the current colour settings and cadence. When disabled, the LED appears off and cadencing is disabled.
Public propertyFocused (Inherited from Control.)
Public propertyFont (Inherited from Control.)
Public propertyForeColor (Inherited from Control.)
Public propertyHandle (Inherited from Control.)
Public propertyHasChildren (Inherited from Control.)
Public propertyHeight (Inherited from Control.)
Public propertyHorizontalScroll (Inherited from ScrollableControl.)
Public propertyImeMode (Inherited from Control.)
Public propertyInvokeRequired (Inherited from Control.)
Public propertyIsAccessible (Inherited from Control.)
Public propertyIsDisposed (Inherited from Control.)
Public propertyIsHandleCreated (Inherited from Control.)
Public propertyIsMirrored (Inherited from Control.)
Public propertyLabelText
Sets the text displayed alongside the indicator
Public propertyLayoutEngine (Inherited from Control.)
Public propertyLeft (Inherited from Control.)
Public propertyLocation (Inherited from Control.)
Public propertyMargin (Inherited from Control.)
Public propertyMaximumSize (Inherited from Control.)
Public propertyMinimumSize (Inherited from Control.)
Public propertyName (Inherited from Control.)
Public propertyPadding (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyParentForm (Inherited from ContainerControl.)
Public propertyPreferredSize (Inherited from Control.)
Public propertyProductName (Inherited from Control.)
Public propertyProductVersion (Inherited from Control.)
Public propertyRecreatingHandle (Inherited from Control.)
Public propertyRegion (Inherited from Control.)
Public propertyRight (Inherited from Control.)
Public propertyRightToLeft (Inherited from Control.)
Public propertySite (Inherited from Control.)
Public propertySize (Inherited from Control.)
Public propertyStatus
Gets or sets the LED's status (which controls its display colour).
Public propertyTabIndex (Inherited from Control.)
Public propertyTabStop (Inherited from Control.)
Public propertyTag (Inherited from Control.)
Public propertyText (Inherited from UserControl.)
Public propertyTop (Inherited from Control.)
Public propertyTopLevelControl (Inherited from Control.)
Public propertyUseWaitCursor (Inherited from Control.)
Public propertyVerticalScroll (Inherited from ScrollableControl.)
Public propertyVisible (Inherited from Control.)
Public propertyWidth (Inherited from Control.)
Public propertyWindowTarget (Inherited from Control.)
Top
Methods
  NameDescription
Public methodBeginInvoke(Delegate) (Inherited from Control.)
Public methodBeginInvoke(Delegate, Object) (Inherited from Control.)
Public methodBringToFront (Inherited from Control.)
Public methodCadenceUpdate
Refreshes the LED display, taking account of the power, colour and cadence settings.
Public methodContains (Inherited from Control.)
Public methodCreateControl (Inherited from Control.)
Public methodCreateGraphics (Inherited from Control.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
Public methodDoDragDrop (Inherited from Control.)
Public methodDrawToBitmap (Inherited from Control.)
Public methodEndInvoke (Inherited from Control.)
Public methodFindForm (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Public methodGetChildAtPoint(Point) (Inherited from Control.)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip) (Inherited from Control.)
Public methodGetContainerControl (Inherited from Control.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetNextControl (Inherited from Control.)
Public methodGetPreferredSize (Inherited from Control.)
Public methodHide (Inherited from Control.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Public methodInvalidate (Inherited from Control.)
Public methodInvalidate(Region) (Inherited from Control.)
Public methodInvalidate(Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle) (Inherited from Control.)
Public methodInvalidate(Region, Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle, Boolean) (Inherited from Control.)
Public methodInvoke(Delegate) (Inherited from Control.)
Public methodInvoke(Delegate, Object) (Inherited from Control.)
Public methodPerformAutoScale (Inherited from ContainerControl.)
Public methodPerformLayout (Inherited from Control.)
Public methodPerformLayout(Control, String) (Inherited from Control.)
Public methodPointToClient (Inherited from Control.)
Public methodPointToScreen (Inherited from Control.)
Public methodPreProcessControlMessage (Inherited from Control.)
Public methodPreProcessMessage (Inherited from Control.)
Public methodRectangleToClient (Inherited from Control.)
Public methodRectangleToScreen (Inherited from Control.)
Public methodRefresh (Inherited from Control.)
Public methodResetBackColor (Inherited from Control.)
Public methodResetBindings (Inherited from Control.)
Public methodResetCursor (Inherited from Control.)
Public methodResetFont (Inherited from Control.)
Public methodResetForeColor (Inherited from Control.)
Public methodResetImeMode (Inherited from Control.)
Public methodResetRightToLeft (Inherited from Control.)
Public methodResetText (Inherited from Control.)
Public methodResumeLayout (Inherited from Control.)
Public methodResumeLayout(Boolean) (Inherited from Control.)
Public methodScale(Single) Obsolete. (Inherited from Control.)
Public methodScale(SizeF) (Inherited from Control.)
Public methodScale(Single, Single) Obsolete. (Inherited from Control.)
Public methodScrollControlIntoView (Inherited from ScrollableControl.)
Public methodSelect (Inherited from Control.)
Public methodSelectNextControl (Inherited from Control.)
Public methodSendToBack (Inherited from Control.)
Public methodSetAutoScrollMargin (Inherited from ScrollableControl.)
Public methodSetBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from Control.)
Public methodShow (Inherited from Control.)
Public methodSuspendLayout (Inherited from Control.)
Public methodToString (Inherited from Component.)
Public methodUpdate (Inherited from Control.)
Public methodValidate (Inherited from ContainerControl.)
Public methodValidate(Boolean) (Inherited from ContainerControl.)
Public methodValidateChildren (Inherited from UserControl.)
Public methodValidateChildren(ValidationConstraints) (Inherited from UserControl.)
Top
Events
  NameDescription
Public eventAutoSizeChanged (Inherited from UserControl.)
Public eventAutoValidateChanged (Inherited from UserControl.)
Public eventBackColorChanged (Inherited from Control.)
Public eventBackgroundImageChanged (Inherited from Control.)
Public eventBackgroundImageLayoutChanged (Inherited from Control.)
Public eventBindingContextChanged (Inherited from Control.)
Public eventCausesValidationChanged (Inherited from Control.)
Public eventChangeUICues (Inherited from Control.)
Public eventClick (Inherited from Control.)
Public eventClientSizeChanged (Inherited from Control.)
Public eventContextMenuChanged (Inherited from Control.)
Public eventContextMenuStripChanged (Inherited from Control.)
Public eventControlAdded (Inherited from Control.)
Public eventControlRemoved (Inherited from Control.)
Public eventCursorChanged (Inherited from Control.)
Public eventDisposed (Inherited from Component.)
Public eventDockChanged (Inherited from Control.)
Public eventDoubleClick (Inherited from Control.)
Public eventDragDrop (Inherited from Control.)
Public eventDragEnter (Inherited from Control.)
Public eventDragLeave (Inherited from Control.)
Public eventDragOver (Inherited from Control.)
Public eventEnabledChanged (Inherited from Control.)
Public eventEnter (Inherited from Control.)
Public eventFontChanged (Inherited from Control.)
Public eventForeColorChanged (Inherited from Control.)
Public eventGiveFeedback (Inherited from Control.)
Public eventGotFocus (Inherited from Control.)
Public eventHandleCreated (Inherited from Control.)
Public eventHandleDestroyed (Inherited from Control.)
Public eventHelpRequested (Inherited from Control.)
Public eventImeModeChanged (Inherited from Control.)
Public eventInvalidated (Inherited from Control.)
Public eventKeyDown (Inherited from Control.)
Public eventKeyPress (Inherited from Control.)
Public eventKeyUp (Inherited from Control.)
Public eventLayout (Inherited from Control.)
Public eventLeave (Inherited from Control.)
Public eventLoad (Inherited from UserControl.)
Public eventLocationChanged (Inherited from Control.)
Public eventLostFocus (Inherited from Control.)
Public eventMarginChanged (Inherited from Control.)
Public eventMouseCaptureChanged (Inherited from Control.)
Public eventMouseClick (Inherited from Control.)
Public eventMouseDoubleClick (Inherited from Control.)
Public eventMouseDown (Inherited from Control.)
Public eventMouseEnter (Inherited from Control.)
Public eventMouseHover (Inherited from Control.)
Public eventMouseLeave (Inherited from Control.)
Public eventMouseMove (Inherited from Control.)
Public eventMouseUp (Inherited from Control.)
Public eventMouseWheel (Inherited from Control.)
Public eventMove (Inherited from Control.)
Public eventPaddingChanged (Inherited from Control.)
Public eventPaint (Inherited from Control.)
Public eventParentChanged (Inherited from Control.)
Public eventPreviewKeyDown (Inherited from Control.)
Public eventQueryAccessibilityHelp (Inherited from Control.)
Public eventQueryContinueDrag (Inherited from Control.)
Public eventRegionChanged (Inherited from Control.)
Public eventResize (Inherited from Control.)
Public eventRightToLeftChanged (Inherited from Control.)
Public eventScroll (Inherited from ScrollableControl.)
Public eventSizeChanged (Inherited from Control.)
Public eventStyleChanged (Inherited from Control.)
Public eventSystemColorsChanged (Inherited from Control.)
Public eventTabIndexChanged (Inherited from Control.)
Public eventTabStopChanged (Inherited from Control.)
Public eventTextChanged (Inherited from UserControl.)
Public eventValidated (Inherited from Control.)
Public eventValidating (Inherited from Control.)
Public eventVisibleChanged (Inherited from Control.)
Top
See Also