Search Results for

    Show / Hide Table of Contents

    Delegate ContentRange.ReductionAllowedTest

    This delegat defines the method signature used by the ReduceRanges(List<ContentRange>, ContentRange.ReductionAllowedTest) helper to determine if two ranges that have the same parent can be merged.

    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public delegate bool ReductionAllowedTest(ContentRange from, ContentRange into);
    Parameters
    Type Name Description
    ContentRange from
    ContentRange into
    Returns
    Type Description
    System.Boolean
    Remarks

    Used e.g. to ensure that ranges that span segments are not merged.

    Constructors

    ReductionAllowedTest(Object, IntPtr)

    Declaration
    public ReductionAllowedTest(object object, IntPtr method)
    Parameters
    Type Name Description
    System.Object object
    System.IntPtr method

    Methods

    BeginInvoke(ContentRange, ContentRange, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(ContentRange from, ContentRange into, AsyncCallback callback, object object)
    Parameters
    Type Name Description
    ContentRange from
    ContentRange into
    System.AsyncCallback callback
    System.Object object
    Returns
    Type Description
    System.IAsyncResult

    EndInvoke(IAsyncResult)

    Declaration
    public virtual bool EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    System.IAsyncResult result
    Returns
    Type Description
    System.Boolean

    Invoke(ContentRange, ContentRange)

    Declaration
    public virtual bool Invoke(ContentRange from, ContentRange into)
    Parameters
    Type Name Description
    ContentRange from
    ContentRange into
    Returns
    Type Description
    System.Boolean

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • ReductionAllowedTest(Object, IntPtr)
    • Methods
      • BeginInvoke(ContentRange, ContentRange, AsyncCallback, Object)
      • EndInvoke(IAsyncResult)
      • Invoke(ContentRange, ContentRange)
    • Extension Methods
    Back to top Generated by DocFX