ClassSearchDialog
Interaction logic for SearchDialog.xaml
Definition
Namespace:Telerik.ReportViewer.Wpf
Assembly:Telerik.ReportViewer.Wpf.dll
Syntax:
public class SearchDialog : RadWindow
Inheritance: objectSearchDialog
Constructors
SearchDialog()
Initializes the Search dialog with an empty resource dictionary
Declaration
public SearchDialog()
SearchDialog(IEnumerable<ResourceDictionary>)
Initializes the Search dialog with resource dictionary instance
Declaration
public SearchDialog(IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters
mergedDictionaries
IEnumerable<ResourceDictionary>
SearchDialog(ITextResources, IEnumerable<ResourceDictionary>)
Initializes the Search dialog with localization resources and resource dictionary instance;
Declaration
public SearchDialog(ITextResources resources, IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters
resources
mergedDictionaries
IEnumerable<ResourceDictionary>
Properties
MruSearches
Retrieves the most recently used searches
Declaration
public IEnumerable<string> MruSearches { get; }
Property Value
IEnumerable<string>
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnApplyTemplate()
Triggered when the template is applied and all the elements are already accessible
Declaration
public override void OnApplyTemplate()
OnClosed()
Unregisters the dialog placement when the dialog is closed.
Declaration
protected override void OnClosed()
OnLocationChanged(EventArgs)
Registers the dialog placement when the dialog is opened or moved.
Declaration
protected override void OnLocationChanged(EventArgs args)
Parameters
args
EventArgs
OnPreviewKeyDown(KeyEventArgs)
Handles the key down event for the dialog and allows navigation through the search results using the keyboard.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgs