본문 바로가기

devExpress29

c# devExpress LookUpEditor 바인딩 윈폼. c# 윈폼에서 devExpress LookUpEditor 컨트롤 바인딩. public static void BindLookUpEdit(this LookUpEdit lue, DataTable dt , string text , string value , bool isTop = false , string allNm = "전체" ) { lue.Properties.DataSource = null; DataTable dtC = dt.Copy(); if (isTop) { DataRow dr = dtC.NewRow(); dr[value] = string.Empty; dr[text] = allNm; dtC.Rows.InsertAt(dr, 0); dtC.AcceptChanges(); } //데이터 바인딩 lue.Prope.. 2023. 11. 13.
c# devExpress RichEditor에서 예약어 컬러링 CustomSyntaxHighlightService 출처 https://laptrinhvb.net/bai-viet/ebook-it/--DEVEXPRESS---Format-code-T-SQL-highlight-in-RichEditControl--/7c0d6f6daf733868.html using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using DevExpress.Office.Utils; using DevExpress.XtraRichEdit.API.Native; using DevExpress.XtraRichEdit.Services; using System.Linq; using System.Text.Regul.. 2023. 11. 13.
DevExpress GridControl 특정 셀에 핸드 커서 표시 public static void GridBandColumnHandCursor(BandedGridView view, params string[]fieldName) { view.MouseMove += (sender, e) => HandCursor_BandedGridView_MouseMove(sender, e, fieldName); } private static void HandCursor_BandedGridView_MouseMove(object sender, MouseEventArgs e, params string[]fieldName) { BandedGridView view = sender as BandedGridView; if (view != null) { DevExpress.XtraGrid.Views... 2023. 11. 13.
DevExpress SreadsheetControl 데브익스프레스의 스프레드시트컨트롤에 엑셀 파일을 바인딩 시키고 로드된 시트 데이타의 위치(좌표) 정보를 가져오는 예. SreadsheetControl spread = new SpreadsheetControl(); spread.LoadDocument(localFileName, DocumentFormat.Xlsx); Worksheet sheet = spread.Document.Worksheets[0]; Range usedRange = spread.Document.Worksheets[0].GetUsedRange(); int topRowIndex = usedRange.TopRowIndex; int bottomRowIndex = usedRange.BottomRowIndex; int leftColumnIndex =.. 2023. 11. 13.
반응형