Dundas Gauge for ASP.NET Send comments on this topic
TopImage Property
See Also 
Dundas.Gauges.WebControl Namespace > GaugeContainer Class : TopImage Property


Gets or sets the image to be displayed on top of the gauge container.

Syntax

Visual Basic (Declaration) 
<PersistenceModeAttribute()>
<DescriptionAttribute("The image to be used on top of the gauge container.")>
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Gauges.WebControl.x, DundasWebGauge, Version=2.5.1.100, Culture=neutral, PublicKeyToken=2cc0651e6e907aa2")>
Public Property TopImage As String
Visual Basic (Usage)Copy Code
Dim instance As GaugeContainer
Dim value As String
 
instance.TopImage = value
 
value = instance.TopImage
C# 
[PersistenceModeAttribute()]
[DescriptionAttribute("The image to be used on top of the gauge container.")]
[DefaultValueAttribute()]
[CategoryAttribute("Appearance")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Gauges.WebControl.x, DundasWebGauge, Version=2.5.1.100, Culture=neutral, PublicKeyToken=2cc0651e6e907aa2")]
public string TopImage {get; set;}

Return Value

A string representing the URL of the top image.

Remarks

The image should be an absolute or relative.

NOTE: This could also be the name of a NamedImage, but this functionality is limited due to the limited lifetime of the control.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also