随笔分类 - DevExpress
1
DevExpress
摘要:https://documentation.devexpress.com/#WPF/CustomDocument6129http://www.mindfiresolutions.com/DevExpress-GridView-How-to-Calculate-Customized-Summary-3...
阅读全文
摘要:绝对路径:img.Source=new BitmapImage(new Uri(@"d:\photo\backgrpunds\arch.jpb"));相对路径:img.Source=new BitmapImage(new Uri("images/winter.jpg", UriKind.Relative));
阅读全文
摘要:private ...
阅读全文
摘要:private void txtSearchPatientName_KeyDown_1(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { string searchStr = txtSearchPatientName.EditValue as string; if (searchStr != null) { SearchPa...
阅读全文
摘要:从本地加载图片 public class OpenPictureCommand : Command { protected override void Executed(object sender, ExecutedRoutedEventArgs e) { System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog(); //EventBinder.BindControl...
阅读全文
摘要:MaskType="RegEx" MaskUseAsDisplayFormat="True" Mask="[0-9]*"<dxe:TextEdit MaskType="Numeric" EditValue="{Binding Path=RowData.Row.TotalPrice}"
阅读全文
摘要:int iGroupRowHandle = this.gridControlView.FocusedRowHandle; if (iGroupRowHandle 0) { int childRowHandle = this.gridControl.GetChildRowHandle(iGroupRowHandle,0); if (childRowHandle > -1) { object...
阅读全文
摘要:方法一:纯代码this.list.gridControl.ItemsSource = lsItem; this.list.gridControl.GroupBy("GroupTitle"); this.list.gridControl.Columns["GroupTitle"].SortOrder = ColumnSortOrder.Descending; //this.list.gridControl.SortBy(this.list.gridControl.Columns["GroupTitle"],...
阅读全文
摘要:...
阅读全文
摘要:DisplayMember="ComboItemName" ValueMember="ComboItemCode"IsTextEditable="True" 是否可修改ValidateOnTextInput="False" 输入时不验证
阅读全文
摘要:1)定义模板资源 2)使用模板资源
阅读全文
1