Back to Devexpress

GridOptionsView.ShowErrorPanel Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-51b082ac.md

latest2.7 KB
Original Source

GridOptionsView.ShowErrorPanel Property

Gets or sets whether exceptions raised by a data source in instant feedback server mode are shown in a flyout panel (contains the “Copy Text” button).

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean ShowErrorPanel { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowErrorPanel As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

DefaultBoolean.Default or DefaultBoolean.True , if exceptions are shown in the flyout error panel; DefaultBoolean.False if exceptions are shown in a tooltip.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowErrorPanel
GridView

.OptionsView .ShowErrorPanel

|

Remarks

If the ShowErrorPanel property is set to DefaultBoolean.Default or DefaultBoolean.True , exceptions are shown in a flyout error panel, which contains a button to copy the exception text.

Set the ShowErrorPanel property to False to show exceptions in a simple tooltip. This tooltip does not allow you to copy its text.

See Also

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace