Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BorderPadding Property

Login.BorderPadding Property

Gets or sets the amount of padding inside the borders of the Login control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual int BorderPadding { get; set; }

Property Value

Type: System.Int32
The amount of space (in pixels) between the contents of a Login control and the Login control's border. The default value is 1.


The BorderPadding property is set to a value less than -1.

The value of the BorderPadding property is stored in view state.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft