MindFusion.Wpf Pack Programmer's Guide
FindReplaceForm Class
Remarks See Also
 





Represents a form that can be used to find and/or replace texts matching a specified criteria.

Namespace: MindFusion.Spreadsheet.Wpf.StandardForms
Assembly: MindFusion.Spreadsheet.Wpf.StandardForms

 Syntax

C#  Copy Code

public class FindReplaceForm : Window, INotifyPropertyChanged, IComponentConnector

Visual Basic  Copy Code

Public Class FindReplaceForm
    Inherits Window
    Implements INotifyPropertyChanged, IComponentConnector

 Remarks

To use the form, create an instance of the FindReplaceForm class, providing the workbook to search and the cell to start the search from, and call the ShowDialog method. The various options can be get or set through the respective form properties - Find, Replace, FindWithin, SearchOrder, LookInMatchCase, WholeCells. When the user clicks the Find or Replace buttons, if there is a found cell, the form raises the CellFound event. When the user performs a multiple search and clicks on any of the entries in the result list, the form raises the CellActivated event. The following image shows the form:

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            System.Windows.Controls.ContentControl
                                System.Windows.Window
                                    MindFusion.Spreadsheet.Wpf.StandardForms.FindReplaceForm

 See Also

FindReplaceForm Members
MindFusion.Spreadsheet.Wpf.StandardForms Namespace