Class ExcelControl
An abstract class inherited by form controls
Inheritance
System.Object
    
    
    ExcelControl
      
      
      
      
      
  Implements
System.IDisposable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  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 | 
|---|---|
| System.String | 
AutoFill
If the controls fill formatting is provided automatically
Declaration
public bool AutoFill { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
AutoPict
If the controls size is formatted automatically.
Declaration
public bool AutoPict { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
ControlPropertiesXml
The control property xml associated with the control
Declaration
public XmlDocument ControlPropertiesXml { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Xml.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 | 
|---|---|
| System.Boolean | 
Disabled
If true, the object is allowed to run an attached macro
Declaration
public bool Disabled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
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 | 
|---|---|
| System.Boolean | 
Overrides
Macro
Gets or sets the macro function assigned.
Declaration
public string Macro { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Name
The name of the control
Declaration
public override string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
The object is printed when the document is printed.
Declaration
public override bool Print { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
ThreeDEffects
If the control has 3D effects enabled.
Declaration
public bool ThreeDEffects { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Implements
      System.IDisposable