Style - MaskBrush Property

Brush to be used as an opacity mask

Member of Style (PRIM_VS.Style)

Data Type - PRIM_VS.Brush - Base class for all visual brushes


The MaskBrush property is a reference to an instance of a Brush applied to a control to selectively apply transparency.
This allows for controls, particularly images, to fade out and blend in to the background.
In the case of a Linear Brush with a gradient from any color to transparent, the control will be become increasingly transparent.  If using a Image Brush, transparency will be applied based on the transparency of the Image.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020