Try our conversational search powered by Generative AI!

Class PropertyStringControl

Property control that stores a short string (less than 255 characters).

Inheritance
System.Object
PropertyStringControl
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class PropertyStringControl : PropertyTextBoxControlBase, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyStringControl()

Creates instance of PropertyStringControl with default texbox's length (default is 255 chars)

Declaration
public PropertyStringControl()

PropertyStringControl(Int32)

Creates instance of PropertyStringControl with given maximum length of the textbox

Declaration
public PropertyStringControl(int maxLength)
Parameters
Type Name Description
System.Int32 maxLength

Specifies the maximum length of the textbox. 0 or negative value means no max length for the textbox

Implements

System.Web.UI.INamingContainer

Extension Methods