Delegate RowSizeAccessor
A delegate method which provides the column with the current size and
position of any other cell in this column. This can be used when drawing
across the cell boundaries to calculate where other cells will be.
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public delegate Rectangle RowSizeAccessor(ICustomColumn column, int rowNumber);
Parameters
Type |
Name |
Description |
ICustomColumn |
column |
The column in which to get the cell rectangle for (usually this ).
|
System.Int32 |
rowNumber |
The row number to return the size for.
|
Returns
Type |
Description |
System.Drawing.Rectangle |
A rectangle of the current drawing position of the requested cell.
|
Constructors
RowSizeAccessor(Object, IntPtr)
Declaration
public RowSizeAccessor(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(ICustomColumn, Int32, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(ICustomColumn column, int rowNumber, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
ICustomColumn |
column |
|
System.Int32 |
rowNumber |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual Rectangle EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Type |
Description |
System.Drawing.Rectangle |
|
Invoke(ICustomColumn, Int32)
Declaration
public virtual Rectangle Invoke(ICustomColumn column, int rowNumber)
Parameters
Type |
Name |
Description |
ICustomColumn |
column |
|
System.Int32 |
rowNumber |
|
Returns
Type |
Description |
System.Drawing.Rectangle |
|
Extension Methods