Pattern object
The Pattern object can be used to apply a pattern and a frame with different colors on an UI element. For instance, the Pattern property indicates the pattern to be applied on the frame. The Pattern object supports the following properties:

NameDescription
ColorSpecifies the pattern color.
FrameColorSpecifies the pattern's frame color.
TypeRetrieves or sets a value that indicates the pattern to fill the element.