Skip to main content

GridHyperlinkColumn Class

Namespace: DevExpress.DashboardCommon

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

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