Click or drag to resize

OverlayElementTextStyle Class

LightningChart .NET Help
Overlay elements title style
Inheritance Hierarchy

Namespace:  Arction.WinForms.Charting.Titles
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class OverlayElementTextStyle : TitleBase

The OverlayElementTextStyle type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowDragging
Gets or sets whether dragging by user is allowed.
(Inherited from DraggableObject.)
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyAngle
Text rotation angle, in degrees. The rotation is applied around text center point.
(Inherited from TitleBase.)
Public propertyColor
Color
(Inherited from TitleBase.)
Public propertyCutOnEdges
Is the text clipped on element edges
Public propertyDistance
Text distance from element edge, if aligned to edge
Public propertyDrawRectangle
Title draw rectangle (read only). Note, accurate only for Angle=0. Otherwise, reliable only Width, Height and central point.
(Inherited from TitleBase.)
Public propertyFont
Title font
(Inherited from TitleBase.)
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyHorizAlign
Horizontal alignment
Public propertyOffset
Text shift from it's align origin
Public propertyShadow
Shadow below the text
(Inherited from TitleBase.)
Public propertyText
Title text.
(Inherited from TitleBase.)
Public propertyVerticalAlign
Vertical alignment
Public propertyVisible
Is title visible or not
(Inherited from TitleBase.)
Top
Methods
  NameDescription
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Is position over item.
(Inherited from TitleBase.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodResetLocation
Reset location, if moved by mouse.
(Inherited from DraggableObject.)
Public methodSetHighlight
Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper cursor. Default for dragging is hand and for resize SizeAll.
(Inherited from DraggableObject.)
Public methodToString
Item to string.
(Inherited from HighlightingItemBase.)
Top
Events
  NameDescription
Public eventDraggedByUser
Dragged by user.
(Inherited from DraggableObject.)
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also