C# Class a7DocumentDbStudio.Controls.FilterEditor.FilterEditor

Interaction logic for a7FilterEditor.xaml
Inheritance: System.Windows.Controls.UserControl, INotifyPropertyChanged
Show file Open project: alekkowalczyk/a7DocumentDbStudio Class Usage Examples

Public Properties

Property Type Description
BackgroundIndexStep int
FilterExprProperty System.Windows.DependencyProperty
IsPopupModeProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
UpdateFilterFunctionProperty System.Windows.DependencyProperty

Public Methods

Method Description
FilterEditor ( ) : System
Reset ( bool withRefresh = false ) : void
SetCollection ( CollectionVM collection ) : void
SetFilter ( CollectionVM collection, FilterExpressionData filter ) : void
SetRootGroup ( FilterGroupEditor fge ) : void

Protected Methods

Method Description
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method Description
OnPropertyChanged ( string prop ) : void
bOk_Click ( object sender, RoutedEventArgs e ) : void
fgeOnAddedFirstElement ( object sender, EventArgs eventArgs ) : void
propertySelector_SelectClicked ( object sender, EventArgs e ) : void
setProperty ( PropertyDefinitionModel selectedProperty ) : void

Method Details

FilterEditor() public method

public FilterEditor ( ) : System
return System

OnPropertyChanged() protected method

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

Reset() public method

public Reset ( bool withRefresh = false ) : void
withRefresh bool
return void

SetCollection() public method

public SetCollection ( CollectionVM collection ) : void
collection a7DocumentDbStudio.ViewModel.CollectionVM
return void

SetFilter() public method

public SetFilter ( CollectionVM collection, FilterExpressionData filter ) : void
collection a7DocumentDbStudio.ViewModel.CollectionVM
filter a7DocumentDbStudio.Filter.FilterExpressionData
return void

SetRootGroup() public method

public SetRootGroup ( FilterGroupEditor fge ) : void
fge FilterGroupEditor
return void

Property Details

BackgroundIndexStep public static property

public static int BackgroundIndexStep
return int

FilterExprProperty public static property

public static DependencyProperty,System.Windows FilterExprProperty
return System.Windows.DependencyProperty

IsPopupModeProperty public static property

public static DependencyProperty,System.Windows IsPopupModeProperty
return System.Windows.DependencyProperty

IsReadOnlyProperty public static property

public static DependencyProperty,System.Windows IsReadOnlyProperty
return System.Windows.DependencyProperty

UpdateFilterFunctionProperty public static property

public static DependencyProperty,System.Windows UpdateFilterFunctionProperty
return System.Windows.DependencyProperty