menu

Document Processing

FindAndReplaceWindow Class - FileFormats API Reference | Syncfusion

    Show / Hide Table of Contents

    FindAndReplaceWindow Class

    Window that provides user interaction support to perform find and replace operations.

    Inheritance
    System.Object
    CommandBaseWindow
    FindAndReplaceWindow
    Implements
    System.Windows.Markup.IComponentConnector
    Inherited Members
    CommandBaseWindow.CancelAction()
    CommandBaseWindow.OnClosed(EventArgs)
    CommandBaseWindow.SfSpreadsheet
    CommandBaseWindow.WorkSheet
    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
    CommandBaseWindow.OnApplySettings()

    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
    CommandBaseWindow.OnClosing(CancelEventArgs)

    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
    CommandBaseWindow.OnInitialized(EventArgs)

    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
    CommandBaseWindow.OnKeyDown(KeyEventArgs)

    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
    CommandBaseWindow.OnLoaded()

    UnWireEvents()

    Unwired all the events.

    Declaration
    protected override void UnWireEvents()
    Overrides
    CommandBaseWindow.UnWireEvents()

    WireEvents()

    Invoke all the events.

    Declaration
    protected override void WireEvents()
    Overrides
    CommandBaseWindow.WireEvents()

    Implements

    System.Windows.Markup.IComponentConnector
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved