Delegate DrawStateProc
This function is an application-defined callback function that renders a complex image for the DrawState function.
Assembly: Syncfusion.Shared.Base.dll
public delegate bool DrawStateProc(IntPtr hdc, IntPtr lData, IntPtr wData, int cx, int cy);
Parameters
| Type |
Name |
Description |
| System.IntPtr |
hdc |
A handle to the Device Context.
|
| System.IntPtr |
lData |
Specifies information about the image, which the application passed to DrawState.
|
| System.IntPtr |
wData |
This specifies information about the image, which the application passed to DrawState.
|
| System.Int32 |
cx |
The image width, in device units, as specified by the call to DrawState.
|
| System.Int32 |
cy |
The image height, in device units, as specified by the call to DrawState.
|
Returns
| Type |
Description |
| System.Boolean |
If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE.
|
Constructors
Declaration
public DrawStateProc(object object, IntPtr method)
Parameters
| Type |
Name |
Description |
| System.Object |
object |
|
| System.IntPtr |
method |
|
Methods
Declaration
public virtual IAsyncResult BeginInvoke(IntPtr hdc, IntPtr lData, IntPtr wData, int cx, int cy, AsyncCallback callback, object object)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
hdc |
|
| System.IntPtr |
lData |
|
| System.IntPtr |
wData |
|
| System.Int32 |
cx |
|
| System.Int32 |
cy |
|
| System.AsyncCallback |
callback |
|
| System.Object |
object |
|
Returns
Declaration
public virtual bool EndInvoke(IAsyncResult result)
Parameters
| Type |
Name |
Description |
| System.IAsyncResult |
result |
|
Returns
Declaration
public virtual bool Invoke(IntPtr hdc, IntPtr lData, IntPtr wData, int cx, int cy)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
hdc |
|
| System.IntPtr |
lData |
|
| System.IntPtr |
wData |
|
| System.Int32 |
cx |
|
| System.Int32 |
cy |
|
Returns