menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextBoxShapeImpl - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextBoxShapeImpl

    This class represents TextBox form control.

    Inheritance
    System.Object
    CommonObject
    ShapeImpl
    TextBoxShapeBase
    TextBoxShapeImpl
    Implements
    System.IDisposable
    ICloneParent
    INamedObject
    ITextBoxShapeEx
    ITextBoxShape
    ITextBox
    IShape
    IParentApplication
    Inherited Members
    CommonObject.AddReference()
    CommonObject.AppImplementation
    CommonObject.Application
    CommonObject.CheckDisposed()
    CommonObject.FindParent(Object, Type)
    CommonObject.FindParent(Object, Type, Boolean)
    CommonObject.FindParent(Type)
    CommonObject.FindParent(Type, Boolean)
    CommonObject.FindParent(Type[])
    CommonObject.FindParents(Type[])
    CommonObject.m_bIsDisposed
    CommonObject.Parent
    CommonObject.ReferenceCount
    CommonObject.ReleaseReference()
    CommonObject.SetParent(Object)
    ShapeImpl.AlternativeText
    ShapeImpl.AttachEvents()
    ShapeImpl.AutoSize
    ShapeImpl.BottomRow
    ShapeImpl.BottomRowOffset
    ShapeImpl.CanCopyShapesOnRangeCopy(Rectangle, Rectangle, Rectangle)
    ShapeImpl.CanInsertRowColumn(Int32, Int32, Boolean, Int32)
    ShapeImpl.ClientAnchor
    ShapeImpl.Clone(Object)
    ShapeImpl.CloneLineFill(ShapeImpl)
    ShapeImpl.CopyFillOptions(ShapeImpl, IDictionary)
    ShapeImpl.CopyFrom(ShapeImpl, Dictionary<String, String>, Dictionary<Int32, Int32>)
    ShapeImpl.CopyMoveShapeOnRangeCopyMove(WorksheetImpl, Rectangle, Boolean)
    ShapeImpl.CreateDefaultFillLineFormats()
    ShapeImpl.DEF_BACK_COLOR
    ShapeImpl.DEF_FORE_COLOR
    ShapeImpl.DEF_FULL_COLUMN_OFFSET
    ShapeImpl.DEF_FULL_ROW_OFFSET
    ShapeImpl.DEF_NOFILLHITTEST_VALUE
    ShapeImpl.DEF_SIZETEXTTOFITSHAPE_FALSE_VALUE
    ShapeImpl.DEF_SIZETEXTTOFITSHAPE_TRUE_VALUE
    ShapeImpl.DEF_TRANSPARENCY_MULL
    ShapeImpl.DEF_TRANSPARENCY_MULL_100
    ShapeImpl.DetachEvents()
    ShapeImpl.EvaluateTopLeftPosition()
    ShapeImpl.ExtractNecessaryOption(MsofbtOPT.FOPTE)
    ShapeImpl.Fill
    ShapeImpl.GenerateDefaultName()
    ShapeImpl.GetColorValue(MsofbtOPT.FOPTE)
    ShapeImpl.HasFill
    ShapeImpl.HasLineFormat
    ShapeImpl.Height
    ShapeImpl.HeightDouble
    ShapeImpl.Id
    ShapeImpl.ImageRelation
    ShapeImpl.ImageRelationId
    ShapeImpl.InnerSpRecord
    ShapeImpl.InsertRowColumn(Int32, Int32, Boolean)
    ShapeImpl.Instance
    ShapeImpl.IsMoveWithCell
    ShapeImpl.IsShapeVisible
    ShapeImpl.IsShortVersion
    ShapeImpl.IsSizeWithCell
    ShapeImpl.Left
    ShapeImpl.LeftColumn
    ShapeImpl.LeftColumnOffset
    ShapeImpl.LeftDouble
    ShapeImpl.Line
    ShapeImpl.m_bSupportOptions
    ShapeImpl.m_bUpdateLineFill
    ShapeImpl.m_options
    ShapeImpl.m_shape
    ShapeImpl.m_shapes
    ShapeImpl.Name
    ShapeImpl.Obj
    ShapeImpl.OldObjId
    ShapeImpl.OnAction
    ShapeImpl.OnDelete()
    ShapeImpl.OnDispose()
    ShapeImpl.ParentShapes
    ShapeImpl.ParentWorkbook
    ShapeImpl.ParseChildAnchor(MsofbtChildAnchor)
    ShapeImpl.ParseClientAnchor(MsofbtClientAnchor)
    ShapeImpl.ParseClientData(MsofbtClientData, ExcelParseOptions)
    ShapeImpl.ParseName(MsofbtOPT.FOPTE)
    ShapeImpl.ParseOption(MsofbtOPT.FOPTE)
    ShapeImpl.ParseShape(MsofbtSp)
    ShapeImpl.ParseShapeGroup(MsofbtSpgr)
    ShapeImpl.ParseShapeGroupContainer(MsofbtSpgrContainer)
    ShapeImpl.ParseUnKnown(MsoUnknown)
    ShapeImpl.PrepareForSerialization()
    ShapeImpl.Record
    ShapeImpl.RegisterInSubCollection()
    ShapeImpl.Remove()
    ShapeImpl.RemoveRowColumn(Int32, Int32, Boolean)
    ShapeImpl.RightColumn
    ShapeImpl.RightColumnOffset
    ShapeImpl.Scale(Int32, Int32)
    ShapeImpl.Serialize(MsofbtSpgrContainer)
    ShapeImpl.Serialize(MsofbtSpgrContainer, Boolean)
    ShapeImpl.SerializeCommentShadow(MsofbtOPT)
    ShapeImpl.SerializeForte(IFopteOptionWrapper, MsoOptions, Byte[])
    ShapeImpl.SerializeForte(IFopteOptionWrapper, MsoOptions, Byte[], Byte[], Boolean)
    ShapeImpl.SerializeForte(IFopteOptionWrapper, MsoOptions, Int32)
    ShapeImpl.SerializeForte(IFopteOptionWrapper, MsoOptions, Int32, Byte[], Boolean)
    ShapeImpl.SerializeHitTest(MsofbtOPT)
    ShapeImpl.SerializeMsoOptions(MsofbtOPT)
    ShapeImpl.SerializeName(MsofbtOPT, MsoOptions, String)
    ShapeImpl.SerializeOption(MsofbtOPT, MsoOptions, Int32)
    ShapeImpl.SerializeOption(MsofbtOPT, MsoOptions, UInt32)
    ShapeImpl.SerializeOptionSorted(MsofbtOPT, MsoOptions, UInt32)
    ShapeImpl.SerializeShape(MsofbtSpgrContainer, Boolean)
    ShapeImpl.SerializeShapeName(MsofbtOPT)
    ShapeImpl.SerializeShapeVisibility(MsofbtOPT)
    ShapeImpl.SerializeSizeTextToFit(MsofbtOPT)
    ShapeImpl.SetClientAnchor(MsofbtClientAnchor)
    ShapeImpl.SetName(String)
    ShapeImpl.SetObject(OBJRecord)
    ShapeImpl.SetOption(MsoOptions, Int32)
    ShapeImpl.SetParents()
    ShapeImpl.Shadow
    ShapeImpl.ShapeCount
    ShapeImpl.ShapeId
    ShapeImpl.ShapeRecord
    ShapeImpl.ShapeRotation
    ShapeImpl.ShapeType
    ShapeImpl.TextFrame
    ShapeImpl.ThreeD
    ShapeImpl.Top
    ShapeImpl.TopDouble
    ShapeImpl.TopRow
    ShapeImpl.TopRowOffset
    ShapeImpl.UpdateBottomRow()
    ShapeImpl.UpdateFormula(Int32, Int32, Rectangle, Int32, Rectangle)
    ShapeImpl.UpdateHeight()
    ShapeImpl.UpdateMso(MsoBase)
    ShapeImpl.UpdateNamedRangeIndexes(IDictionary<Int32, Int32>)
    ShapeImpl.UpdateNamedRangeIndexes(Int32[])
    ShapeImpl.UpdateNotSizeNotMoveShape(Boolean, Int32, Int32)
    ShapeImpl.UpdatePositions
    ShapeImpl.UpdateRightColumn()
    ShapeImpl.UpdateRightColumn(Int32)
    ShapeImpl.UpdateWidth()
    ShapeImpl.VmlShape
    ShapeImpl.Width
    ShapeImpl.WidthDouble
    ShapeImpl.Workbook
    ShapeImpl.Worksheet
    ShapeImpl.XmlDataStream
    ShapeImpl.XmlTypeStream
    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()
    TextBoxShapeBase.ColorObject
    TextBoxShapeBase.CopyFrom(TextBoxShapeBase, Dictionary<Int32, Int32>)
    TextBoxShapeBase.Dispose()
    TextBoxShapeBase.FillColor
    TextBoxShapeBase.GetClientTextBoxRecord(MsoBase)
    TextBoxShapeBase.GetClientTextBoxRecord(MsoBase, ExcelCommentVAlign)
    TextBoxShapeBase.HAlignment
    TextBoxShapeBase.InitializeVariables()
    TextBoxShapeBase.IsTextLocked
    TextBoxShapeBase.m_sheet
    TextBoxShapeBase.ParseClientTextBoxRecord(MsofbtClientTextBox, ExcelParseOptions)
    TextBoxShapeBase.ParseOtherRecords(MsoBase, ExcelParseOptions)
    TextBoxShapeBase.RichText
    TextBoxShapeBase.SerializeOptions(MsoBase)
    TextBoxShapeBase.SerializeTextDirection(MsofbtOPT)
    TextBoxShapeBase.TextRotation
    TextBoxShapeBase.UnknownBodyProperties
    TextBoxShapeBase.VAlignment
    Namespace: Syncfusion.XlsIO.Implementation.Shapes
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class TextBoxShapeImpl : TextBoxShapeBase, IDisposable, ICloneParent, INamedObject, ITextBoxShapeEx, ITextBoxShape, ITextBox, IShape, IParentApplication

    Constructors

    TextBoxShapeImpl(IApplication, Object, WorksheetImpl)

    Initialize new instance of the text box shape.

    Declaration
    public TextBoxShapeImpl(IApplication application, object parent, WorksheetImpl sheet)
    Parameters
    Type Name Description
    IApplication application

    Application object for the new shape.

    System.Object parent

    Parent object for the new shape.

    WorksheetImpl sheet

    TextBoxShapeImpl(IApplication, Object, MsofbtSpContainer, ExcelParseOptions)

    Initializes new instance of the text box shape.

    Declaration
    [CLSCompliant(false)]
    public TextBoxShapeImpl(IApplication application, object parent, MsofbtSpContainer shapeContainer, ExcelParseOptions options)
    Parameters
    Type Name Description
    IApplication application

    Application object for the new shape.

    System.Object parent

    Parent object for the new shape.

    MsofbtSpContainer shapeContainer

    Shape's container.

    ExcelParseOptions options

    Parsing options.

    Properties

    Coordinates2007

    Gets or sets the 2007 co-ordinates of TextBox

    Declaration
    public Rectangle Coordinates2007 { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    FieldId

    Gets or sets the field id of TextBox

    Declaration
    public string FieldId { get; set; }
    Property Value
    Type
    System.String

    FieldType

    Gets or sets the field type of TextBox

    Declaration
    public string FieldType { get; set; }
    Property Value
    Type
    System.String

    Hyperlink

    Get object that represents the hyperlink for the shape.

    Declaration
    public IHyperLink Hyperlink { get; }
    Property Value
    Type
    IHyperLink

    Text

    Gets or sets text box text respect with this value, isautosize updated

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    TextLink

    Specifies a formula linking to spreadhseet cell data

    Declaration
    public string TextLink { get; set; }
    Property Value
    Type
    System.String

    Methods

    Clone(Object, Dictionary<String, String>, Dictionary<Int32, Int32>, Boolean)

    Creates a clone of the current shape.

    Declaration
    public override IShape Clone(object parent, Dictionary<string, string> hashNewNames, Dictionary<int, int> dicFontIndexes, bool addToCollections)
    Parameters
    Type Name Description
    System.Object parent

    New parent for the shape object.

    System.Collections.Generic.Dictionary<System.String, System.String> hashNewNames

    Dictionary with new worksheet names.

    System.Collections.Generic.Dictionary<System.Int32, System.Int32> dicFontIndexes

    Dictionary with new font indexes.

    System.Boolean addToCollections

    Indicates whether we should add created shape into all necessary parent collections.

    Returns
    Type Description
    IShape

    A copy of the current shape.

    Overrides
    TextBoxShapeBase.Clone(Object, Dictionary<String, String>, Dictionary<Int32, Int32>, Boolean)

    CreateDefaultOptions()

    Creates default shape options.

    Declaration
    [CLSCompliant(false)]
    protected override MsofbtOPT CreateDefaultOptions()
    Returns
    Type Description
    MsofbtOPT

    Record with default option specified.

    Overrides
    TextBoxShapeBase.CreateDefaultOptions()

    OnPrepareForSerialization()

    This method is called inside of PrepareForSerialization to make shape-dependent preparations.

    Declaration
    protected override void OnPrepareForSerialization()
    Overrides
    ShapeImpl.OnPrepareForSerialization()

    SerializeShape(MsofbtSpgrContainer)

    Serializes current shape.

    Declaration
    [CLSCompliant(false)]
    protected override void SerializeShape(MsofbtSpgrContainer spgrContainer)
    Parameters
    Type Name Description
    MsofbtSpgrContainer spgrContainer

    Container that will receive this comment.

    Overrides
    ShapeImpl.SerializeShape(MsofbtSpgrContainer)

    Implements

    System.IDisposable
    ICloneParent
    INamedObject
    ITextBoxShapeEx
    ITextBoxShape
    ITextBox
    IShape
    IParentApplication
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved