Gets or sets a value that determines if major or minor grid lines are enabled.
Grid or mark enabled flag
Visual Basic (Declaration) | |
---|---|
Public Property Enabled As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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.
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