Class
SearchDialog

Interaction logic for SearchDialog.xaml

Definition

Namespace:Telerik.ReportViewer.Wpf

Assembly:Telerik.ReportViewer.Wpf.dll

Syntax:

cs-api-definition
public class SearchDialog : RadWindow

Inheritance: objectSearchDialog

Constructors

SearchDialog()

Initializes the Search dialog with an empty resource dictionary

Declaration

cs-api-definition
public SearchDialog()

SearchDialog(IEnumerable<ResourceDictionary>)

Initializes the Search dialog with resource dictionary instance

Declaration

cs-api-definition
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

cs-api-definition
public SearchDialog(ITextResources resources, IEnumerable<ResourceDictionary> mergedDictionaries)

Parameters

resources

ITextResources

mergedDictionaries

IEnumerable<ResourceDictionary>

Properties

MruSearches

Retrieves the most recently used searches

Declaration

cs-api-definition
public IEnumerable<string> MruSearches { get; }

Property Value

IEnumerable<string>

Methods

InitializeComponent()

InitializeComponent

Declaration

cs-api-definition
public void InitializeComponent()

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnClosed()

Unregisters the dialog placement when the dialog is closed.

Declaration

cs-api-definition
protected override void OnClosed()

OnLocationChanged(EventArgs)

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

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnPreviewKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs