Class FilterSortDialog
Interaction logic for FilterSortDialog.xaml
Implements
Inherited Members
Namespace: Syncfusion.Windows.Shared.Olap
Assembly: Syncfusion.OlapShared.WPF.dll
Syntax
public class FilterSortDialog : ChromelessWindow, IComponentConnectorConstructors
FilterSortDialog(IOlapDataManager, AxisPosition, Boolean)
Initializes a new instance of the FilterSortDialog class.
Declaration
public FilterSortDialog(IOlapDataManager cubeModel, AxisPosition axis, bool isFilter)Parameters
| Type | Name | Description | 
|---|---|---|
| IOlapDataManager | cubeModel | The cube model which is used to default combos | 
| AxisPosition | axis | The Axis position of the filter elements | 
| System.Boolean | isFilter | bool value which is used to set the categorial or series element property | 
FilterSortDialog(IOlapDataManager, AxisPosition, Boolean, Boolean, String)
Initializes a new instance of the FilterSortDialog class.
Declaration
public FilterSortDialog(IOlapDataManager cubeModel, AxisPosition axis, bool isFilter, bool showAllMeasures, string visualStyle)Parameters
| Type | Name | Description | 
|---|---|---|
| IOlapDataManager | cubeModel | The cube model which is used to default combos | 
| AxisPosition | axis | The Axis position of the filter elements | 
| System.Boolean | isFilter | The boolean value which is used to set the categorical or series element property | 
| System.Boolean | showAllMeasures | The boolean value which is used to set whether show all measures or current report measures property | 
| System.String | visualStyle | The VisualStyle name of the filter sort dialog. | 
Fields
MetaTreeNodesProperty
Gets the Metatreenodes property from the parent Window
Declaration
public static readonly DependencyProperty MetaTreeNodesPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Properties
Axis
Gets or sets the axis.
Declaration
public AxisPosition Axis { get; set; }Property Value
| Type | Description | 
|---|---|
| AxisPosition | Holds the axis position of the Filter Elements | 
IsAutoExecuteEnabled
Gets or sets whether AutoExecute option is enabled or not in OlapClient.
Declaration
public bool IsAutoExecuteEnabled { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | Returns  | 
IsFilter
Gets or sets a value indicating whether this instance is filter.
Declaration
public bool IsFilter { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | This property is used to set the cubemodel items property | 
MetaTreeNodes
Gets or sets the meta tree nodes.
Declaration
public MetaTreeNodeCollection MetaTreeNodes { get; set; }Property Value
| Type | Description | 
|---|---|
| MetaTreeNodeCollection | Holds the metatreenodes value of type Measures | 
OlapDataManager
Gets or sets the cube model.
Declaration
public OlapDataManager OlapDataManager { get; set; }Property Value
| Type | Description | 
|---|---|
| OlapDataManager | Holds the OlapDataManager | 
ShowAllMeasuresInFilterSortDlg
Gets or sets whether to show all the measures or only show the current report measures.
Declaration
public bool ShowAllMeasuresInFilterSortDlg { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
VisualStyle
Gets or sets the Height of the Textbox for Metro theme to display the value properly
Declaration
public string VisualStyle { get; set; }Property Value
| Type | 
|---|
| System.String | 
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()IsDouble(String)
Determines whether the specified string is double.
Declaration
public static bool IsDouble(string s)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | string to be parsed | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
LoadFilterCaseEnum(ComboBox)
Loads the filter case enum.
Declaration
public static void LoadFilterCaseEnum(ComboBox comboBox)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Controls.ComboBox | comboBox | The combo box. | 
LoadValuesFromOlapDataManager()
Loads the values from cube model.
Declaration
public void LoadValuesFromOlapDataManager()OnMetaTreeNodesChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [meta tree node value is changed].
Declaration
public static void OnMetaTreeNodesChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | dependencyObject | The dependency object. | 
| System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. | 
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Invoked whenever the effective value of any dependency property on this object has been updated.
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e | The event data that contains the dependency property identifier of interest, the property meta data for the type, and old and new values. | 
Overrides
updateOlapDataManager(FilterElement)
Updates the cube model.
Declaration
public void updateOlapDataManager(FilterElement filterElements)Parameters
| Type | Name | Description | 
|---|---|---|
| FilterElement | filterElements | The filter elements. | 
validFilter(ComboBox, ComboBox, TextBox)
Checks for Valid the filter.
Declaration
public static bool validFilter(ComboBox measuresBoxOne, ComboBox conditionBoxOne, TextBox valueTextBoxOne)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Controls.ComboBox | measuresBoxOne | The measures box one. | 
| System.Windows.Controls.ComboBox | conditionBoxOne | The condition box one. | 
| System.Windows.Controls.TextBox | valueTextBoxOne | The value text box one. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | returns true if all the values are specified to filter condition |