Class PropertyBooleanControl
A web control that is used to present a user interface for a property deriving from PropertyBoolean.
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class PropertyBooleanControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings
Constructors
PropertyBooleanControl()
Declaration
public PropertyBooleanControl()
Properties
Boolean
Gets or sets the value from the corresponding PropertyData.
Declaration
public virtual bool Boolean { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EditControl
Gets or sets the control used to edit the property.
Declaration
protected CheckBox EditControl { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.WebControls.CheckBox | The control used to edit the property. |
Methods
ApplyEditChanges()
Applies changes for the posted data to the page's properties.
Declaration
public override void ApplyEditChanges()
Overrides
Remarks
This method is called from ApplyChanges() if the control does not have an adapter.
CreateEditControls()
Creates an edit interface for the property.
Declaration
public override void CreateEditControls()
Overrides
Implements
System.Web.UI.INamingContainer