Show / Hide Table of Contents

Class RowActionItemInfo

Description of one action item, destined for an archive row context menu or toolbar button

Inheritance
Object
RowActionItemInfo
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class RowActionItemInfo

Constructors

RowActionItemInfo()

Declaration
public RowActionItemInfo()

Fields

CanExecute

CanExecute delegate, called whenever the row-selection state changes, and before a context menu is shown. It influences the enabled/disabled/hidden state of a button or menu item. This value can be left uninitialized (null) if the item should always be available.

Declaration
public CanExecuteDelegate CanExecute
Field Value
Type Description
CanExecuteDelegate

Properties

ChildItems

Sub-items for actions. On Menu items this means a submenu; on Button items this makes the top-level control into a dropdown list, with child controls becoming items and/or sub-headings (no more than one level of headings supported)

Declaration
public RowActionItemInfo[] ChildItems { get; set; }
Property Value
Type Description
RowActionItemInfo[]

DisabledIconHint

Optional name/hint for icon, used in the disabled state; the method will be called with this string as parameter when the item is to be shown. If the EnabledIconHint is set, then this member should also be set, unless the client is sure that the action item will never be disabled (icons should generally not be the same for enabled and disabled states)

Declaration
public string DisabledIconHint { get; set; }
Property Value
Type Description
String

DisplayName

Action item text to be shown; can contain resource and multi-language elements

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
String

DisplayTooltip

Tooltip for action item; can contain resource and multi-language elements

Declaration
public string DisplayTooltip { get; set; }
Property Value
Type Description
String

EnabledIconHint

Optional name/hint for icon, used in the enabled state; the method will be called with this string as parameter when the item is to be shown.

Declaration
public string EnabledIconHint { get; set; }
Property Value
Type Description
String

Execute

Execute delegate, see the delegate declaration for information. This delegate is relevant for windows only.

Declaration
public ExecuteDelegate Execute { get; set; }
Property Value
Type Description
ExecuteDelegate

Name

Unique item id, must be unique within archive; used to identify menu item chosen (also influences technical name of control in GUI)

Declaration
public string Name { get; set; }
Property Value
Type Description
String

ScriptAction

Script action, to be executed when this action is performed. This string will usually be a JavaScript code fragment; it is relevant for Web only.

Declaration
public string ScriptAction { get; set; }
Property Value
Type Description
String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top