Represents the filtering popup view model.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class FilteringPopupViewModel : NotifyPropertyChangedBase
Inheritance: objectFilteringPopupViewModel
Constructors
Initializes a new instance of the FilteringPopupViewModel class.
public FilteringPopupViewModel(RadWorksheetEditor worksheetEditor, CellRange filterRange, int relativeColumnIndex)
The worksheet editor.
filterRangeCellRangeThe filter range.
relativeColumnIndexintIndex of the relative column.
Properties
Gets the apply dynamic filter command.
public ICommand ApplyDynamicFilter { get; }
The apply dynamic filter command.
Gets or sets the value indicating whether the date filters are visible.
public bool AreDateFiltersVisible { get; set; }
The value indicating whether the date filters are visible.
Gets or sets the value indicating whether the number filters are visible.
public bool AreNumberFiltersVisible { get; set; }
The value indicating whether the number filters are visible.
Gets or sets the value indicating whether the text filters are visible.
public bool AreTextFiltersVisible { get; set; }
The value indicating whether the text filters are visible.
Gets or sets the value indicating whether filter can be applied.
public bool CanFilter { get; set; }
The value indicating whether filter can be applied.
Gets the clear filter command.
public ICommand ClearFilter { get; }
The clear filter command.
Gets the close command.
public ICommand CloseCommand { get; }
The close command.
ColorScheme
ThemeColorScheme
Gets the color scheme.
public ThemeColorScheme ColorScheme { get; }
The color scheme.
Gets or sets the fill colors items source.
public IEnumerable<IFill> FillColorsItemsSource { get; set; }
The fill colors items source.
Filter
IFilter
Gets or sets the filter.
public IFilter Filter { get; set; }
The filter.
Gets the filtering menu tree view view model.
public FilteringPopupTreeViewViewModel FilteringPopupTreeViewViewModel { get; }
The filtering menu tree view view model.
Gets or sets the filter is applied.
public bool FilterIsApplied { get; set; }
The filter is applied.
Gets or sets the fore colors items source.
public IEnumerable<IFill> ForeColorsItemsSource { get; set; }
The fore colors items source.
Gets the initialize popup command.
public ICommand InitializePopupCommand { get; }
The initialize popup command.
Gets or sets the is ok enabled.
public bool IsOkEnabled { get; set; }
The is ok enabled.
Gets or sets the value indicating whether the popup is opened.
public bool IsPopupOpened { get; set; }
The value indicating whether the popup is opened.
Gets the ok command.
public ICommand OkCommand { get; }
The ok command.
Gets or sets the value indicating whether range contains colors.
public bool RangeContainsColors { get; set; }
The value indicating whether range contains colors.
Gets or sets the range contains fill colors.
public bool RangeContainsFillColors { get; set; }
The range contains fill colors.
Gets or sets the value indicating whether range contains font colors.
public bool RangeContainsFontColors { get; set; }
The value indicating whether range contains font colors.
Gets or sets the color of the selected filter fill.
public IFill SelectedFilterFillColor { get; set; }
The color of the selected filter fill.
Gets or sets the index of the selected filter fill color.
public int SelectedFilterFillColorIndex { get; set; }
The index of the selected filter fill color.
Gets or sets the color of the selected filter fore.
public Color SelectedFilterForeColor { get; set; }
The color of the selected filter fore.
Gets or sets the index of the selected filter fore color.
public int SelectedFilterForeColorIndex { get; set; }
The index of the selected filter fore color.
Gets or sets the index of the selected sort fill color.
public int SelectedSortFillColorIndex { get; set; }
The index of the selected sort fill color.
Gets or sets the index of the selected sort fore color.
public int SelectedSortForeColorIndex { get; set; }
The index of the selected sort fore color.
Gets the command that shows the custom filter dialog.
public ICommand ShowCustomFilterDialog { get; }
The the command that shows the custom filter dialog.
Gets the command that shows the top filter dialog.
public ICommand ShowTopFilterDialog { get; }
The command that shows the top filter dialog.
Gets the sort command.
public ICommand SortCommand { get; }
The sort command.