[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.ShowValue

ShowValue Property

ShowValue

Gets or sets whether cell values are displayed when the data bar conditional format is applied.

Use this property to show or hide the original cell values together with the data bars.

Declaration
bool ShowValue { get; set; }
Property ShowValue As Boolean
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{10}, {30}, {20}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
dataBar.ShowValue = false;
bool showValue = dataBar.ShowValue;