Table of Contents

Class ExcelControl

Namespace
OfficeOpenXml.Drawing.Controls
Assembly
EPPlus.dll

An abstract class inherited by form controls

public abstract class ExcelControl : ExcelDrawing, IDisposable
Inheritance
ExcelControl
Implements
Derived
Inherited Members

Properties

AlternativeText

Gets or sets the alternative text for the control.

public string AlternativeText { get; set; }

Property Value

string

AutoFill

If the controls fill formatting is provided automatically

public bool AutoFill { get; set; }

Property Value

bool

AutoPict

If the controls size is formatted automatically.

public bool AutoPict { get; set; }

Property Value

bool

ControlPropertiesXml

The control property xml associated with the control

public XmlDocument ControlPropertiesXml { get; }

Property Value

XmlDocument

ControlType

The type of form control

public abstract eControlType ControlType { get; }

Property Value

eControlType

DefaultSize

Returns true if the object is at its default size.

public bool DefaultSize { get; set; }

Property Value

bool

Disabled

If true, the object is allowed to run an attached macro

public bool Disabled { get; set; }

Property Value

bool

DrawingType

The type of drawing. Always set to Control

public override eDrawingType DrawingType { get; }

Property Value

eDrawingType

LinkedCell

Gets or sets the address to the cell that is linked to the control.

public ExcelAddressBase LinkedCell { get; set; }

Property Value

ExcelAddressBase

Locked

The object is locked when the sheet is protected..

public override bool Locked { get; set; }

Property Value

bool

Macro

Gets or sets the macro function assigned.

public string Macro { get; set; }

Property Value

string

Name

The name of the control

public override string Name { get; set; }

Property Value

string

Print

The object is printed when the document is printed.

public override bool Print { get; set; }

Property Value

bool

ThreeDEffects

If the control has 3D effects enabled.

public bool ThreeDEffects { get; set; }

Property Value

bool