| Visual Basic (Declaration) | |
|---|---|
Overrides Public Property BorderWidth As Unit | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override Unit BorderWidth {get; set;} | |
| Exception | Description |
|---|---|
| ArgumentException | The specified border width is a negative value. |
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.
Target Platforms:Windows XP Professional, Windows Server 2003 family