Interface IViewModelAction
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the MVVM ViewModel of an UIView Action.
public interface IViewModelAction
Properties
ActionType
Gets or sets the type of the action.
ActionType ActionType { get; set; }
Property Value
Badge
Gets the badge of the action.
string Badge { get; }
Property Value
BadgeSeverity
Gets or sets the badge severity of the action.
ActionBadgeSeverity BadgeSeverity { get; set; }
Property Value
Caption
Gets or sets the caption of the action.
string Caption { get; set; }
Property Value
DatagridContextMenuPosition
Gets or sets the datagrid context menu position of the action.
int? DatagridContextMenuPosition { get; set; }
Property Value
- int?
Description
Gets or sets the description of the action.
string Description { get; set; }
Property Value
DisplayMode
Gets or sets the display mode of the action.
ActionDisplayMode DisplayMode { get; set; }
Property Value
Group
Gets or sets the group of the action on action panel.
string Group { get; set; }
Property Value
IconName
Gets or sets the icon name of the action.
string IconName { get; set; }
Property Value
KeyboardShortcut
Gets or sets the keyboard shortcut.
string? KeyboardShortcut { get; set; }
Property Value
Location
Gets or sets the location of the action.
ActionLocation Location { get; set; }
Property Value
Name
Gets the name of the action.
string Name { get; }
Property Value
ParentActionName
Gets or sets the parent action name of the action.
string? ParentActionName { get; set; }
Property Value
Position
Gets or sets the position of the action.
int? Position { get; set; }
Property Value
- int?
Size
Gets or sets the size of the action.
ActionSize Size { get; set; }
Property Value
Style
Gets or sets the size of the action.
ActionStyle Style { get; set; }
Property Value
Methods
GetEnabled(object)
Gets a value indicating whether the action is enable.
bool GetEnabled(object item)
Parameters
item
objectItem for which the value is obtained.
Returns
- bool
Value.
GetVisible(object)
Gets a value indicating whether the action is visible.
bool GetVisible(object item)
Parameters
item
objectItem for which the value is obtained.
Returns
- bool
Value.