Class ButtonAttribute
- Namespace
- Dynamicweb.Content.Items.Annotations
- Assembly
- Dynamicweb.dll
Provides information about the button editor field.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class ButtonAttribute : FieldAttribute
- Inheritance
-
ButtonAttribute
- Inherited Members
Constructors
ButtonAttribute()
Initializes a new instance of an object.
public ButtonAttribute()
ButtonAttribute(string)
Initializes a new instance of an object.
public ButtonAttribute(string name)
Parameters
namestring
Properties
EnableFileSelection
Gets or sets value indicating whether to enable file selection.
public bool EnableFileSelection { get; set; }
Property Value
EnablePageSelection
Gets or sets value indicating whether to enable page selection.
public bool EnablePageSelection { get; set; }
Property Value
EnableParagraphSelection
Gets or sets value indicating whether to enable paragraph selection.
public bool EnableParagraphSelection { get; set; }
Property Value
EnableProductGroupSelection
Gets or sets value indicating whether to enable product group selection.
public bool EnableProductGroupSelection { get; set; }
Property Value
EnableProductSelection
Gets or sets value indicating whether to enable product selection.
public bool EnableProductSelection { get; set; }
Property Value
ShowToggle
Gets or sets value indicating whether to show the field toggle
public bool ShowToggle { get; set; }
Property Value
Methods
InitializeEditorConfiguration(ItemField)
protected override void InitializeEditorConfiguration(ItemField itemField)
Parameters
itemFieldItemField