Skip to main content

GridHyperlinkColumn Class

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public class GridHyperlinkColumn :
    GridColumnBase,
    IDimensionable

Remarks

A hyperlink column allows you to display hyperlinks in the Grid dashboard item or use a Uri pattern to create hyperlinks for displayed values.

GridHyperLinkColumn_Example_Win

The following code snippet creates the Hyperlink column:

var grid = new GridDashboardItem();
grid.DataSource = dataSource;

var gridHyperlink = new GridHyperlinkColumn();
gridHyperlink.UriDataMember = "Product";
gridHyperlink.DisplayValue = new Dimension("Product");
gridHyperlink.UriPattern = "https://www.google.com/search?q={0}";

grid.Columns.Add(gridHyperlink);
See Also