C# Class Signum.Windows.SearchControl

Show file Open project: signumsoftware/framework

Public Properties

Property Type Description
AllowChangeColumnsProperty System.Windows.DependencyProperty
CollapseOnNoResultsProperty System.Windows.DependencyProperty
ColumnOptionsModeProperty System.Windows.DependencyProperty
ColumnsOptionsProperty System.Windows.DependencyProperty
CreateProperty System.Windows.DependencyProperty
FilterColumnProperty System.Windows.DependencyProperty
FilterOptionsProperty System.Windows.DependencyProperty
FilterRouteProperty System.Windows.DependencyProperty
IsSearchingProperty System.Windows.DependencyProperty
ItemsCountProperty System.Windows.DependencyProperty
MultiSelectionProperty System.Windows.DependencyProperty
NavigateOnCreateProperty DependencyProperty
NavigateProperty DependencyProperty
OrderOptionsProperty DependencyProperty
PaginationProperty DependencyProperty
QueryNameProperty DependencyProperty
RemoveProperty DependencyProperty
ResultChangedEvent RoutedEvent
SearchOnLoadProperty DependencyProperty
SelectedItemProperty DependencyProperty
SelectedItemsProperty DependencyProperty
ShowFilterButtonProperty DependencyProperty
ShowFiltersProperty DependencyProperty
ShowFindButtonProperty DependencyProperty
ShowFooterProperty DependencyProperty
ShowHeaderProperty DependencyProperty
SimpleFilterBuilderProperty DependencyProperty

Public Methods

Method Description
ClearResults ( ) : void
FocusSearch ( ) : void
GenerateListViewColumns ( ) : void
GetQueryRequest ( bool updateSimpleFilters ) : QueryRequest
OnLoaded ( ) : void
Reinitialize ( List filters, List columns, ColumnOptionsMode columnOptionsMode, List orders, Pagination pagination ) : void
Search ( bool resetPage = true ) : void
SearchControl ( ) : System
SelectType ( bool>.Func filterType ) : Type
SetDirtySelectedItem ( ) : void
SetDirtySelectedItems ( ) : void
UpdateMultiplyMessage ( bool updateSimpleFilters ) : QueryRequest

Protected Methods

Method Description
OnCreate ( ) : void
OnNavigating ( Entity entity ) : void

Private Methods

Method Description
AddColumn ( QueryToken token ) : void
AddListViewColumn ( Column col ) : void
AssetNotLoaded ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
CreateDataTemplate ( ResultColumn c ) : System.Windows.DataTemplate
FillContextMenuItems ( ) : void
FillMenuItems ( ) : void
FilterOptions_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
GetCellColumnHeader ( System.Windows.Controls.ContextMenu context ) : SortGridViewColumnHeader
GetHeaderColumnHeader ( object sender ) : SortGridViewColumnHeader
GridSearchControl_PreviewKeyDown ( object sender, KeyEventArgs e ) : void
GridViewColumnHeader_Click ( object sender, RoutedEventArgs e ) : void
OnNavigateClicked ( ) : void
OnQueryResultChanged ( bool cleaning ) : void
Pagination_Changed ( Pagination oldValue, Pagination newValue ) : void
QueryNameChanged ( DependencyPropertyChangedEventArgs s ) : void
RefreshSimpleFilters ( ) : void
SearchControl_IsVisibleChanged ( object sender, DependencyPropertyChangedEventArgs e ) : void
SearchControl_Loaded ( object sender, RoutedEventArgs e ) : void
SetResults ( ResultTable rt ) : void
ShowFiltersChanged ( DependencyPropertyChangedEventArgs e ) : void
SimpleFilterBuilderChanged ( DependencyPropertyChangedEventArgs e ) : void
UpdateViewSelection ( ) : void
UpdateVisibility ( ) : void
btCreateColumn_Click ( object sender, RoutedEventArgs e ) : void
btCreateFilter_Click ( object sender, RoutedEventArgs e ) : void
btCreate_Click ( object sender, RoutedEventArgs e ) : void
btFilters_Unchecked ( object sender, RoutedEventArgs e ) : void
btRemove_Click ( object sender, RoutedEventArgs e ) : void
btSearch_Click ( object sender, RoutedEventArgs e ) : void
btView_Click ( object sender, RoutedEventArgs e ) : void
contextMenu_Opened ( object sender, RoutedEventArgs e ) : void
filterCell_Click ( object sender, RoutedEventArgs e ) : void
filterHeader_Click ( object sender, RoutedEventArgs e ) : void
item_BindingValueChanged ( object sender, DependencyPropertyChangedEventArgs e ) : void
lvResult_MouseDoubleClick ( object sender, System e ) : void
lvResult_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
removeMenu_Click ( object sender, RoutedEventArgs e ) : void
renameMenu_Click ( object sender, RoutedEventArgs e ) : void
tokenBuilder_SubTokensEvent ( QueryToken arg ) : List

Method Details

ClearResults() public method

public ClearResults ( ) : void
return void

FocusSearch() public method

public FocusSearch ( ) : void
return void

GenerateListViewColumns() public method

public GenerateListViewColumns ( ) : void
return void

GetQueryRequest() public method

public GetQueryRequest ( bool updateSimpleFilters ) : QueryRequest
updateSimpleFilters bool
return Signum.Entities.DynamicQuery.QueryRequest

OnCreate() protected method

protected OnCreate ( ) : void
return void

OnLoaded() public method

public OnLoaded ( ) : void
return void

OnNavigating() protected method

protected OnNavigating ( Entity entity ) : void
entity Entity
return void

Reinitialize() public method

public Reinitialize ( List filters, List columns, ColumnOptionsMode columnOptionsMode, List orders, Pagination pagination ) : void
filters List
columns List
columnOptionsMode ColumnOptionsMode
orders List
pagination Pagination
return void

Search() public method

public Search ( bool resetPage = true ) : void
resetPage bool
return void

SearchControl() public method

public SearchControl ( ) : System
return System

SelectType() public method

public SelectType ( bool>.Func filterType ) : Type
filterType bool>.Func
return Type

SetDirtySelectedItem() public method

public SetDirtySelectedItem ( ) : void
return void

SetDirtySelectedItems() public method

public SetDirtySelectedItems ( ) : void
return void

UpdateMultiplyMessage() public method

public UpdateMultiplyMessage ( bool updateSimpleFilters ) : QueryRequest
updateSimpleFilters bool
return QueryRequest

Property Details

AllowChangeColumnsProperty public static property

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

CollapseOnNoResultsProperty public static property

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

ColumnOptionsModeProperty public static property

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

ColumnsOptionsProperty public static property

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

CreateProperty public static property

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

FilterColumnProperty public static property

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

FilterOptionsProperty public static property

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

FilterRouteProperty public static property

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

IsSearchingProperty public static property

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

ItemsCountProperty public static property

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

MultiSelectionProperty public static property

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

NavigateOnCreateProperty public static property

public static DependencyProperty NavigateOnCreateProperty
return DependencyProperty

NavigateProperty public static property

public static DependencyProperty NavigateProperty
return DependencyProperty

OrderOptionsProperty public static property

public static DependencyProperty OrderOptionsProperty
return DependencyProperty

PaginationProperty public static property

public static DependencyProperty PaginationProperty
return DependencyProperty

QueryNameProperty public static property

public static DependencyProperty QueryNameProperty
return DependencyProperty

RemoveProperty public static property

public static DependencyProperty RemoveProperty
return DependencyProperty

ResultChangedEvent public static property

public static RoutedEvent ResultChangedEvent
return RoutedEvent

SearchOnLoadProperty public static property

public static DependencyProperty SearchOnLoadProperty
return DependencyProperty

SelectedItemProperty public static property

public static DependencyProperty SelectedItemProperty
return DependencyProperty

SelectedItemsProperty public static property

public static DependencyProperty SelectedItemsProperty
return DependencyProperty

ShowFilterButtonProperty public static property

public static DependencyProperty ShowFilterButtonProperty
return DependencyProperty

ShowFiltersProperty public static property

public static DependencyProperty ShowFiltersProperty
return DependencyProperty

ShowFindButtonProperty public static property

public static DependencyProperty ShowFindButtonProperty
return DependencyProperty

ShowFooterProperty public static property

public static DependencyProperty ShowFooterProperty
return DependencyProperty

ShowHeaderProperty public static property

public static DependencyProperty ShowHeaderProperty
return DependencyProperty

SimpleFilterBuilderProperty public static property

public static DependencyProperty SimpleFilterBuilderProperty
return DependencyProperty