PdfRpt.FluentInterface.ColumnItemsTemplateBuilder.Hyperlink C# (CSharp) Method

Hyperlink() public method

Displaying current cell's data as a hyperlink
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.
return 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
            };
        }