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 class ToolbarButtonDecorator : EntityBasedType, IHasDecorators<IEntity>, IMultiWrapper<IEntity>
Inheritance
object
EntityBasedType
ToolbarButtonDecorator
Implements

Remarks

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

Constructors

ToolbarButtonDecorator(IEntity)

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

public ToolbarButtonDecorator(IEntity entity)

Parameters

entity IEntity

Remarks

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

Fields

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

Field Value

string

TypeNameId

public static string TypeNameId

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