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
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)
Delegate method called to determine whether an action (button, menu item) should be enabled, disabled or invisible;
called whenever the row selection state changes
Declaration
public CanExecuteDelegate(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(RowInfo[], AsyncCallback, object)
Delegate method called to determine whether an action (button, menu item) should be enabled, disabled or invisible;
called whenever the row selection state changes
Declaration
public virtual IAsyncResult BeginInvoke(RowInfo[] rowInfo, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
Delegate method called to determine whether an action (button, menu item) should be enabled, disabled or invisible;
called whenever the row selection state changes
Declaration
public virtual FieldRight EndInvoke(IAsyncResult result)
Parameters
Returns
Invoke(RowInfo[])
Delegate method called to determine whether an action (button, menu item) should be enabled, disabled or invisible;
called whenever the row selection state changes
Declaration
public virtual FieldRight Invoke(RowInfo[] rowInfo)
Parameters
Type |
Name |
Description |
RowInfo[] |
rowInfo |
|
Returns
Extension Methods