摘要:
Popup的 PlacementTarget属性为绑定某个控件 Placement为上下左右方位,效果如下 TextBox <TextBox x:Name="txt_Code" Grid.Column="1" Width="200" Height="28" FontSize="18" Horizon 阅读全文
摘要:
只能输入数字和并保留两位小数点 private void txt_PreviewTextInput(object sender, TextCompositionEventArgs e) { Regex re = new Regex("[^0-9.-]+"); e.Handled = re.IsMat 阅读全文
摘要:
<Path Data="M 0,100 Q 35,140 54,190 Q 100,45 168,0 S 90,40 50,150 Q 40,136 0,100 Z " Fill="GreenYellow" Stretch="Fill" Margin="50,0,0,0" VerticalAlign 阅读全文