zoukankan      html  css  js  c++  java
  • 第一次运行起来XAML

    经过两次的安装,终于将Windows SDK安装进去,马上试验了XamlPad,很多xaml都跑不起来(不认Class节点:( ,最后修改出一个,先纪念一下:
    <Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
          xmlns:x
    ="http://schemas.microsoft.com/winfx/xaml/2005">
      
    <StackPanel Orientation="Vertical">        
          
    <TextBlock DockPanel.Dock="Top"
                      Margin
    ="10,10,10,10">Enter Text for Page 2</TextBlock>
          
    <TextBox  Name="txtBox"
                          Width
    ="150" 
                          Height
    ="30" 
                          Horizonta<TextBox AcceptsReturn
    ='True' VerticalScrollBarVisibility='Visible'></TextBox>lAlignment="Left"
                          
    Margin="10,10,10,10"/>
          
    <Button
                  
    Height="30"
                  Width
    ="150" 
                        HorizontalAlignment
    ="Left"
                        Margin
    ="10,10,10,10"
                  Content
    ="Go To Page 2"/>
      
    </StackPanel>
    </Page>

    显示的效果如下:
  • 相关阅读:
    commons-dbutils实现增删改查(spring新注解)
    commons-dbutils实现增删改查
    配置扫描注解的包
    常用注解
    注入集合类型数据
    spring创建bean的三种方式
    switch
    jvm编译器的优化
    java9小工具jshell
    java三元运算符
  • 原文地址:https://www.cnblogs.com/tansm/p/335114.html
Copyright © 2011-2022 走看看