WPF基础

https://www.cnblogs.com/kuangxiangnice/p/5820631.html

WPF 渐变色

<Grid Name="grid1">
<Grid.Background>
<LinearGradientBrush>
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.00" Color="Red"/>
<GradientStop Offset="0.50" Color="Indigo"/>
<GradientStop Offset="1.00" Color="Violet"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Grid.Background>
</Grid>

WPF基础

 

 

<StackPanel HorizontalAlignment="Left" Height="102" Margin="184,186,0,0" VerticalAlignment="Top" Width="259">
<Button Content="Button"/>
<Button Content="Button"/>
<Button Content="Button"/>
</StackPanel>

自动堆积面板

WPF基础

 

 https://www.cnblogs.com/xiaowie/p/9355585.html

使用WrapPanel 和 DockPanel

 

WPF基础

上一篇:HDU 5059 Help him(细节)


下一篇:openresty开发系列11--openresty的api入门