SaaS CMS has officially launched! Learn more now.

Class PropertyPasswordControl

Property control that is used to store a password.

Inheritance
System.Object
PropertyPasswordControl
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("This class has been obsoleted and will be removed in a future release.", false)]
public class PropertyPasswordControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyPasswordControl()

Declaration
public PropertyPasswordControl()

Properties

Collapsed

Gets or sets a value indicating whether this PropertyPasswordControl is collapsed.

Declaration
public bool Collapsed { get; set; }
Property Value
Type Description
System.Boolean

true if collapsed; otherwise, false.

EditControl

Gets or sets the control used to edit the property.

Declaration
protected InputPassword EditControl { get; set; }
Property Value
Type Description
InputPassword

The control used to edit the property.

Methods

ApplyEditChanges()

Applies changes for the posted data to the page's properties when the RenderType property is set to Edit.

Declaration
public override void ApplyEditChanges()
Overrides
Remarks

This method is called from ApplyChanges() if the control does not have an adapter.

CreateDefaultControls()

PropertyPasswordControl does not support showing a password in "view mode" and calls CreateEditControls to get an edit interface even in "view mode".

Declaration
public override void CreateDefaultControls()
Overrides

CreateEditControls()

Creates an edit interface for the property.

Declaration
public override void CreateEditControls()
Overrides

Implements

System.Web.UI.INamingContainer

Extension Methods