Click or drag to resize

IAction Interface

Action

Namespace:  EBP.Api.Interfaces.Menus
Assembly:  EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
public interface IAction : IActionBase, 
	IDisposable, IEquatable<IProxy>

The IAction type exposes the following members.

Properties
  NameDescription
Public propertyEnabled
Indicates whether the associated components are enabled.
(Inherited from IActionBase.)
Public propertyImageIndex
Image Index
(Inherited from IActionBase.)
Public propertyImageList
Image List
(Inherited from IActionBase.)
Public propertyShortcutKeys
Indicates the shortcut keys for this Action.
(Inherited from IActionBase.)
Public propertyText
The text used in controls associated to this Action.
(Inherited from IActionBase.)
Public propertyVisible
Indicates whether the associated components are visible or hidden.
(Inherited from IActionBase.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodRegisterRight(Guid, ReadUpdateRightKind, Boolean)
Registers right to check to know if this action is allowed for current user.
Public methodRegisterRight(Guid, StandardRightKind, Boolean)
Registers a right to check to know if this action is allowed for current user.
Public methodRegisterRight(Guid, YesNoRightKind, Boolean)
Registers right to check to know if this action is allowed for current user.
Top
Events
  NameDescription
Public eventActionExecute
This event is triggered when the action is executed
(Inherited from IActionBase.)
Public eventActionUpdate
This event is triggered when the action is updated
(Inherited from IActionBase.)
Top
Remarks
The IAction type can be instantiated with EBP.Api.Utils<TExtension>.GetInterface<T>
IAction instance = Utils<ExtensionType>.GetInterface<IAction>();
See Also