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


Gets or sets a value that determines if major or minor grid lines are enabled.


Grid or mark enabled flag

Syntax

Visual Basic (Declaration)  
Public Property Enabled As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Grid
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
C#  
public bool Enabled {get; set;}

Return Value

True if enabled, false if disabled. Defaults to true for major grid objects and false for minor grid objects.

Remarks

Major and minor grids are visible when enabled, and not visible when disabled.

Tick marks will not be displayed if disabled.

You can disable tick marks by setting the Style property to TickMarkStyle.None.

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.