回复 1楼lypvc的帖子
样式可以通过以下方法设置:
- fpSpread1.Sheets[0].AllowNoteEdit = true;
- fpSpread1.Sheets[0].Cells[1, 1].Note = "test";
- fpSpread1.Sheets[0].Cells[1, 1].NoteIndicatorColor = Color.Green;
- fpSpread1.Sheets[0].Cells[1, 1].NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
- fpSpread1.Sheets[0].SetStickyNoteStyleInfo(1, 1, new FarPoint.Win.Spread.DrawingSpace.StickyNoteStyleInfo() { ForeColor = Color.Red });
复制代码
请问你指的改变编辑方式是?使 note 可编辑,可以使用 fpSpread1.Sheets[0].AllowNoteEdit = true; 属性来 控制。 |