[]
The base of form controls.
public interface IControl
Gets the bottom right cell of this control.
IRange BottomRightCell { get; }
Indicates whether the control is enabled.
bool Enabled { get; set; }
Not supported by the *.ssjson format.
Returns the form control type of this control.
FormControlType FormControlType { get; }
The height of this control.
double Height { get; set; }
The left margin of this control.
double Left { get; set; }
Indicates whether the control is locked.
bool Locked { get; set; }
Not supported by the *.ssjson and *.sjs format.
Gets or sets the name of this control.
string Name { get; set; }
The parent object, typically IWorksheet. In some cases, the type of this property is IControl.
object Parent { get; }
Gets or sets the way a control is attached to its underlying cells.
Placement Placement { get; set; }
Indicates whether the control will be printed.
bool PrintObject { get; set; }
The shapes of this control.
IShapeRange ShapeRange { get; }
The top margin of this control.
double Top { get; set; }
Gets the top left cell of this control.
IRange TopLeftCell { get; }
Indicates whether the control is visible.
bool Visible { get; set; }
The width of this control.
double Width { get; set; }
The z-index of this control.
int ZOrder { get; }
Change z-index of this control to front.
bool BringToFront()
Remove this control from parent.
void Delete()
Send the Z-Index to back.
bool SendToBack()
Returns true if succeed.