첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
본 블로그는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 블로그 콘텐츠 향상을 위해 쓰여집니다.

728x90
반응형

fpSpread1.ActiveSheet.Cells[0, 1].Value = "This is default.";
fpSpread1.ActiveSheet.Cells[1, 1].Value = "This is custom.";
fpSpread1.ActiveSheet.Cells[2, 1].Value = "This is locked.";
fpSpread1.ActiveSheet.Cells[3, 1].Value = "This is selected.";

fpSpread1.ActiveSheet.Cells[1, 1].BackColor = Color.LimeGreen;
fpSpread1.ActiveSheet.Cells[1, 1].ForeColor = Color.Yellow;

fpSpread1.ActiveSheet.Cells[2, 1].Locked = true;

fpSpread1.ActiveSheet.Protect = true;

fpSpread1.ActiveSheet.LockBackColor = Color.Brown;
fpSpread1.ActiveSheet.LockForeColor = Color.Orange;
   
fpSpread1.ActiveSheet.SelectionStyle  = FarPoint.Win.Spread.SelectionStyles.SelectionColors;
fpSpread1.ActiveSheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Range;
fpSpread1.ActiveSheet.SelectionUnit   = FarPoint.Win.Spread.Model.SelectionUnit.Cell;

fpSpread1.ActiveSheet.SelectionBackColor = Color.Pink;
fpSpread1.ActiveSheet.SelectionForeColor = Color.Red;
728x90
반응형
그리드형(광고전용)
Posted by 사용자 icodebroker

댓글을 달아 주세요