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.v20.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue("")]
public virtual string SearchTags { get; set; }
<XtraSerializableProperty>
<DefaultValue("")>
Public Overridable Property SearchTags As String

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.

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