menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFindReplaceEventArgs - API Reference

    Show / Hide Table of Contents

    Class GridFindReplaceEventArgs

    Provides information about the find and replace dialog.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    GridFindReplaceEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridFindReplaceEventArgs : SyncfusionEventArgs

    Constructors

    GridFindReplaceEventArgs(String, String, GridFindTextOptions, Object)

    Initializes a new instance of the GridFindReplaceEventArgs class with options for a find or replace operation.

    Declaration
    public GridFindReplaceEventArgs(string findString, string replaceString, GridFindTextOptions options, object locationInfo)
    Parameters
    Type Name Description
    System.String findString

    The text to be searched.

    System.String replaceString

    The replacement text.

    GridFindTextOptions options

    Search criteria.

    System.Object locationInfo

    Information about the current selection. If target is a grid control, this should be of type GridRangeInfo.

    Properties

    FindString

    Gets or sets the text to be searched.

    Declaration
    [TraceProperty(true)]
    public string FindString { get; set; }
    Property Value
    Type Description
    System.String

    LocationInfo

    Gets or sets information about the current selection. If target is a grid control, this is of type GridRangeInfo.

    Declaration
    [TraceProperty(true)]
    public object LocationInfo { get; set; }
    Property Value
    Type Description
    System.Object

    Options

    Gets or sets Options. Search criteria.

    Declaration
    [TraceProperty(true)]
    public GridFindTextOptions Options { get; set; }
    Property Value
    Type Description
    GridFindTextOptions

    ReplaceString

    Gets or sets the replacement text.

    Declaration
    [TraceProperty(true)]
    public string ReplaceString { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved