Show / Hide Table of Contents

Class ExcelControl

An abstract class inherited by form controls

Inheritance
System.Object
XmlHelper
ExcelDrawing
ExcelControl
ExcelControlDialog
ExcelControlList
ExcelControlScrollBar
ExcelControlSpinButton
ExcelControlWithText
Implements
System.IDisposable
Inherited Members
ExcelDrawing.EMU_PER_PIXEL
ExcelDrawing.EMU_PER_POINT
ExcelDrawing.EMU_PER_CM
ExcelDrawing.EMU_PER_MM
ExcelDrawing.EMU_PER_US_INCH
ExcelDrawing.EMU_PER_PICA
ExcelDrawing._doNotAdjust
ExcelDrawing.Description
ExcelDrawing.EditAs
ExcelDrawing.From
ExcelDrawing.Position
ExcelDrawing.Size
ExcelDrawing.To
ExcelDrawing.Hyperlink
ExcelDrawing.As
ExcelDrawing.SetPosition(Int32, Int32)
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, Int32, Int32, Int32, Int32)
ExcelDrawing.ChangeCellAnchor(eEditAs)
ExcelDrawing.SetPosition(Int32, Int32, Int32, Int32)
ExcelDrawing.SetSize(Int32)
ExcelDrawing.SetSize(Int32, Int32)
ExcelDrawing.SendToBack()
ExcelDrawing.BringToFront()
ExcelDrawing.Group(ExcelDrawing[])
ExcelDrawing.UnGroup(Boolean)
ExcelDrawing.ParentGroup
ExcelDrawing.Dispose()
ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.CreateShapeNode()
ExcelDrawing.CreateClientData()
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, IPictureContainer

Constructors

ExcelControl(ExcelDrawings, XmlNode, String, ExcelGroupShape)

Declaration
protected ExcelControl(ExcelDrawings drawings, XmlNode drawingNode, string name, ExcelGroupShape parent = null)
Parameters
Type Name Description
ExcelDrawings drawings
System.Xml.XmlNode drawingNode
System.String name
ExcelGroupShape parent

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
ExcelDrawing.DrawingType

FmlaLink

Declaration
protected ExcelAddressBase FmlaLink { get; set; }
Property Value
Type Description
ExcelAddressBase

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

LinkedGroup

Declaration
protected ExcelAddressBase LinkedGroup { 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
ExcelDrawing.Locked

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
ExcelDrawing.Name

Print

The object is printed when the document is printed.

Declaration
public override bool Print { get; set; }
Property Value
Type Description
System.Boolean
Overrides
ExcelDrawing.Print

ThreeDEffects

If the control has 3D effects enabled.

Declaration
public bool ThreeDEffects { get; set; }
Property Value
Type Description
System.Boolean

Methods

SetLinkedCellValue(Int32)

Declaration
protected void SetLinkedCellValue(int value)
Parameters
Type Name Description
System.Int32 value

Implements

System.IDisposable
Back to top Generated by DocFX