Class GoogleFontEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a Google font editor.
[Editor("Google font")]
public class GoogleFontEditor : Editor
- Inheritance
-
GoogleFontEditor
- Inherited Members
Constructors
GoogleFontEditor()
Initializes a new instance of an object.
public GoogleFontEditor()
Properties
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
DefaultFontName
Gets or sets the default font name.
[AddInParameter("DefaultFontName")]
[AddInParameterEditor(typeof(HiddenParameterEditor), "")]
public string DefaultFontName { get; set; }
Property Value
DefaultFontWeight
Gets or sets the default font weight.
[AddInParameter("DefaultFontWeight")]
[AddInParameterEditor(typeof(HiddenParameterEditor), "")]
public string DefaultFontWeight { get; set; }
Property Value
Methods
GetViewModelValue(object)
Gets the value as an instance of GoogleFontViewModel
public override object GetViewModelValue(object value)
Parameters
value
object
Returns
RenderValue(EditorRenderingContext)
Renders value.
public override void RenderValue(EditorRenderingContext context)
Parameters
context
EditorRenderingContextEditor rendering context.