windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-rowproperties-2659e0da.md
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.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
[DefaultValue("")]
[XtraSerializableProperty]
public virtual string SearchTags { get; set; }
<XtraSerializableProperty>
<DefaultValue("")>
Public Overridable Property SearchTags As String
| 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.
|
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";
}
}
Imports DevExpress.XtraVerticalGrid.Rows
propertyGridControl1.RowsIterator.DoOperation(New MyOperation())
Public Overrides Sub Execute(ByVal row As BaseRow)
If row.Properties.Caption.ToLower().Contains("directx") Then
row.Properties.SearchTags = "gdi"
End If
End Sub
See Also