BorderPadding Property

PasswordRecovery.BorderPadding Property

 

Gets or sets the amount of padding inside the borders of the PasswordRecovery 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 PasswordRecovery control and the PasswordRecovery control's border. The default value is 1.

Exception Condition
ArgumentOutOfRangeException

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

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft