New to Telerik ReportingStart a free 30-day trial

Interaction logic for SearchDialog.xaml

Definition

Namespace:Telerik.ReportViewer.Wpf

Assembly:Telerik.ReportViewer.Wpf.dll

Syntax:

C#
public class SearchDialog : RadWindow

Inheritance: objectSearchDialog

Constructors

Initializes the Search dialog with an empty resource dictionary

C#
public SearchDialog()

Initializes the Search dialog with resource dictionary instance

C#
public SearchDialog(IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters:mergedDictionariesIEnumerable<ResourceDictionary>

Initializes the Search dialog with localization resources and resource dictionary instance;

C#
public SearchDialog(ITextResources resources, IEnumerable<ResourceDictionary> mergedDictionaries)
Parameters:resourcesITextResourcesmergedDictionariesIEnumerable<ResourceDictionary>

Properties

MruSearches

IEnumerable<string>

Retrieves the most recently used searches

C#
public IEnumerable<string> MruSearches { get; }

Methods

InitializeComponent

C#
public void InitializeComponent()

Triggered when the template is applied and all the elements are already accessible

C#
public override void OnApplyTemplate()

Unregisters the dialog placement when the dialog is closed.

C#
protected override void OnClosed()

Registers the dialog placement when the dialog is opened or moved.

C#
protected override void OnLocationChanged(EventArgs args)
Parameters:argsEventArgs

Handles the key down event for the dialog and allows navigation through the search results using the keyboard.

C#
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs