public Hyperlink ( System foreColor, bool fontUnderline, string textPropertyName = "", string navigationUrlPropertyName = "" ) : void | ||
foreColor | System | |
fontUnderline | bool | |
textPropertyName | string | If you don't set TextPropertyName, current cell's text will be used as hyperlink's text. |
navigationUrlPropertyName | string | If you don't set NavigationUrlPropertyName, current cell's text will be used as hyperlink's target url. |
Résultat | void |
public void Hyperlink(System.Drawing.Color foreColor, bool fontUnderline, string textPropertyName = "", string navigationUrlPropertyName = "")
{
_columnItemsTemplate = new HyperlinkField(new BaseColor(foreColor.ToArgb()), fontUnderline)
{
NavigationUrlPropertyName = navigationUrlPropertyName,
TextPropertyName = textPropertyName
};
}