2012年3月12日
摘要: <Style x:Key="RepliceMessageStyle" TargetType="TextBlock"> <Setter Property="HorizontalAlignment" Value="Left"></Setter> <Setter Property="FontSize" Value="12"></Setter> <Setter Property="Foreground&quo 阅读全文
posted @ 2012-03-12 20:12 轨 阅读(24891) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">var action = GetUrlKeyValue('accountname').toLowerCase();var loginName = "<%= Microsoft.SharePoint.SPContext.Current.Web.CurrentUser.LoginName.ToString().Replace('\\', '/').ToLower() %>";if((action.replace("\ 阅读全文
posted @ 2012-03-12 20:09 轨 阅读(266) 评论(0) 推荐(0) 编辑
摘要: class Program { static string[] HouZhuis = new string[] { ".png", ".gif", ".jpg" };static void Main(string[] args) { string startStr = "src=\""; string textStr = "img src=\"Blog/Lists/Photos/030912_0837_Testa1.png\" alt=\"\" style 阅读全文
posted @ 2012-03-12 20:03 轨 阅读(1299) 评论(0) 推荐(0) 编辑
  2011年11月10日
摘要: 博客园第一篇博文,算是对每天做的东西的一种总结,欢迎交流指正;通过后台绑定的方式绑定listbox的数据,包括模板样式;效果如下:前台页面:<Window.Resources> <!--listbox滚轮平缓动画效果--><ItemsPanelTemplate x:Key="ItemsPanelTemplate1"><VirtualizingStackPanel IsItemsHost="True"><i:Interaction.Behaviors><ei:FluidMoveBehavio 阅读全文
posted @ 2011-11-10 20:39 轨 阅读(6290) 评论(2) 推荐(1) 编辑