Gets the bounding rect of this control.
Namespace: MindFusion.Common
Assembly: Control.js
JavaScript
![]() |
---|
get rect() {} |
Rect. The bounding rect.
The following code checks if the rect of a Menu instance is wider than 100:
JavaScript
![]() |
---|
menu.theme = sender.theme; if(menu.rect.width > 100) |