Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Getting conditional formatting from an existing cell

$
0
0
I haven't done this myself. However, since conditional formatting is stored at the sheet level, try the IXLWorksheet.ConditionalFormats read-only property. Each IXLConditionalFormat in that IEnumerable<IXLConditionalFormat> will have properties that show you which cells participate in the conditional formatting. You should be able to determin if your current cell is one of those.

I hope this helps.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>