Click or drag to resize

TitleBase Class

LightningChart .NET Help
Base class for titles.
Inheritance Hierarchy

Namespace: LightningChartLib.UWP.ChartingMVVM.Titles
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public abstract class TitleBase : DraggableObject

The TitleBase type exposes the following members.

Constructors
 NameDescription
Public methodTitleBase Constructor, for serialization purposes.
Public methodTitleBase(IChartNode) Constructor.
Top
Properties
 NameDescription
Public propertyAllowDragging Gets or sets if allow dragging by user. This is a dependency property.
(Inherited from DraggableObject)
Public propertyAllowUserInteraction Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from UserInteractiveObject)
Public propertyAngle Gets or sets text rotation angle, in degrees. The rotation is applied around text center point. This is a dependency property.
Public propertyColor Gets or sets color. This is a dependency property.
Public propertyDrawRectangle Gets title draw rectangle. Note, accurate only for Angle=0. Otherwise, reliable only Width, Height and central point.
Public propertyFont Gets or sets title font. This is a dependency property.
Public propertyHighlight Gets or sets highlight style. Item can be highlighted by user interactive device or by code. This is a dependency property.
(Inherited from HighlightingItemBase)
Public propertyShadow Gets or sets shadow below the text. This is a dependency property.
Public propertyText Gets or sets title text. This is a dependency property.
Public propertyVisible Gets or sets if title is visible or not. This is a dependency property.
Top
Methods
 NameDescription
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
Public methodIsHighlighted returns true if the object is highlighted.
(Inherited from HighlightingItemBase)
Public methodIsPositionOver Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean))
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 eventDoubleTapped Item has been doubletapped.
(Inherited from UserInteractiveObject)
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 eventPointerEntered Pointer has been moved over object.
(Inherited from UserInteractiveObject)
Public eventPointerExited Pointer has been moved outside of object.
(Inherited from UserInteractiveObject)
Public eventPointerPressed Pointer has been pressed down.
(Inherited from UserInteractiveObject)
Public eventPointerReleased Pointer has been released.
(Inherited from UserInteractiveObject)
Public eventTapped Item has been tapped.
(Inherited from UserInteractiveObject)
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberAngleProperty Identifies the Angle dependency property.
Public fieldStatic memberColorProperty Identifies the Color dependency property.
Public fieldStatic memberDrawRectangleProperty Identifies the DrawRectangle dependency property.
Public fieldStatic memberFontProperty Identifies the Font dependency property.
Public fieldStatic memberShadowProperty Identifies the Shadow dependency property.
Public fieldTag Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt)
Public fieldStatic memberTextProperty Identifies the Text dependency property.
Public fieldStatic memberVisibleProperty Identifies the Visibility dependency property.
Top
See Also