Exposes a CUI Action Item interface for managed code.
Public Member Functions |
|
MaxActionItem (ActionItem *aActionItem) | |
Constructor. |
|
virtual void | Execute () |
Forwards to ActionItem::ExecuteAction()
|
|
virtual bool | IsChecked () |
Forwards to ActionItem::IsChecked() |
|
virtual bool | IsEnabled () |
Forwards to ActionItem::IsEnabled() |
|
virtual bool | Equals (System::Object^obj) override |
Determines whether the given object is equal
to this MaxActionItem.
|
|
virtual int | GetHashCode () override |
Get a code suitable for use in hashing
algorithms and data structures. |
|
Properties |
|
System::String | mDescriptionText |
Text to be displayed when this ActionItem is
used in a menu. |
ManagedServices::MaxActionItem::MaxActionItem | ( | ActionItem * | aActionItem | ) |
Constructor.
aActionItem | The item that this managed object wraps. This must not be null. |
void ManagedServices::MaxActionItem::Execute | ( | ) | [virtual] |
Forwards to ActionItem::ExecuteAction()
bool ManagedServices::MaxActionItem::IsChecked | ( | ) | [virtual] |
Forwards to ActionItem::IsChecked()
bool ManagedServices::MaxActionItem::IsEnabled | ( | ) | [virtual] |
Forwards to ActionItem::IsEnabled()
bool ManagedServices::MaxActionItem::Equals | ( | System::Object^ | obj | ) | [override, virtual] |
Determines whether the given object is equal to this MaxActionItem.
Two MaxActionItem instances are considered equal if they wrap the same native ActionItem.
obj | Object to compare agains this instance. |
int ManagedServices::MaxActionItem::GetHashCode | ( | ) | [override, virtual] |
Get a code suitable for use in hashing algorithms and data structures.
System::String ManagedServices::MaxActionItem::mDescriptionText |
Text to be displayed when this ActionItem is used in a menu.
The cache string for the description text.