UserOverlay Class

CVB.Net Documentation
User-definable overlay. This type of overlay does not use a predefined appearance, but needs to be user-drawn using a subset of the GDI functionality exported by the UnmanagedGraphics object.
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.Forms.OverlaysOverlayBase
    Stemmer.Cvb.Forms.OverlaysUserOverlay
      Stemmer.Cvb.Forms.VisualToolsVisualToolBaseTResult

Namespace:  Stemmer.Cvb.Forms.Overlays
Assembly:  Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax

public class UserOverlay : OverlayBase

The UserOverlay type exposes the following members.

Constructors

  NameDescription
Public methodUserOverlay(UserOverlay)
copy ctor
Public methodUserOverlay(String, Boolean, Boolean, Color, Boolean, Point, Cursor)
Construct a user object.
Public methodUserOverlay(String, Boolean, Boolean, Color, Boolean, Point, Cursor, Object)
Construct a user object.
Top
Properties

  NameDescription
Public propertyColor
Color of the overlay.
(Overrides OverlayBaseColor.)
Protected propertyDisplayID
The ID under which the unmanaged display "knows" the label
(Inherited from OverlayBase.)
Public propertyInvokeRequired
tell whether actions on the display object require an invoke action or not (being user interface objects, display objects should not be modified asynchronously)
(Inherited from OverlayBase.)
Public propertyIsDragable
Label dragable?
(Inherited from OverlayBase.)
Public propertyParent
The display on which the label lives (if any...). Note that a label may only be associated with one display at a time
(Inherited from OverlayBase.)
Public propertyTag
Field for user-definable data to be associated with the overlay object.
(Inherited from OverlayBase.)
Public propertyText
Text being displayed on the label and/or in the status line
(Inherited from OverlayBase.)
Public propertyVertices
Pixel positions to paint the user object with. Modifying the Vertex positions will not change the appearance of the overlay and the changes will in fact be overwritten in the next Paint event. Positions are in image coordinates, NOT in client coordinates.
Public propertyXORPaint
Use or don't use XOR mode for painting.
Top
Methods

  NameDescription
Protected methodDestroyAndCreatePropertyChanged
Method to be called whenever a property value changed that necessitates a destroy + create in order to reflect the property change on the actual display.
(Inherited from OverlayBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnConnectToDisplay
Establish connection with a new display.
(Inherited from OverlayBase.)
Protected methodOnDisconnectFromDisplay
Disconnect the object from its parent display.
(Inherited from OverlayBase.)
Protected methodOnPaint
Inheritors may override this method to change behavior.
Protected methodOverlay_ConnectedToDisplay
Add a label to a display.
(Overrides OverlayBaseOverlay_ConnectedToDisplay.)
Protected methodOverlay_DisconnectedFromDisplay
Remove a label from its display
(Overrides OverlayBaseOverlay_DisconnectedFromDisplay(Boolean).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventPaint
Paint event that will be raised if the object needs to be painted.
Top
Fields

  NameDescription
Protected fieldcolor_
Internally stored color.
(Inherited from OverlayBase.)
Top
See Also

Reference