menu

UWP

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

    Show / Hide Table of Contents

    Class OptionButtonShapeImpl

    This class represents option button form control.

    Inheritance
    System.Object
    CommonObject
    ShapeImpl
    TextBoxShapeBase
    OptionButtonShapeImpl
    Implements
    System.IDisposable
    ICloneParent
    INamedObject
    IOptionButtonShape
    ITextBoxShape
    ITextBox
    IShape
    IParentApplication
    Inherited Members
    CommonObject.AddReference()
    CommonObject.AppImplementation
    CommonObject.Application
    CommonObject.CheckDisposed()
    CommonObject.Finalize()
    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.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
    TextBoxShapeBase.ColorObject
    TextBoxShapeBase.CopyFrom(TextBoxShapeBase, Dictionary<Int32, Int32>)
    TextBoxShapeBase.Dispose()
    TextBoxShapeBase.FillColor
    TextBoxShapeBase.GetClientTextBoxRecord(MsoBase)
    TextBoxShapeBase.GetClientTextBoxRecord(MsoBase, ExcelCommentVAlign)
    TextBoxShapeBase.InitializeVariables()
    TextBoxShapeBase.IsTextLocked
    TextBoxShapeBase.m_sheet
    TextBoxShapeBase.ParseClientTextBoxRecord(MsofbtClientTextBox, ExcelParseOptions)
    TextBoxShapeBase.ParseOtherRecords(MsoBase, ExcelParseOptions)
    TextBoxShapeBase.SerializeTextDirection(MsofbtOPT)
    TextBoxShapeBase.Text
    TextBoxShapeBase.UnknownBodyProperties
    Namespace: Syncfusion.XlsIO.Implementation.Shapes
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public class OptionButtonShapeImpl : TextBoxShapeBase, IDisposable, ICloneParent, INamedObject, IOptionButtonShape, ITextBoxShape, ITextBox, IShape, IParentApplication

    Constructors

    OptionButtonShapeImpl(IApplication, Object)

    Initialize new instance of the text box shape.

    Declaration
    public OptionButtonShapeImpl(IApplication application, object parent)
    Parameters
    Type Name Description
    IApplication application

    Application object for the new shape.

    System.Object parent

    Parent object for the new shape.

    OptionButtonShapeImpl(IApplication, Object, MsofbtSpContainer, ExcelParseOptions)

    Initializes new instance of the option button shape.

    Declaration
    public OptionButtonShapeImpl(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.

    OptionButtonShapeImpl(IApplication, Object, MsofbtSpContainer, ExcelParseOptions, Int32)

    Initializes new instance of the option button shape.

    Declaration
    public OptionButtonShapeImpl(IApplication application, object parent, MsofbtSpContainer shapeContainer, ExcelParseOptions options, int optionButtonId)
    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.

    System.Int32 optionButtonId

    Properties

    CheckState

    Indicates whether check box is checked.

    Declaration
    public ExcelCheckState CheckState { get; set; }
    Property Value
    Type
    ExcelCheckState

    Display3DShading

    Gets or sets value indicating whether 3D shadow is present.

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

    HAlignment

    Horizontal alignment of the text.

    Declaration
    public ExcelCommentHAlign HAlignment { get; set; }
    Property Value
    Type
    ExcelCommentHAlign

    Hyperlink

    Get object that represents the hyperlink for the shape.

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

    InvokeEvent

    Invoke Event

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

    IsFirstButton

    indicates whether the option button is first button in the group

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

    LinkedCell

    Gets or sets formula link value.

    Declaration
    public IRange LinkedCell { get; set; }
    Property Value
    Type
    IRange

    RichText

    Rich Text

    Declaration
    public RichTextString RichText { set; }
    Property Value
    Type
    RichTextString

    TextRotation

    Text rotation.

    Declaration
    public ExcelTextRotation TextRotation { get; set; }
    Property Value
    Type
    ExcelTextRotation

    VAlignment

    Vertical alignment of the text.

    Declaration
    public ExcelCommentVAlign VAlignment { get; set; }
    Property Value
    Type
    ExcelCommentVAlign

    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 options.

    Declaration
    protected override MsofbtOPT CreateDefaultOptions()
    Returns
    Type Description
    MsofbtOPT

    MsofbtOPT record

    Overrides
    TextBoxShapeBase.CreateDefaultOptions()

    OnPrepareForSerialization()

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

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

    ParseClientData(MsofbtClientData, ExcelParseOptions)

    Parses client data record.

    Declaration
    protected override void ParseClientData(MsofbtClientData clientData, ExcelParseOptions options)
    Parameters
    Type Name Description
    MsofbtClientData clientData

    Record to parse.

    ExcelParseOptions options

    Parse options.

    Overrides
    ShapeImpl.ParseClientData(MsofbtClientData, ExcelParseOptions)

    SerializeOptions(MsoBase)

    Serializes comment's options.

    Declaration
    protected override MsofbtOPT SerializeOptions(MsoBase parent)
    Parameters
    Type Name Description
    MsoBase parent

    Parent record for options.

    Returns
    Type Description
    MsofbtOPT

    All options in MsofbtOPT record.

    Overrides
    TextBoxShapeBase.SerializeOptions(MsoBase)

    SerializeShape(MsofbtSpgrContainer)

    Serializes current shape.

    Declaration
    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
    IOptionButtonShape
    ITextBoxShape
    ITextBox
    IShape
    IParentApplication

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved