Skip to main content
All docs
V26.1
  • RowProperties.SearchTags Property

    Gets or sets a comma-separated list of tags by which the find panel can find this row.

    Namespace: DevExpress.XtraVerticalGrid.Rows

    Assembly: DevExpress.XtraVerticalGrid.v26.1.dll

    NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

    Declaration

    [DefaultValue("")]
    [XtraSerializableProperty]
    public virtual string SearchTags { get; set; }

    Property Value

    Type Default Description
    String String.Empty

    A string value that specifies a comma-separated list of tags by which the find panel can find this row.

    Remarks

    The find panel searches for a row by its caption, tooltip, field name, and caption in the customization form. The SearchTags property allows you to provide custom tags by which the find panel can find this row.

    The code below shows how to find DirectX-related properties with the ‘GDI‘ search query.

    image

    using DevExpress.XtraVerticalGrid.Rows;
    
    propertyGridControl1.RowsIterator.DoOperation(new MyOperation());
    
    public class MyOperation : RowOperation {
        public override void Execute(BaseRow row) {
            if (row.Properties.Caption.ToLower().Contains("directx"))
                    row.Properties.SearchTags = "gdi";
        }
    }
    
    See Also