Brush to be used as the background
Member of Style (PRIM_VS.Style)
Data Type - PRIM_VS.Brush - Base class for all visual brushes
The BackgroundBrush property is a reference to an instance of a Brush to be applied to the background of the control. Background features of a Style are not inherited by child controls. This ensures that a background applied to a form or reusable part is not repeated verbatim on child controls. As Panels and Labels are transparent by default, it is often only necessary to define the background of the main page. If both a BackgroundBrush and NormBackColor are specified on the same style, the BackgroundBrush will take precedence.
This example shows the definition of a simple style with a background Linear Brush. The IDE will manage the creation of styles and brushes. This code is provided for reference purposes.
Define_Com Class(#PRIM_VS.Style) Name(#BackGround) Backgroundbrush(#Backgroundbrush) Define_Com Class(#PRIM_VS.LinearBrush) Name(#Backgroundbrush) Colors(#BackgroundbrushColors) Define_Com Class(#Prim_Vs.BrushColors) Name(#BackgroundbrushColors) Define_Com Class(#PRIM_VS.BrushColor) Name(#BackgroundbrushColor1) Color(Silver) Parent(#BackgroundbrushColors) Define_Com Class(#PRIM_VS.BrushColor) Name(#BackgroundbrushColor1) At(100) Color(White) Parent(#BackgroundbrushColors)
Febuary 18 V14SP2