Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the common settings in spread for. Net

Shulou Source: shulou.com Published: 2022-06-02 12:17:35 11月13日 Update

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!

Tags: Articles commonly used color selection value interest at the same time location more friends knowledge editing industry forms information information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB Microsoft OPPO Reno Shulou Tech Info