Windows 8 Store Apps Learning (3) Content controls

Source: Internet
Author: User
Tags xmlns

ToolTip, Frame, AppBar, ContentControl

Introduced

Re-imagine the content controls for Windows 8 Store Apps

ToolTip-Prompt Box control

Frame-framework control, for navigating content

AppBar-Application Bar controls

ContentControl Contentpresenter-contentpresenter used to present the Content of ContentControl

Re-visualize the container control for Windows 8 Store Apps

Border-border control

Viewbox-container control that controls how child elements are stretched

Popup-Pop-up box control

Example

1, ToolTip's Demo

Tooltipdemo.xaml

<page x:class= "XamlDemo.Controls.ToolTipDemo" xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/presentat Ion "xmlns:x=" Http://schemas.microsoft.com/winfx/2006/xaml "xmlns:local=" Using:XamlDemo.Controls "xmlns:d=" htt p://schemas.microsoft.com/expression/blend/2008 "xmlns:mc=" http://schemas.openxmlformats.org/ markup-compatibility/2006 "mc:ignorable=" D "> <grid background=" Transparent "> <st Ackpanel name= "root" margin= "0 0 0" > <textblock text= "TextBlock" Tooltipservi Ce.   
                tooltip= "Tooltipservice.tooltip" tooltipservice.placement= "Bottom" fontsize= "14.667"/> <!-- TOOLTIP-Hint box control content-hint placement-the display location of the prompt box (Botto   
                    M, right, Mouse, left, top) IsOpen-whether the prompt box is visible Closed-events triggered when the prompt box closes   
       Opened-Events triggered after the prompt box is opened     --> <textblock text= "TextBlock" fontsize= "14.667" margin= "0 0 0" > < tooltipservice.tooltip> <tooltip name= "ToolTip content=" Tooltipservice.tooltip "placement=" Bo   
                 
        Ttom "/> </ToolTipService.ToolTip> </TextBlock> </StackPanel> </Grid> </Page>

Related Article

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.