随笔分类 -  SilverLight

摘要:<StackPanelx:Name="StackPanelPerson"Grid.Row="1"Width="200"><TextBoxText="{BindingMode=TwoWay,Path=UnitPrice,ValidatesOnExceptions=True,NotifyOnValidationError=True,StringFormat=\{0:F\}}"/><TextBoxHeight="23"Text="{BindingMode=Two 阅读全文
posted @ 2012-08-11 00:35 skydau 阅读(275) 评论(0) 推荐(0)
摘要:public class ToPercentConverter : IValueConverter { #region IValueConverter Members public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { decimal valuedecimal; if (decimal.TryParse(value.ToString(), out valuedecimal))... 阅读全文
posted @ 2012-08-10 22:58 skydau 阅读(178) 评论(0) 推荐(0)
摘要:<UserControlx:Class="SilverlightApplication3.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://sc 阅读全文
posted @ 2012-07-09 18:03 skydau 阅读(201) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/wackelbh/article/details/6248136<UserControlx:Class="SilverlightApplication2.MainPage"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.co 阅读全文
posted @ 2012-07-05 00:25 skydau 阅读(243) 评论(0) 推荐(0)