Click or drag to resize

DraggableObject Class

LightningChart .NET Help
Draggable handler, handles dragging maneuvers of chart object.
Inheritance Hierarchy

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

The DraggableObject type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowDragging
Gets or sets whether dragging by user is allowed.
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
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
Defines if position is over an item.
(Inherited from UserInteractiveObject.)
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodResetLocation
Reset location, if moved by mouse.
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.
(Overrides UserInteractiveObjectSetProperCursor.)
Public methodToString
Item to string.
(Inherited from HighlightingItemBase.)
Top
Events
  NameDescription
Public eventDraggedByUser
Dragged by user.
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
Inheritance Hierarchy
SystemObject
  Arction.WinForms.ChartingChartNode
    Arction.WinForms.ChartingUserInteractiveObjectInt
      Arction.WinForms.ChartingUserInteractiveObject
        Arction.WinForms.ChartingHighlightingItemBase
          Arction.WinForms.ChartingDraggableObject
            Arction.WinForms.Charting.AnnotationsAnnotationBase
            Arction.WinForms.Charting.EventMarkersEventMarkerCommonBaseSYMBOL
            Arction.WinForms.ChartingScrollBarBase
            Arction.WinForms.Charting.SeriesPolarSector
            Arction.WinForms.Charting.SeriesRoundSeriesBaseRound
            Arction.WinForms.Charting.TitlesTitleBase
            Arction.WinForms.Charting.ViewsLegendBoxBase
            Arction.WinForms.Charting.Views.ViewXYLineSeriesCursor