Dundas Chart for Windows Forms
ScrollBarEventArgs Class
Members  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : ScrollBarEventArgs Class


This class is used as a parameter object in the AxisScrollBarClicked event of the root Chart object.
Axis data scroll bar event arguments.

Object Model



Syntax

Visual Basic (Declaration)  
Public Class ScrollBarEventArgs 
   Inherits EventArgs
Visual Basic (Usage) Copy Code
Dim instance As ScrollBarEventArgs
C#  
public class ScrollBarEventArgs : EventArgs 

Remarks

This class is exposed as the e parameter in the AxisScrollBarClicked event.

The properties of ScrollBarEventArgs are:

  • the ChartArea property, used to get the ChartArea object the event was raised for.  The ChartArea.Name property gets the name of the chart area, and other chart area properties can also be set.
  • the Axis property, used to determine the Axis object the scrollbar belongs to via the Axis.Type property. Other Axis properties can also be set.
  • the ButtonType property, used to get the scrollbar element the end-user clicked on.
  • the Handled property, which determines if the Chart control implements default handling of the scrollbar button click after the code in the AxisScrollBarClicked event finishes execution.
  • the MousePositionX property, which is the X position of the mouse cursor at the time the end-user clicked on the scrollbar element.
  • the MousePositionY property, which is the Y position of the mouse cursor at the time the end-user clicked on the scrollbar element.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Dundas.Charting.WinControl.ScrollBarEventArgs

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.