zoukankan      html  css  js  c++  java
  • wp8 入门到精通

    <StackPanel Orientation="Vertical">
    <StackPanel Orientation="Horizontal">
    <TextBlock Text="昵称:" Style="{StaticResource InStyle_SLMTB}"/>
    <Grid Margin="10,10,0,10" Width="320">
    <Rectangle x:Name="rect" RadiusX="5" RadiusY="5"
    StrokeThickness="2" Stroke="OrangeRed" />
    <TextBox Text="在此处放置其他内容-" BorderThickness="0" Background="Transparent" />
    </Grid>
    </StackPanel>
    <Line Stroke="Gray" StrokeThickness="1" X1="0" X2="480"/>
    </StackPanel>

    可自动换行的button

    <StackPanel Orientation="Horizontal">
    <TextBlock Text="兴趣爱好" Style="{StaticResource InStyle_HabitsMTB}"/>
    <Grid Margin="12,10,0,10" Width="156">
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <Rectangle x:Name="rect" StrokeThickness="3" Stroke="#FFDE1C1A"/>
    <TextBlock FontSize="22" Padding="2,7,0,7" Text="选性格特征性性格特征择"
    Foreground="Black" TextWrapping="Wrap" Margin="2,2,2,2" />
    </Grid>
    </StackPanel>

    如果用户控件出现了一下问题 无法确定调用方的应用程序标识

    说明你在用户控件里添加了独立存储操作。删掉就没事了或者是

    this.Loaded += (object sender, RoutedEventArgs e) =>
    {
    if ((Convert.ToBoolean(Utils.Instance.ReadStringObject("CloseStartup"))))
    DisStart();
    }; 这么加也可以

    请相信我吧。我找了一天。才找到。一定是独立存储的问题 TT

  • 相关阅读:
    Python 爬虫简介
    Python 线程池(小节)
    Python platform 模块
    Python term 模块
    python 统计使用技巧
    ArcGIS中的WKID(转)
    c#二维码资料
    How to remove live visual tree?
    新书预告 ArcGIS跨平台开发系列第一本
    visual studio 中删除多余的空白行
  • 原文地址:https://www.cnblogs.com/luquanmingren/p/3574013.html
Copyright © 2011-2022 走看看