[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ILabelOptions.Visibility

Visibility Property

Visibility

Gets or sets whether the watermark is shown in the padding area, the cell area, or automatically based on the cell value.

Use visible to always show the watermark in the padding area, hidden to show it in the cell area based on the cell value, or auto to switch between the two behaviors automatically. If no visibility has been set, this property returns auto. SpreadJS only.

Declaration
LabelVisibility Visibility { get; set; }
Property Visibility As LabelVisibility
Examples
IRange range = worksheet.Range["A1"];
range.Watermark = "Required";
range.LabelOptions.Visibility = LabelVisibility.visible;
LabelVisibility visibility = range.LabelOptions.Visibility;