Difference between revisions of "MobileContainer.AppearanceChanged"

From Xojo Documentation

 
Line 1: Line 1:
 
{{EventBox
 
{{EventBox
 
| name=AppearanceChanged
 
| name=AppearanceChanged
| owner=[[MobileContainerControl]]
+
| owner=[[MobileContainer]]
 
| ownertype=class
 
| ownertype=class
 
| parameters=dark As [[Boolean]]
 
| parameters=dark As [[Boolean]]

Latest revision as of 22:10, 22 September 2020

Event


MobileContainer.AppearanceChanged(dark As Boolean)

New in 2020r2

Supported for all project types and targets.

Called when a user switches between Light and Dark mode.

Notes

Use this event to update any graphics or other UI as needed.

See Also

ColorGroup class, Color.IsDarkMode method.