■ UltraGrid 클래스에서 빈 행을 보여주는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
using System.Drawing; using Infragistics.Win.UltraWinGrid; private UltraGrid ultraGrid; ... this.ultraGrid.DisplayLayout.EmptyRowSettings.ShowEmptyRows = true; this.ultraGrid.DisplayLayout.EmptyRowSettings.Style = EmptyRowStyle.AlignWithDataRows; this.ultraGrid.DisplayLayout.EmptyRowSettings.RowSelectorAppearance.BackColor = Color.Gray; this.ultraGrid.DisplayLayout.EmptyRowSettings.RowAppearance.BackColor = Color.LightYellow; this.ultraGrid.DisplayLayout.EmptyRowSettings.CellAppearance.BackColor = Color.LightYellow; this.ultraGrid.DisplayLayout.EmptyRowSettings.EmptyAreaAppearance.BackColor = Color.LightSkyBlue; |