XY Chart NET 3 Control Reference
ZoomWindowColor Property

Use this property to return/set a value that determines the border color the zoom window will be displayed in.

Syntax
[Visual Basic]
Property ZoomWindowColor() As Color
[C#]
System.Drawing.Color XYChartNETCtl.ZoomWindowColor
[C++]
property System.Drawing.Color XYChartNETCtl.ZoomWindowColor
       
Default Value
Color.Gray
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.


Dim tmpColor As Color
tmpColor = XYChartNETCtl1.ZoomWindowColor      'Returns the zoom window's color

XYChartNETCtl1.ZoomWindowColor = Color.Red     'Sets the zoom window's color to red

XYChartNETCtl1.ZoomWindowColor = Color.Black   'Sets the zoom window's color to black

XYChartNETCtl1.Refresh                         'Refresh required to update chart with changes made
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.


XYChartNETCtl1.ZoomWindowColor = Color.Yellow;  //Sets the zoom window's color to yellow

XYChartNETCtl1.Refresh();                       //Refresh required to update chart with changes made
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.


XYChartNETCtl1->ZoomWindowColor = Color::Yellow;  //Sets the zoom window's color to yellow

XYChartNETCtl1->Refresh();                        //Refresh required to update chart with changes made
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.