WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridHighlightSearchText

    Show / Hide Table of Contents

    Class GridHighlightSearchText

    Implements the functionalities for highlighting the searching text. The highlight option works only if WrapText is set to false and AllowEnter is set to false.

    Inheritance
    System.Object
    GridHighlightSearchText
    Inherited Members
    System.Object.ToString()
    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.GridHelperClasses
    Assembly: Syncfusion.GridHelperClasses.Windows.dll
    Syntax
    public class GridHighlightSearchText

    Constructors

    GridHighlightSearchText()

    Declaration
    public GridHighlightSearchText()

    Properties

    HighlightColor

    Gets or sets the color in which the text needs to be highlighted.

    Declaration
    public Color HighlightColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    HighlightText

    Gets or sets the text which needs to be highlighted.

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

    Methods

    UnWireGrid()

    Unwires the grid and its components.

    Declaration
    public void UnWireGrid()

    WireGrid(GridControlBase)

    Wires the grid and its components.

    Declaration
    public void WireGrid(GridControlBase grid)
    Parameters
    Type Name Description
    GridControlBase grid

    WireGrid(GridControlBase, String)

    Wires the grid and the text that needs to be highlighted.

    Declaration
    public void WireGrid(GridControlBase grid, string text)
    Parameters
    Type Name Description
    GridControlBase grid

    The GridControlBase.

    System.String text

    The text is a string which searches the whole grid.

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