changeDocumentBackgroundColor(_:)
An action method used to set the background color.
Declaration
func changeDocumentBackgroundColor(_ sender: Any?)Parameters
- sender:
The control that wants to set the background color.
Discussion
This method gets the new color by sending a color message to sender.
This will only set the background color if allowsDocumentBackgroundColorChangereturns true.