Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Diagonal cell border
posted

I'm creating an excel spreadsheet using Infragistics 10.3. One of the requirement is to display and event (some text) in a cell with the cell backcolor set to green. If the event is cancel the client still wants it to be displayed except with a single diagonal black stripe through the cell. This is easy to do in excel by using the diagonal border however through the 

Worksheet.Rows(i).Cells(j).CellFormat

 

 

 class there is no diagonal border property available. I've tried using the FillPatternStyle but cannot get the desired effect. How would I go about getting a single black diagonal line through a cell?