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 | 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 | AsyncCallback | |
object | object |
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameter | Type | Description |
---|---|---|
result | IAsyncResult |
Invoke(TextViewDrawContext, IAdornment)
public virtual void Invoke(TextViewDrawContext context, IAdornment adornment)
Parameter | Type | Description |
---|---|---|
context | TextViewDrawContext | |
adornment | IAdornment |