Class ExcelControl
An abstract class inherited by form controls
Inheritance
ExcelControl
Implements
Inherited Members
Namespace: OfficeOpenXml.Drawing.Controls
Assembly: EPPlus.dll
Syntax
public abstract class ExcelControl : ExcelDrawing, IDisposable
Properties
AlternativeText
Gets or sets the alternative text for the control.
Declaration
public string AlternativeText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AutoFill
If the controls fill formatting is provided automatically
Declaration
public bool AutoFill { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AutoPict
If the controls size is formatted automatically.
Declaration
public bool AutoPict { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ControlPropertiesXml
The control property xml associated with the control
Declaration
public XmlDocument ControlPropertiesXml { get; }
Property Value
| Type | Description |
|---|---|
| XmlDocument |
ControlType
The type of form control
Declaration
public abstract eControlType ControlType { get; }
Property Value
| Type | Description |
|---|---|
| eControlType |
DefaultSize
Returns true if the object is at its default size.
Declaration
public bool DefaultSize { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Disabled
If true, the object is allowed to run an attached macro
Declaration
public bool Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DrawingType
The type of drawing. Always set to Control
Declaration
public override eDrawingType DrawingType { get; }
Property Value
| Type | Description |
|---|---|
| eDrawingType |
Overrides
LinkedCell
Gets or sets the address to the cell that is linked to the control.
Declaration
public ExcelAddressBase LinkedCell { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelAddressBase |
Locked
The object is locked when the sheet is protected..
Declaration
public override bool Locked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Macro
Gets or sets the macro function assigned.
Declaration
public string Macro { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The name of the control
Declaration
public override string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
The object is printed when the document is printed.
Declaration
public override bool Print { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
ThreeDEffects
If the control has 3D effects enabled.
Declaration
public bool ThreeDEffects { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |