摘要:
分布式缓存框架: Microsoft Velocity:微软自家分布式缓存服务框架。 Memcahed:一套分布式的高速缓存系统,目前被许多网站使用以提升网站的访问速度。 Redis:是一个高性能的KV数据库。 它的出现很大程度补偿了Memcached在某些方面的不足。 EnyimMemcached 阅读全文
摘要:
DataGrid的最后一列的宽度设置为“Width=”auto””即可。 如果显示指定长度或者设置为“*”,那么不管怎么拖动列头,或者不管行里面的内容有没有超过DataGrid的显示区域,DataGrid的横向滚动条都不会显示出来。 转载声明:本文转载至http://www.cnblogs.com/ 阅读全文
摘要:
/// <summary> /// 允许输入数字的TextBox,禁止粘贴,允许backspace、left、right、enter键 /// </summary> public class NumberTextBox : TextBox { public NumberTextBox() { Dat 阅读全文
摘要:
<MediaElement x:Name="myGif" MediaEnded="myGif_MediaEnded" UnloadedBehavior="Manual" Source="file://C:\Images\waiting.GIF" LoadedBehavior="Play" Stret 阅读全文
摘要:
[ContentProperty("Target")] public class GridLineDecorator : FrameworkElement { private ListView _target; private DrawingVisual _gridLinesVisual = new 阅读全文
摘要:
xaml <DataGrid x:Name="myGrd" ItemsSource="{Binding SearchItems}" SelectedItem="{Binding SelectedItem}" SelectionMode="Single" SelectionUnit="FullRow" 阅读全文