ZoomWindowColor Property

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

[Visual Basic]
Property ZoomWindowColor() As Color
[C#]
System.Drawing.Color XYChartNETCtl.ZoomWindowColor
[C++]
__property System::Drawing::Color XYChartNet::XYChartNETCtl::ZoomWindowColor

Default Value

Color.Gray

Example

XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

[Visual Basic]
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

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

XYChartNETCtl1.Refresh();                       //Refresh required to update chart with changes made

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

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

See Also

Properties