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 : ModelOfEntityCore, IModelSetup<IEntity>, IWrapper<IEntity>, ICanBeEntity, IEquatable<ModelOfEntityCore>, IEquatable<ToolbarButtonDecorator>
Inheritance
object
ToolbarButtonDecorator
Implements
Inherited Members

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 static string KeyColor

Field Value

string

KeyData

public static string KeyData

Field Value

string

KeyIcon

public static string KeyIcon

Field Value

string

KeyNote

public static string KeyNote

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

Methods

AllRules()

public string AllRules()

Returns

string