CVB.Net 14.0
OverlayBase Class Referenceabstract

Base object for all displayable objects (currently labels and overlay plug in objects) More...

Inherited by DisplayLabel, OverlayPluginBase, and UserOverlay.

Protected Member Functions

 OverlayBase (string text, bool canDrag, System.Drawing.Color color, object tag)
 ctor for DisplayObjects More...
 

Protected Attributes

System.Drawing.Color color_ = System.Drawing.Color.White
 Internally stored color.
 

Properties

Display Parent [get]
 The display on which the label lives (if any...). Note that a label may only be associated with one display at a time
 
object Tag [get, set]
 Field for user-definable data to be associated with the overlay object.
 
bool InvokeRequired [get]
 tell whether actions on the display object require an invoke action or not (being user interface objects, display objects should not be modified asynchronously)
 
string Text [get, set]
 Text being displayed on the label and/or in the status line
 
virtual System.Drawing.Color Color [get, set]
 Color of the label
 
bool IsDragable [get, set]
 Label dragable?
 

Detailed Description

Base object for all displayable objects (currently labels and overlay plug in objects)

Constructor & Destructor Documentation

◆ OverlayBase()

OverlayBase ( string  text,
bool  canDrag,
System.Drawing.Color  color,
object  tag 
)
protected

ctor for DisplayObjects

Parameters
textlabel/status line text for the object
canDragdragable flag
colorobject color
tagobject to be associated with this overlay