Show / Hide Table of Contents

Delegate CanExecuteDelegate

Delegate method called to determine whether an action (button, menu item) should be enabled, disabled or invisible; called whenever the row selection state changes

Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public delegate FieldRight CanExecuteDelegate(RowInfo[] rowInfo);
Parameters
Type Name Description
RowInfo[] rowInfo

Information about selected row(s)

Returns
Type Description
FieldRight

If the Read right is present, the item will be visible; if the Write right is present, it will be enabled. If it is disabled then the Reason part of the fieldright will be shown as the tooltip

Constructors

CanExecuteDelegate(Object, IntPtr)

Declaration
public CanExecuteDelegate(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(RowInfo[], AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(RowInfo[] rowInfo, AsyncCallback callback, object object)
Parameters
Type Name Description
RowInfo[] rowInfo
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual FieldRight EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
FieldRight

Invoke(RowInfo[])

Declaration
public virtual FieldRight Invoke(RowInfo[] rowInfo)
Parameters
Type Name Description
RowInfo[] rowInfo
Returns
Type Description
FieldRight

Extension Methods

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