Window.Background Property (Typed) | |
The background brush currently in use by this window.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL PROPERTY Background AS Brush GET SET
public virtual Brush Background { get; set; }
Request Example
View SourceProperty 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:
1oWin:oColour := Color{164,255,164}
2
3oWin:ShellWithColourOnly()
See Also