본문 바로가기
300x250

C#/DevExpress58

DevExpress / Winform GridView Column Header와 출력 될 행의 폰트 변경 하기. Column Header와 행의 폰트를 변경 할 수 있습니다. // 컬럼 헤더 폰트 변경하기. this.listGridView.Appearance.HeaderPanel.Font = new System.Drawing.Font("나눔고딕코딩", 12F, System.Drawing.FontStyle.Regular); // 행 폰트 변경하기. this.listGridView.Appearance.Row.Font = new System.Drawing.Font("나눔고딕코딩", 12F, System.Drawing.FontStyle.Regular); 2019. 4. 20.
DevExpress / Winform SearchControl에 값을 입력하여 CheckedListBoxControl 항목을 필터링 하기. SearchControl에 값을 입력하여 CheckedListBoxControl 항목을 필터링 할 수 있습니다. public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); List item = new List(); for (int i = 0; i < 5; i++) { item.Add(new Sample() { Name = "Sample" + i.ToString() }); } this.checkedListBoxControl1.DataSource = item; this.checkedListBoxControl1.DisplayMember = "Name"; this.che.. 2019. 4. 18.
DevExpress / Winform CheckedListBoxControl 전체 선택 및 전체 선택 해제하기. CheckedListBoxControl 에서 전체 선택 및 전체 선택 해제 하기 입니다. public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); this.checkedListBoxControl1.Items.Add("Check All"); this.checkedListBoxControl1.Items.AddRange(new object[] { "가", "나", "다", "라", "마",}); this.checkedListBoxControl1.ItemCheck += checkedListBoxControl1_ItemCheck; } #endregion #region c.. 2019. 4. 18.
DevExpress / Winform GridLookUpEdit 컨트롤에 새로운 값을 추가하기. GridLookUpEdit 컨트롤에 새로운 값을 추가할 수 있습니다. 기존의 존재하는 값을 사용하거나 새로운 문자열을 입력할 수 있습니다. using DevExpress.XtraEditors; using System; using System.Collections.Generic; using System.Windows.Forms; namespace WindowsFormsApp4 { public partial class Form1 : Form { #region Form1() /// /// 생성자 입니다. /// public Form1() { InitializeComponent(); InitLookUpEdit(); InitGridLookUpEdit(); } #endregion #region InitLookUpE.. 2019. 4. 18.
300x250