ChangePassword.BorderPadding Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the amount of padding, in pixels, inside the border and the designated area for the ChangePassword 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 number of pixels of space between the contents of a ChangePassword control and the ChangePassword control's border. The default value is 1.

Exception Condition

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

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

.NET Framework
Available since 2.0
Return to top