ESRI.ArcGIS.ADF.Web.UI.WebControls
BorderWidth Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CartoDisplay Class : BorderWidth Property




Gets or sets the border width of the Web server control.

Syntax

Visual Basic (Declaration) 
Public Overrides Property BorderWidth As Unit
Visual Basic (Usage)Copy Code
Dim instance As CartoDisplay
Dim value As Unit
 
instance.BorderWidth = value
 
value = instance.BorderWidth
C# 
public override Unit BorderWidth {get; set;}

Exceptions

ExceptionDescription
ArgumentExceptionThe specified border width is a negative value.

Remarks

Use the BorderWidth property to specify a border width for a control. Note: if a CssClass is specified and if the border-width style is used in the CssClass specified, then the value specified in the Css class will also need to specified in the BorderWidth property for the ArcGIS Server WebControls to work correctly. The value that is in the CssClass will override the BorderWidth property setting.

See Also

© 2010 All Rights Reserved.