Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.PivotGrid

#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