Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
Tags
- C# 컬럼비교
- mssql 문자열 합치기
- C# Devexpress CheckListBoxControl 줄 바꿈
- CustomDrawColumnHeader
- C# column
- visualstudio 관리자권한
- 델파이
- C# build
- C# linq pivot
- C# 매크로
- C#
- 밀고
- C# WndProc
- ColumnHead MultiLine
- 해운대밀면
- devexpress grid
- RichEditControl
- 밀면
- Delphi
- drawgrid
- delphi JSON
- RichEditControl Bold
- C# 빌드이벤트
- C# 0x8001010d
- C# SendMessage
- Row Indicator
- C# Devexpress
- DataTable ReadOnly
- C# Devexpress CheckListBoxControl word wrap
- C# DataTable linq
Archives
- Today
- Total
개발자의 사투
XtraGrid ColumnHead MultiLine 설정하기 본문
1. GridView - ColumnPanelRowHeight 높이설정
2. 컬럼설정 Columns - AppearanceHeader - TextOption - WordWarp = Warp
3. 텍스트에 구분자를 추가 EX ( "가나다$마바사" )
Grid Evnet 추가 CustomDrawColumnHeader
private void gridView_CustomDrawColumnHeader(object sender, ColumnHeaderCustomDrawEventArgs e)
{
if (!e.Info.Caption.isNullOrEmpty() && e.Info.Caption != "")
{
e.Info.Caption = e.Info.Caption.ToString().Replace("$", Environment.NewLine); // 특문을 치환
e.Column.BestFit(); // 컬럼넓이 자동 조정
DevExpress.Utils.Text.StringPainter.Default.DrawString(e.Cache, e.Appearance, e.Info.Caption, e.Info.CaptionRect);
}
}'컴방 > C#' 카테고리의 다른 글
| C# string yyyymmdd to yyyy-MM-dd (0) | 2020.06.12 |
|---|---|
| C# 특정 문자열 찾아서 자르기 (0) | 2020.06.10 |
| OOP위험성 (0) | 2020.05.21 |
| C# devexpress printcontrol in xtrareport (0) | 2020.05.18 |
| C# 빌드이벤트 매크로 (0) | 2020.04.20 |
Comments