Skip to main content
A newer version of this page is available. .

XlExportOptionsBase.ShowGridLines Property

Gets or sets a value indicating whether the grid lines should be visible in the resulting XLS file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(false)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool ShowGridLines { get; set; }

Property Value

Type Default Description
Boolean **false**

true to show the grid lines in the resulting XLS file; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowGridLines
Cross-Platform Class Library ExportOptions
.Xlsx.ShowGridLines
WPF Controls ExportOptionsContainer
.Xlsx.ShowGridLines

Remarks

By default the grid lines are invisible, and if it’s necessary to make them visible, set the ShowGridLines property to true.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowGridLines property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also