You can set the control’s properties to these formulas: X: 0 Suppose you have a control that you want to occupy the top half of the screen on a device in portrait orientation, or the left half of the screen in landscape orientation. ![]() ![]() This is useful for customizing your app experience for each orientation if you desire. The screen’s new Orientation property tells you the current orientation of the device or window in which your app is running: Layout.Vertical or Layout.Horizontal. ![]() The addition of these properties won’t change the default behavior of your canvas apps they’re optional things you can choose to use if you find them convenient. ![]() If you’ve started building responsive canvas apps by crafting size and position formulas on your controls, we’ve added some properties that may help you simplify your responsive formulas for some common situations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |