Search Results for

    Show / Hide Table of Contents

    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.

    Namespace: Sdl.DesktopEditor.EditorApi.Implementation
    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).

    Int32 rowNumber

    The row number to return the size for.

    Returns
    Type Description
    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
    Object object
    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
    Int32 rowNumber
    AsyncCallback callback
    Object object
    Returns
    Type Description
    IAsyncResult

    EndInvoke(IAsyncResult)

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

    Invoke(ICustomColumn, Int32)

    Declaration
    public virtual Rectangle Invoke(ICustomColumn column, int rowNumber)
    Parameters
    Type Name Description
    ICustomColumn column
    Int32 rowNumber
    Returns
    Type Description
    Rectangle

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)
    In this article
    Back to top Generated by DocFX