Class ActionConfiguration
Represents action configuration.
public class ActionConfiguration
- Inheritance
-
objectActionConfiguration
- Extension Methods
Constructors
ActionConfiguration()
Creates new instance of ActionConfiguration
public ActionConfiguration()
ActionConfiguration(Action<ActionConfiguration, IDataContainer>)
Creates new instance of ActionConfiguration
public ActionConfiguration(Action<ActionConfiguration, IDataContainer> actionStateEvaluator)
Parameters
actionStateEvaluator
Action<ActionConfiguration, IDataContainer>Action used for state evaluation per each row.
Fields
ROW_IDENTIFIER_PLACEHOLDER
Use as a parameter value when generating links for table rows.
public const string ROW_IDENTIFIER_PLACEHOLDER = "/_ROW_PARAM_/"
Field Value
- string
Properties
ActionComponent
Component which will be loaded.
public IActionComponent ActionComponent { get; set; }
Property Value
ButtonColor
Style of the action button.
public ButtonColor ButtonColor { get; set; }
Property Value
ConfirmationConfiguration
Configuration for confirmation dialog.
public ConfirmationConfiguration ConfirmationConfiguration { get; set; }
Property Value
Destructive
Indicates whether action is destructive.
public bool Destructive { get; set; }
Property Value
- bool
Remarks
Destructive action is indicated by highlighted icon.
Disabled
Indicates whether action is disabled.
public bool Disabled { get; set; }
Property Value
- bool
Icon
Icon of the action.
public string Icon { get; set; }
Property Value
- string
Label
Label of the action.
public string Label { get; set; }
Property Value
- string
LinkParameters
Parameters for the link action Link.
public ActionConfigurationLinkParameters LinkParameters { get; set; }
Property Value
Name
Unique action name.
public string Name { get; set; }
Property Value
- string
Parameter
Action parameter.
public string Parameter { get; set; }
Property Value
- string
Remarks
For link action provide slug or absolute url where the link points to.
Title
Gets or sets the tooltip of a button.
public string Title { get; set; }
Property Value
- string
Type
Gets or sets type of the action.
public ActionType Type { get; set; }
Property Value
Visible
Indicates whether action is visible.
public bool Visible { get; set; }
Property Value
- bool