ShowExportCSV property
Returns or sets whether the
Export
command is shown on the context menu or toolbar at runtime. Read/write. Boolean.Syntax
DataGrid1
.ShowExportCSV
[= state
]where
DataGrid1
- is the name of a data grid object or an expression that evaluates to a data grid object.state
- is a parameter of the type Boolean that can be set to one of the following:- True: Shows theExportcommand on the context menu or toolbar.
- False: Does not show theExportcommand on the context menu or toolbar.
Example
Private Sub ShowDataGridExportCSV() DataGrid1.ShowExportCSV = False End Sub
Provide Feedback