menu

WinForms

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

    Show / Hide Table of Contents

    Class TreeViewFindReplaceDialog

    Represents a data is to be find out the replacing dialog of TreeView.

    Inheritance
    System.Object
    TreeViewFindReplaceDialog
    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.MultiColumnTreeView
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TreeViewFindReplaceDialog

    Constructors

    TreeViewFindReplaceDialog(MultiColumnTreeView)

    Initialize a new instances of the TreeViewAdvFindReplaceDialog class.

    Declaration
    public TreeViewFindReplaceDialog(MultiColumnTreeView tree)
    Parameters
    Type Name Description
    MultiColumnTreeView tree

    TreeViewAdv instance

    Properties

    TreeViewSearchNavigation

    Gets or sets value of TreeNodeAdv search navigation type.

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

    TreeViewSearchOption

    Gets or sets value of TreeViewAdv Search Option.

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

    TreeViewSearchRange

    Gets or sets value of TreeViewAdv search range.

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

    Methods

    Find(String)

    Highlights matched TreeNodeAdv based on search string.

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

    The search text.

    Returns
    Type Description
    System.Boolean

    Returns true, match found.

    Find(String, TreeViewSearchOption, TreeViewSearchRange)

    Highlights the matched TreeNodeAdv based on 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 TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, match found

    FindAll(String)

    Highlights all matched TreeNodeAdv based on search string.

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

    The search text.

    Returns
    Type Description
    System.Boolean

    Returns true, match found.

    FindAll(String, TreeViewSearchOption, TreeViewSearchRange)

    Highlights all matched TreeNodeAdv based on search string.

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

    The search text.

    TreeViewSearchOption searchOption

    The TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, match found.

    Replace(String)

    Replaced the matched TreeNodeAdv based on the string text.

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

    Returns true, matched TreeNodeAdv text replaced.

    Replace(String, String)

    Replaced the matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    Replace(String, String, TreeViewSearchOption)

    Replaced the matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchOption searchOption

    The TreeViewSearchOption.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    Replace(String, String, TreeViewSearchOption, TreeViewSearchRange)

    Replaced the matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchOption searchOption

    The TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, match found.

    Replace(String, String, TreeViewSearchRange)

    Replaced the matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    ReplaceAll(String)

    Replaced all matched TreeNodeAdv based on the string text.

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

    Returns true, matched TreeNodeAdv text replaced.

    ReplaceAll(String, String)

    Replaced all matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchOption)

    Replaced all matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchOption searchoption

    The TreeViewSearchOption.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchOption, TreeViewSearchRange)

    Replaced all matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchOption searchOption

    The TreeViewSearchOption.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

    ReplaceAll(String, String, TreeViewSearchRange)

    Replaced all matched TreeNodeAdv based on the string text.

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

    The search text.

    System.String replaceText

    The text to be replaced.

    TreeViewSearchRange searchRange

    The TreeViewSearchRange.

    Returns
    Type Description
    System.Boolean

    Returns true, matched TreeNodeAdv text replaced.

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