Back to Devexpress

ColumnBase.AllowSearchPanel Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-058a4263.md

latest3.5 KB
Original Source

ColumnBase.AllowSearchPanel Property

Gets or sets whether the column data is taken into account when searching via the Search Panel. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public DefaultBoolean AllowSearchPanel { get; set; }
vb
Public Property AllowSearchPanel As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

true , to use the column’s data when searching via the search panel; otherwise, false.

|

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

|

Remarks

If the AllowSearchPanel property is Default , the column data is taken into account if the column is visible.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowSearchPanel 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.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/MainWindow.xaml#L48

xml
<dxg:TreeListControl.Columns>
    <dxg:TreeListColumn Header="Examples" FieldName="RegionName" AllowEditing="False" AllowBestFit="True" AllowDrop="False" AllowSearchPanel="False" />
</dxg:TreeListControl.Columns>

wpf-spreadsheet-pivot-table-api-examples/CS/SpreadsheetWPFPivotTableExamples/MainWindow.xaml#L48

xml
<dxg:TreeListControl.Columns>
    <dxg:TreeListColumn Header="Examples" FieldName="RegionName" AllowEditing="False" AllowBestFit="True" AllowDrop="False" AllowSearchPanel="False" />
</dxg:TreeListControl.Columns>

wpf-richedit-document-api/CS/DXRichEditControlAPISample/MainWindow.xaml#L53

xml
<dxg:TreeListControl.Columns>
    <dxg:TreeListColumn Header="Examples" FieldName="RegionName" AllowEditing="False" AllowBestFit="True" AllowDrop="False" AllowSearchPanel="False" />
</dxg:TreeListControl.Columns>

See Also

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace