I'm trying to create a banded table where the odd rows are shaded.
The following code which I copied from the documentation cannot be compiled.
Visual Studio claims that ConditionalFormattingStyle is inaccessible due to its protection level and that tableStyle does not have the member ConditionalFormattingStyles.
using Syncfusion.DocIO;
using Syncfusion.DocIO.DLS;
WTableStyle tableStyle = table.GetStyle() as WTableStyle;
ConditionalFormattingStyle oddRowBandingStyle = tableStyle.ConditionalFormattingStyles.Add(ConditionalFormattingType.OddRowBanding);
oddRowBandingStyle.CellProperties.BackColor = Color.WhiteSmoke;
What am I doing wrong?