WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FindDialog - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FindDialog

    FindDialog form is used for text searching in the HTMLUIControl.

    Inheritance
    System.Object
    FindDialog
    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    public class FindDialog : Form

    Constructors

    FindDialog()

    Initializes a new instance of the FindDialog class

    Declaration
    public FindDialog()

    Properties

    ErrorMessage

    Gets or sets the message when text is not found.

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type Description
    System.String

    IsForward

    Gets a value indicating whether forward search is used.

    Declaration
    public bool IsForward { get; }
    Property Value
    Type Description
    System.Boolean

    LastFoundIndex

    Gets the index of the last found text in the control.

    Declaration
    public int LastFoundIndex { get; }
    Property Value
    Type Description
    System.Int32

    LastSearchedText

    Gets the last searched text in the control.

    Declaration
    public string LastSearchedText { get; }
    Property Value
    Type Description
    System.String

    MatchCase

    Gets a value indicating whether the case of symbol is significant.

    Declaration
    public bool MatchCase { get; }
    Property Value
    Type Description
    System.Boolean

    ShowErrorMessage

    Gets or sets a value indicating whether error message must be shown.

    Declaration
    public bool ShowErrorMessage { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Dispose(Boolean)

    Cleans up any resources being used.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    A bool value indicates whether to dispose or not

    OnFindText(FindTextEventArgs)

    Raises the Find event.

    Declaration
    protected virtual void OnFindText(FindTextEventArgs args)
    Parameters
    Type Name Description
    FindTextEventArgs args

    Event data.

    OnVisibleChanged(EventArgs)

    Overloaded. Raised when visibility is changed.

    Declaration
    protected override void OnVisibleChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    Event data.

    OpenDialog(Control)

    Opens the dialog for text searching.

    Declaration
    public void OpenDialog(Control control)
    Parameters
    Type Name Description
    System.Windows.Forms.Control control

    A Control instance

    Events

    FindText

    Raised when 'Find' button is clicked.

    Declaration
    public event FindTextEventHandler FindText
    Event Type
    Type Description
    FindTextEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved