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