Skip to content

Class ExcelControl

Namespace: OfficeOpenXml.Drawing.Controls
Assembly: EPPlus.dll

An abstract class inherited by form controls

public abstract class ExcelControl : ExcelDrawing, IDisposable

Inheritance

object ← XmlHelper ← ExcelDrawing ← ExcelControl

Derived

ExcelControlDialog
ExcelControlList
ExcelControlScrollBar
ExcelControlSpinButton
ExcelControlWithText

Implements

IDisposable

Inherited Members

ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.As
ExcelDrawing.BringToFront()
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, int, int, int, int)
ExcelDrawing.ChangeCellAnchor(eEditAs)
ExcelDrawing.Copy(ExcelChartStandard, int, int)
ExcelDrawing.Copy(ExcelWorksheet, int, int, int, int)
ExcelDrawing.Description
ExcelDrawing.Dispose()
ExcelDrawing.DrawingType
ExcelDrawing.EditAs
ExcelDrawing.EMU_PER_CM
ExcelDrawing.EMU_PER_MM
ExcelDrawing.EMU_PER_PICA
ExcelDrawing.EMU_PER_PIXEL
ExcelDrawing.EMU_PER_POINT
ExcelDrawing.EMU_PER_US_INCH
ExcelDrawing.From
ExcelDrawing.Group(params ExcelDrawing[])
ExcelDrawing.Hyperlink
ExcelDrawing.Locked
ExcelDrawing.Name
ExcelDrawing.ParentGroup
ExcelDrawing.Position
ExcelDrawing.Print
ExcelDrawing.SendToBack()
ExcelDrawing.SetPosition(int, int, int, int)
ExcelDrawing.SetPosition(int, int)
ExcelDrawing.SetSize(int, int)
ExcelDrawing.SetSize(int)
ExcelDrawing.Size
ExcelDrawing.To
ExcelDrawing.UnGroup(bool)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

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