Back to Devexpress

CardViewHyperLinkColumn Class

aspnet-devexpress-dot-web-7051579b.md

latest3.2 KB
Original Source

CardViewHyperLinkColumn Class

Specifies a data column with hyperlink functionality.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class CardViewHyperLinkColumn :
    CardViewEditColumn
vb
Public Class CardViewHyperLinkColumn
    Inherits CardViewEditColumn

Remarks

A hyperlink column displays its contents as hyperlinks. Its cell values specify URLs to where the client web browser will navigate when a hyperlink is clicked. These values are obtained from the data field specified by the column’s CardViewColumn.FieldName property.

The column editor’s settings can be accessed and customized using the CardViewHyperLinkColumn.PropertiesHyperLinkEdit property.

For instance, you can specify the data field whose values are displayed within cell editors. To do this, use the HyperLinkProperties.TextField property. The HyperLinkProperties.NavigateUrlFormatString property can be used to specify the pattern used to format the navigation location for the inplace editor’s hyperlink.

To learn more, see Data Columns.

To include several field values in a hyperlink shown in a grid column’s cells, we recommend using templates. The following example shows the way it can be implemented: How to: Use a Hyperlink Whose Argument Depends on Several Cell Values in the ASPxGridView

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

IWebGridDataColumn

IWebGridColumn

IFilterablePropertyInfo

IDataSourceViewSchemaAccessor

Inheritance

Object StateManager CollectionItem WebColumnBase CardViewColumn CardViewEditColumn CardViewHyperLinkColumn

See Also

CardViewHyperLinkColumn Members

Card View

DevExpress.Web Namespace