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