Class FindAndReplaceWindow
Window that provides user interaction support to perform find and replace operations.
Implements
System.Windows.Markup.IComponentConnector
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.Commands
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class FindAndReplaceWindow : CommandBaseWindow, IComponentConnector
Constructors
FindAndReplaceWindow()
Initializes a new instance of the FindAndReplaceWindow class.
Declaration
public FindAndReplaceWindow()
Methods
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnApplySettings()
Instead of close the Find and Replace window, focus is set to FindNext button when press the Enter key.
Declaration
protected override void OnApplySettings()
Overrides
OnClosing(CancelEventArgs)
Invoke when Find and Replace window is going to close.
Declaration
protected override void OnClosing(CancelEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.CancelEventArgs | e |
Overrides
OnInitialized(EventArgs)
Set the Find and Replace window is resizable when window is initialized.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnKeyDown(KeyEventArgs)
Prevent the window close when press escape button.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e |
Overrides
OnLoaded()
Set the focus to find Search comboBox or replace search comboBox based on selected items in ribbon menu.
Declaration
protected override void OnLoaded()
Overrides
UnWireEvents()
Unwired all the events.
Declaration
protected override void UnWireEvents()
Overrides
WireEvents()
Invoke all the events.
Declaration
protected override void WireEvents()
Overrides
Implements
System.Windows.Markup.IComponentConnector