Class PropertyFrame
Displays a dropdrowlist in editmode displaying the frames defined for the web site.
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[PropertyDefinitionTypePlugIn]
[EditorHint("Frame")]
public class PropertyFrame : PropertyNumber, IReadOnly<PropertyData>, IReadOnly
Constructors
PropertyFrame()
Declaration
public PropertyFrame()
Properties
FrameName
Gets or sets the name of the frame.
Declaration
public string FrameName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the frame. |
Methods
CreatePropertyControl()
Creates a new instance of PropertyFrameControl.
Declaration
[Obsolete("Use IPropertyControlFactory to create property controls")]
public override IPropertyControl CreatePropertyControl()
Returns
Type | Description |
---|---|
IPropertyControl | An PropertyFrameControl that is used to display a user interface for the property. |
Overrides
Remarks
It is possible to change which control should be used by registering a different IPropertyControl for the PropertyData class in EPiServer.Core.PropertyControlClassFactory.
ToWebString()
Get the web string representation of the property's value, on properties that do not use the editor this string will not contain any markup characters.
Declaration
public override string ToWebString()
Returns
Type | Description |
---|---|
System.String | A string where all html tags except those defined in 'EPiServer.Configuration.Settings.UISafeHtmlTags' have been encoded and therefore will appear in the text instead of tags. |