[This is preliminary documentation and is subject to change.]
The TextLabelElement type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | TextLabelElement | Initializes a new instance of the TextLabelElement class |
Methods
Name | Description | |
---|---|---|
![]() | Destructor | (Inherited from Element.) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | EnabledChanged |
Override to take action after element's enabled state change
(Inherited from Element.) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | FieldControlContextChanged | (Inherited from Element.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | Invalidate |
Invalidates space occupied by this element.
This causes repaint of any elements overlapped by elements region
(Inherited from Element.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | MouseTransparentChanged |
Override to take action after element's mouse transparency change
(Inherited from Element.) |
![]() | OnHyperlink | |
![]() | OnMouseClick | (Overrides Element OnMouseClick(MouseEventArgs).) |
![]() | OnMouseDoubleClick | (Inherited from Element.) |
![]() | OnMouseDown | (Inherited from Element.) |
![]() | OnMouseDrag | (Inherited from Element.) |
![]() | OnMouseDragCancel | (Inherited from Element.) |
![]() | OnMouseDragRelease | (Inherited from Element.) |
![]() | OnMouseDragStart | (Inherited from Element.) |
![]() | OnMouseEnter | (Overrides Element OnMouseEnter(EventArgs).) |
![]() | OnMouseLeave | (Overrides Element OnMouseLeave(EventArgs).) |
![]() | OnMouseMove | (Inherited from Element.) |
![]() | OnMouseUp | (Inherited from Element.) |
![]() | OnMouseWheel | (Inherited from Element.) |
![]() | OnTextChanged | (Inherited from TextElement.) |
![]() | Paint | (Overrides Element Paint(Graphics).) |
![]() | RegionChanged |
Override to take action after element's region changed
(Inherited from Element.) |
![]() | Repaint |
Repaints this particular element instance
(Inherited from Element.) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | UpdateLocation |
Updates element location by delta x/y without causing invalidate
(Inherited from Element.) |
![]() | VisibleChanged |
Override to take action after element's visibility change
(Inherited from Element.) |
![]() | ZOrderChanged |
Override to take action after element's Z-order changed
(Inherited from Element.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | Hyperlink | |
![]() | m_Host | (Inherited from Element.) |
Properties
Name | Description | |
---|---|---|
![]() | Alignment | |
![]() | DisplayRegion |
Provides graphical region- coordinates of the element in zoomed container. These coordinates are different from Region when Zoom!=1
because Region returns "normal"/non-zoomed coordinates. Mouse event handlers must use DisplayRegion because mouse is in screen coordinates
(Inherited from Element.) |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | Enabled |
Indicates whether an element can receive events
(Inherited from Element.) |
![]() | FieldControlContext |
References control context for which element painting is done, may be null.
Part renderers may need control context to paint additional features like changed borders (when mofified etc.).
(Inherited from Element.) |
![]() | Height |
Shortcut property to element's region
(Inherited from Element.) |
![]() | Host |
References host control
(Inherited from Element.) |
![]() | IsHyperlink |
Indicates whether this label element is a hyperlink and should raise OnHyperlink event
|
![]() | Left |
Shortcut property to element's region
(Inherited from Element.) |
![]() | MouseIsOver |
Returns true if mouse is currently over the element
(Inherited from Element.) |
![]() | MouseTransparent |
Indicates whether an element does not receive any mouse events
(Inherited from Element.) |
![]() | OwnedElements |
Returns a list of elements owned by this element. Owned elements are deleted when this element is deleted.
Element ownership does not affect element drawing
(Inherited from Element.) |
![]() | Region |
Provides graphical region- coordinates of the element without zoom. Even when host container is zoomed it has no effect on Region. Compare to DisplayRegion
(Inherited from Element.) |
![]() | Tags | (Inherited from Element.) |
![]() | Text | (Inherited from TextElement.) |
![]() | Top |
Shortcut property to element's region
(Inherited from Element.) |
![]() | Visible |
Indicates whether an element is displayed
(Inherited from Element.) |
![]() | Width |
Shortcut property to element's region
(Inherited from Element.) |
![]() | ZOrder |
Indicates whether an element is displayed
(Inherited from Element.) |
Events
Name | Description | |
---|---|---|
![]() | MouseClick | (Inherited from Element.) |
![]() | MouseDoubleClick | (Inherited from Element.) |
![]() | MouseDown | (Inherited from Element.) |
![]() | MouseDrag | (Inherited from Element.) |
![]() | MouseDragCancel | (Inherited from Element.) |
![]() | MouseDragRelease | (Inherited from Element.) |
![]() | MouseDragStart | (Inherited from Element.) |
![]() | MouseEnter | (Inherited from Element.) |
![]() | MouseLeave | (Inherited from Element.) |
![]() | MouseMove | (Inherited from Element.) |
![]() | MouseUp | (Inherited from Element.) |
![]() | MouseWheel | (Inherited from Element.) |
![]() | TextChanged | (Inherited from TextElement.) |
See Also