What are the common settings in spread for. Net
This article mainly introduces what are the commonly used settings in spread for. Net, which can be used for reference by interested friends. I hope you can learn a lot after reading this article.
1. The interlaced color of the table
FpSpread1.Sheets [0] .AlternatingRows.Count = 2HitfpSpread1.Sheets [0] .AlternatingRows [0] .BackColor = Color.GreenYellow; fpSpread1.Sheets [0] .AlternatingRows [1] .BackColor = Color.LightYellow
two。 Row selection and color after selection
FpSpread1.ActiveSheetView.OperationMode = FarPoint.Web.Spread.OperationMode.RowMode;FpSpread1.ActiveSheetView.SelectionBackColor = Color.Pink
FpSpread1.Sheets [0] refers to the first sheet
FpSpread1.ActiveSheetView refers to the current sheet page
Thank you for reading this article carefully. I hope the article "what are the common settings in spread for. Net" shared by the editor will be helpful to you. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!