Click or drag to resize

DataWindow.Expose Method (Typed)

X#
Provide a method that is invoked whenever part of the data window needs repainting.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Expose(
	oExposeEvent AS ExposeEvent
) AS USUAL
Request Example View Source

Parameters

oExposeEvent
Type: ExposeEvent
The ExposeEvent object that describes which area of the data window needs repainting.

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
This is one of the most important event handlers. A data window requires repainting when the data window:
  • Is partially uncovered by another window
  • Is first shown
  • Increases in size
  • Is being restored after being iconized
  • The data window should retain enough information to redraw the screen as it was (or as it should be).
An ExposeEvent is also triggered by calling Repaint() or Update(); you should not call Repaint() or Update() during the Expose().
See Also