CommandBar for adding controls in Windows 8.1

Source: Internet
Author: User

The previous article introduced the AppBar content. This article continues to introduce how to use CommandBar. Compared with AppBar, CommandBar is relatively simple in terms of development and use. In the key layout, it can be divided into the master area (Primary Commands) and the Secondary control area (Secondary Commands). By default, the main control area is displayed on the right side of the menu, and the auxiliary control area is on the left side.

If the application menu bar contains only the AppBarButton, AppBarToggleButton, and AppBarSeparator controls, and there are no special layout format requirements, you can use the CommandBar control. When the application size changes, the CommandBar also adjusts the size.

 

As shown in, the buttons written to SecondaryCommands are assigned to the left of the menu bar. The CommandBar introduction is here. You can practice it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.