■ TreeListColumn 클래스의 AppearanceCell 속성을 사용해 컬럼 스타일을 설정하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
using System.Drawing; using DevExpress.XtraTreeList; ... private TreeList treeList; ... this.treeList.Columns["Budget"].AppearanceCell.ForeColor = Color.DarkOrange; this.treeList.Columns["Budget"].AppearanceCell.BackColor = Color.PeachPuff; this.treeList.Columns["Budget"].AppearanceCell.Font = new Font("Verdana", 8, FontStyle.Bold); |