WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Delegate DrawItemCallback

    Show / Hide Table of Contents

    Delegate DrawItemCallback

    Called by ITabRenderer implementation to allow custom drawing.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public delegate bool DrawItemCallback(DrawTabEventArgs eventArgs);
    Parameters
    Type Name Description
    DrawTabEventArgs eventArgs

    A DrawTabEventArgs instance.

    Returns
    Type Description
    System.Boolean

    True to indicate custom drawing was done; false otherwise.

    Constructors

    DrawItemCallback(Object, IntPtr)

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

    Methods

    BeginInvoke(DrawTabEventArgs, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(DrawTabEventArgs eventArgs, AsyncCallback callback, object object)
    Parameters
    Type Name Description
    DrawTabEventArgs eventArgs
    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(DrawTabEventArgs)

    Declaration
    public virtual bool Invoke(DrawTabEventArgs eventArgs)
    Parameters
    Type Name Description
    DrawTabEventArgs eventArgs
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved