Visual Basic: Windows Controls
UseMaskColor Property (ImageList Controls)
See Also Example Applies To
Returns or sets a value that determines whether the color assigned in the MaskColor property is used as a mask.
Syntax
object.UseMaskColor [ = value]
The UseMaskColor property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A boolean value that determines whether the MaskColor property is used, as described in Settings. |
Settings
The settings for value are:
Value | Description |
True | The MaskColor is used to create transparent regions. |
False | (Default) The MaskColor is not used. |
Remarks
The MaskColor and UseMaskColor properties are used only when the Style property is set to 1 - Graphical.