Click or drag to resize

Window.Background Property (Typed)

X#
The background brush currently in use by this window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY Background AS Brush GET SET 
Request Example View Source

Property Value

Type: Brush
The background brush currently in use by this window.
Remarks
The background brush currently in use by this window. A window's background brush is used by CanvasErase() and in handling Expose events. Assigning a new background brush has no effect until the window (or portion of the window) is redrawn. If a window was partially covered and is then fully exposed, only the covered part of the window is redrawn and only that part gets the new background. This related example will change the background color of an application's main window, and would typically occur in the main Initialize() method:
X#
1oWin:oColour := Color{164,255,164}
2// app background set to light green
3oWin:ShellWithColourOnly()
See Also