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
BeginGroup
Gets or sets a value indicating whether the action starts a group.
bool BeginGroup { 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.
[Obsolete("Use Locations property instead.")]
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 (panel location only).
string? Group { get; set; }
Property Value
IconId
Gets or sets the icon id of the action.
ImageId? IconId { 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
Locations
Gets or sets the locations.
List<ActionLocationEntry> Locations { get; set; }
Property Value
Name
Gets the name of the action.
string Name { get; }
Property Value
ParentActionName
Gets or sets the parent action name.
string? ParentActionName { get; set; }
Property Value
Position
Gets or sets the position.
int Position { get; set; }
Property Value
PrintSettings
Gets or sets the print settings.
string? PrintSettings { get; set; }
Property Value
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
itemobjectItem 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
itemobjectItem for which the value is obtained.
Returns
- bool
Value.