Nevron .NET Vision
Nevron.GraphicsCore Namespace / NUrlLinkAttribute Class / Url Property
Example


In This Topic
    Url Property (NUrlLinkAttribute)
    In This Topic
    The URL to redirect the browser to when the user clicks on the object.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("The URL to redirect the browser to when the user clicks on the object.")>
    <System.ComponentModel.DefaultValueAttribute("")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Url As System.String
    'Usage
     
    
    Dim instance As NUrlLinkAttribute
    Dim value As System.String
     
    instance.Url = value
     
    value = instance.Url
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("The URL to redirect the browser to when the user clicks on the object.")]
    [System.ComponentModel.DefaultValue("")]
    [System.Xml.Serialization.XmlAttribute()]
    public System.string Url {get; set;}
    Remarks
    This property works only when you use the chart in Web forms with a response type of HTML image map.
    Example
    The following code changes the URL of a label:
    NChartControl.InteractivityOperations.Add(New NTooltipInteractivityOperation())
                
    Dim label As NLabel =  NChartControl.Labels.AddHeader("Click here to see a cool chart") 
    label.InteractivityStyle.UrlLink.Url = "http://www.nevron.com"
    NChartControl.InteractivityOperations.Add(new NTooltipInteractivityOperation());
                
    NLabel label = NChartControl.Labels.AddHeader("Click here to see a cool chart");
    label.Interactivity.UrlLink = "http://www.nevron.com";
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also