Table of Contents

Class ActionNode

Namespace
Dynamicweb.CoreUI.Actions
Assembly
Dynamicweb.CoreUI.dll
public class ActionNode : UiComponentBase
Inheritance
ActionNode
Derived
Inherited Members
Extension Methods

Properties

Capability

public CapabilityKey Capability { get; protected set; }

Property Value

CapabilityKey

Disabled

public bool Disabled { get; set; }

Property Value

bool

Icon

public Icon? Icon { get; set; }

Property Value

Icon

Image

public string? Image { get; set; }

Property Value

string

KeyboardShortcut

public KeyboardShortcut? KeyboardShortcut { get; set; }

Property Value

KeyboardShortcut

Name

public string Name { get; set; }

Property Value

string

NodeAction

public ActionBase? NodeAction { get; set; }

Property Value

ActionBase

PermissionLevelRequired

Permission level which is required to exeute the action

public PermissionLevel? PermissionLevelRequired { get; set; }

Property Value

PermissionLevel?

Sort

public int Sort { get; set; }

Property Value

int

State

public StateType State { get; set; }

Property Value

StateType

Title

public string? Title { get; set; }

Property Value

string

Methods

Convert<T>()

public T Convert<T>() where T : ActionNode, new()

Returns

T

Type Parameters

T

WithIcon(Icon)

public ActionNode WithIcon(Icon icon)

Parameters

icon Icon

Returns

ActionNode

WithLabel(string)

public ActionNode WithLabel(string label)

Parameters

label string

Returns

ActionNode

WithPermissionLevelRequired(PermissionLevel)

public ActionNode WithPermissionLevelRequired(PermissionLevel permissionLevelRequired)

Parameters

permissionLevelRequired PermissionLevel

Returns

ActionNode

WithSort(int)

public ActionNode WithSort(int sort)

Parameters

sort int

Returns

ActionNode
To top