FilterPopupExcelEventArgs.IsRadioMode Property
Gets or sets whether single (the radio mode) or multiple filter values can be selected simultaneously.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to enable the radio mode; otherwise, false. Default is false. |
Remarks
By default, filter values are selected using check boxes, allowing an end-user to select multiple filter values simultaneously. Set the IsRadioMode property to true, to enable the radio mode where only one value can be selected at a time.
Example
The code snippet below shows how to enable the radio mode in the Excel-style filter popup by handling the PivotGridControl.ShowFilterPopupExcel event. In this example, FilterPopupExcelEventArgs.IsRadioMode
event parameter is set to true to disable multiselection for the ‘fieldTrademark’ field .
IsRadioMode = false | IsRadioMode = true |
---|---|
private void PivotGridControl_ShowFilterPopupExcel(object sender, FilterPopupExcelEventArgs e) {
if (e.Field == fieldTrademark) {
e.IsRadioMode = true;
}
}