Skip to content

Class ExcelControlButton

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

Represents a button form control

public class ExcelControlButton : ExcelControlWithText, IDisposable

Inheritance

object ← XmlHelper ← ExcelDrawing ← ExcelControl ← ExcelControlWithText ← ExcelControlButton

Implements

IDisposable

Inherited Members

ExcelControl.AlternativeText
ExcelControl.AutoFill
ExcelControl.AutoPict
ExcelControl.ControlPropertiesXml
ExcelControl.ControlType
ExcelControl.DefaultSize
ExcelControl.Disabled
ExcelControl.DrawingType
ExcelControl.LinkedCell
ExcelControl.Locked
ExcelControl.Macro
ExcelControl.Name
ExcelControl.Print
ExcelControl.ThreeDEffects
ExcelControlWithText.LockedText
ExcelControlWithText.RichText
ExcelControlWithText.Text
ExcelControlWithText.TextBody
ExcelDrawing.AdjustPositionAndSize()
ExcelDrawing.As
ExcelDrawing.BringToFront()
ExcelDrawing.CellAnchor
ExcelDrawing.ChangeCellAnchor(eEditAs, int, int, int, int)
ExcelDrawing.ChangeCellAnchor(eEditAs)
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

AutomaticSize

If size is automatic

public bool AutomaticSize { get; set; }

Property Value

bool

ControlType

The type of form control

public override eControlType ControlType { get; }

Property Value

eControlType

LayoutFlow

The buttons text layout flow

public eLayoutFlow LayoutFlow { get; set; }

Property Value

eLayoutFlow

Margin

The buttons margin settings

public ExcelControlMargin Margin { get; }

Property Value

ExcelControlMargin

Orientation

Text orientation

public eShapeOrientation Orientation { get; set; }

Property Value

eShapeOrientation

ReadingOrder

The reading order for the text

public eReadingOrder ReadingOrder { get; set; }

Property Value

eReadingOrder

TextAlignment

How the text is aligned

public eTextAlignment TextAlignment { get; set; }

Property Value

eTextAlignment