Skip to main content

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

public bool IsRadioMode { get; set; }

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
WinPivot_Filtering_Excel WinPivot_Filtering_Excel_RadioMode
private void PivotGridControl_ShowFilterPopupExcel(object sender, FilterPopupExcelEventArgs e) {
    if (e.Field == fieldTrademark) {
        e.IsRadioMode = true;
    }
}
See Also