Table of Contents

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

name string

Properties

EnableFileSelection

Gets or sets value indicating whether to enable file selection.

public bool EnableFileSelection { get; set; }

Property Value

bool

EnablePageSelection

Gets or sets value indicating whether to enable page selection.

public bool EnablePageSelection { get; set; }

Property Value

bool

EnableParagraphSelection

Gets or sets value indicating whether to enable paragraph selection.

public bool EnableParagraphSelection { get; set; }

Property Value

bool

EnableProductGroupSelection

Gets or sets value indicating whether to enable product group selection.

public bool EnableProductGroupSelection { get; set; }

Property Value

bool

EnableProductSelection

Gets or sets value indicating whether to enable product selection.

public bool EnableProductSelection { get; set; }

Property Value

bool

ShowToggle

Gets or sets value indicating whether to show the field toggle

public bool ShowToggle { get; set; }

Property Value

bool

Methods

InitializeEditorConfiguration(ItemField)

protected override void InitializeEditorConfiguration(ItemField itemField)

Parameters

itemField ItemField
To top