menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewAdvFindReplaceDialog - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeViewAdvFindReplaceDialog

    Represents the search functionality of TreeViewAdvFindReplaceDialog class.

    Inheritance
    System.Object
    TreeViewAdvFindReplaceDialog
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TreeViewAdvFindReplaceDialog

    Constructors

    TreeViewAdvFindReplaceDialog(TreeViewAdv)

    Initializes new instances of TreeViewAdvFindReplaceDialog class.

    Declaration
    public TreeViewAdvFindReplaceDialog(TreeViewAdv tree)
    Parameters
    Type Name Description
    TreeViewAdv tree

    TreeViewAdv instance.

    Properties

    TreeViewSearchNavigation

    Gets or sets the value of TreeNodeAdv search navigation type.

    Declaration
    public TreeViewSearchNavigation TreeViewSearchNavigation { get; set; }
    Property Value
    Type
    TreeViewSearchNavigation

    TreeViewSearchOption

    Gets or sets the value of TreeViewAdv search Option.

    Declaration
    public TreeViewSearchOption TreeViewSearchOption { get; set; }
    Property Value
    Type
    TreeViewSearchOption

    TreeViewSearchRange

    Gets or sets the value of TreeViewAdv search range.

    Declaration
    public TreeViewSearchRange TreeViewSearchRange { get; set; }
    Property Value
    Type
    TreeViewSearchRange

    Methods

    Find(String)

    Highlights the matched TreeNodeAdv based on the search string.

    Declaration
    public bool Find(string nodeText)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    Returns
    Type Description
    System.Boolean

    true if match found

    Find(String, TreeViewSearchOption, TreeViewSearchRange)

    Highlights the matched TreeNodeAdv based on the search string.

    Declaration
    public bool Find(string nodeText, TreeViewSearchOption searchOption, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    The Search Text.

    TreeViewSearchOption searchOption

    The search option for TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    true if match found

    FindAll(String)

    Highlights all matched TreeNodeAdv based on the search string.

    Declaration
    public bool FindAll(string nodeText)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    Returns
    Type Description
    System.Boolean

    returns true if match found.

    FindAll(String, TreeViewSearchOption, TreeViewSearchRange)

    Highlights all matched TreeNodeAdv based on the search string.

    Declaration
    public bool FindAll(string nodeText, TreeViewSearchOption searchOption, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    TreeViewSearchOption searchOption

    The search option for TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    returns true if match found.

    Replace(String)

    Replace the matched TreeNodeAdv text.

    Declaration
    public bool Replace(string nodeReplaceText)
    Parameters
    Type Name Description
    System.String nodeReplaceText
    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    Replace(String, String)

    Replace the search text with replace text.

    Declaration
    public bool Replace(string nodeText, string replaceText)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    Replace(String, String, TreeViewSearchOption)

    Replace the search text with replace text by specified the TreeViewSearchOption.

    Declaration
    public bool Replace(string nodeText, string replaceText, TreeViewSearchOption searchOption)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchOption searchOption

    The search option for TreeViewSearchOption.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    Replace(String, String, TreeViewSearchOption, TreeViewSearchRange)

    Replace the search text with replace text by specified the TreeViewSearchOption and TreeViewSearchRange.

    Declaration
    public bool Replace(string nodeText, string replaceText, TreeViewSearchOption searchOption, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchOption searchOption

    The search option for TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    Replace(String, String, TreeViewSearchRange)

    Replace the search text with replace text by specified the TreeViewSearchRange.

    Declaration
    public bool Replace(string nodeText, string replaceText, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    ReplaceAll(String)

    Replace all matched TreeNodeAdv text.

    Declaration
    public bool ReplaceAll(string nodeReplaceText)
    Parameters
    Type Name Description
    System.String nodeReplaceText
    Returns
    Type Description
    System.Boolean

    returns true if all matched TreeNodeAdv text replaced.

    ReplaceAll(String, String)

    Replace the all the TreeNodeAdv search text with replace text.

    Declaration
    public bool ReplaceAll(string nodeText, string replaceText)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    Returns
    Type Description
    System.Boolean

    returns true if all matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchOption)

    Replace all the TreeNodeAdv search text with replace text by using specified the TreeViewSearchOption.

    Declaration
    public bool ReplaceAll(string nodeText, string replaceText, TreeViewSearchOption searchoption)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchOption searchoption

    The search option for TreeViewSearchOption.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchOption, TreeViewSearchRange)

    Replace all the TreeNodeAdv search text with replace text by using specified the TreeViewSearchOption and TreeViewSearchRange.

    Declaration
    public bool ReplaceAll(string nodeText, string replaceText, TreeViewSearchOption searchOption, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchOption searchOption

    The search option for TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchRange)

    Replace all the TreeNodeAdv search text with replace text by using specified the TreeViewSearchRange.

    Declaration
    public bool ReplaceAll(string nodeText, string replaceText, TreeViewSearchRange searchRange)
    Parameters
    Type Name Description
    System.String nodeText

    Search Text.

    System.String replaceText

    Text to be replaced.

    TreeViewSearchRange searchRange

    The search range for TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    returns true if matched TreeNodeAdv text replaced.

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