[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IGroupBox

IGroupBox Interface

Represents a group box form control on a worksheet.

A group box is a content control that can display caption text and define a visual boundary for related form controls. It is commonly used to group option buttons so that buttons placed within the same group box behave as a related set.

Namespace: GrapeCity.Documents.Excel.Forms
Assembly: DS.Documents.Excel.dll
Syntax
public interface IGroupBox : IControl<IGroupBox>, IContentControl, IControl
Public Interface IGroupBox
    Inherits IControl(Of IGroupBox), IContentControl, IControl
Examples
IGroupBox groupBox = worksheet.Controls.AddGroupBox(20, 20, 140, 80);
groupBox.Text = "Priority";
groupBox.Display3DShading = true;
IOptionButton optionButton = worksheet.Controls.AddOptionButton(30, 45, 90, 18);
optionButton.Text = "High";

Properties

Name Description
Display3DShading

Gets or sets whether the group box uses 3D style.

Returns true if 3D shading is displayed for the group box; otherwise, false.