In This Article

DrawAdornmentCallback Delegate

A delegate that can draw the specified adornment.

public delegate void DrawAdornmentCallback(TextViewDrawContext context, IAdornment adornment);

Parameters

Name Type Description
context TextViewDrawContext

The TextViewDrawContext to use for rendering.

adornment IAdornment

The IAdornment to draw.

Constructors

DrawAdornmentCallback(Object, IntPtr)

public DrawAdornmentCallback(object object, IntPtr method)
Parameter Type Description
object System.Object
method IntPtr

Methods

BeginInvoke(TextViewDrawContext, IAdornment, AsyncCallback, Object)

public virtual IAsyncResult BeginInvoke(TextViewDrawContext context, IAdornment adornment, AsyncCallback callback, object object)
Parameter Type Description
context TextViewDrawContext
adornment IAdornment
callback System.AsyncCallback
object System.Object

Returns

System.IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)
Parameter Type Description
result System.IAsyncResult

Invoke(TextViewDrawContext, IAdornment)

public virtual void Invoke(TextViewDrawContext context, IAdornment adornment)
Parameter Type Description
context TextViewDrawContext
adornment IAdornment