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).

    int 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, int, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(ICustomColumn column, int rowNumber, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    ICustomColumn column
    int 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, int)

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

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Constructors
      • RowSizeAccessor(object, IntPtr)
    • Methods
      • BeginInvoke(ICustomColumn, int, AsyncCallback, object)
      • EndInvoke(IAsyncResult)
      • Invoke(ICustomColumn, int)
    • Extension Methods
    Back to top Generated by DocFX