Table of Contents

Class ToolbarButtonDecorator

Namespace
ToSic.Sxc.Edit.Toolbar.Sys
Assembly
ToSic.Sxc.Edit.dll

This is a decorator for Content-Types, which allows special configuration of buttons etc. on that type

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public record ToolbarButtonDecorator : ModelFromEntity, IModelFromEntity, IModelFromData, IModelSetup<IEntity>, ICanBeEntity, IEquatable<ModelFromEntity>, IEquatable<ToolbarButtonDecorator>
Inheritance
object
ToolbarButtonDecorator
Implements
Inherited Members
Extension Methods

Remarks

WIP new in v14; as of now only used on NoteDecorator, should have more soon

Fields

ContentTypeNameId

public const string ContentTypeNameId = "acc185a7-f300-4468-bce8-d6a64038989d"

Field Value

string

KeyColor

public const string KeyColor = "color"

Field Value

string

KeyData

public const string KeyData = "data"

Field Value

string

KeyNote

public const string KeyNote = "note"

Field Value

string

TypeName

public const string TypeName = "ToolbarButtonDecorator"

Field Value

string

Properties

Command

public string Command { get; }

Property Value

string

Ui

public string Ui { get; }

Property Value

string

UiColor

public string UiColor { get; }

Property Value

string

UiData

public bool UiData { get; }

Property Value

bool

UiIcon

public string UiIcon { get; }

Property Value

string