Back to Devexpress

PivotGridFieldOptions.ShowInFilter Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptions-22ba3191.md

latest2.8 KB
Original Source

PivotGridFieldOptions.ShowInFilter Property

Gets or sets whether the field is available for selection in the Filter Editor.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(true)]
public bool ShowInFilter { get; set; }
vb
<Browsable(False)>
<DefaultValue(True)>
Public Property ShowInFilter As Boolean

Property Value

TypeDefaultDescription
Booleantrue

True , if the field is available in the Filter Editor; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowInFilter
PivotGridFieldBase

.Options .ShowInFilter

|

Remarks

If the ShowInFilter property is set to false , the field is not displayed in the drop-down field list invoked in the Filter Editor, as the Category Name field in the picture below…

… and the Filter editor does not recognize the field’s name:

It may prevent end-users from using the current field when constructing filter criteria. However, if the Filter Editor edits the criteria already containing that field, the field is available despite the ShowInFilter property setting.

Tip

You can also prevent end-users from displaying the filter drop-down list by setting the PivotGridFieldOptions.AllowFilter field’s property to false.

See Also

AllowFilter

PivotGridFieldOptions Class

PivotGridFieldOptions Members

DevExpress.XtraPivotGrid Namespace