Class FormControlShapeImpl
Class used for Form control shapes.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Shapes
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class FormControlShapeImpl : ShapeImpl, IDisposable, ICloneParent, INamedObject, IShape, IParentApplication
Constructors
FormControlShapeImpl(IApplication, object)
Initializes new instance of the shape.
Declaration
public FormControlShapeImpl(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object for the new shape. |
| object | parent | Parent object for the new shape. |
FormControlShapeImpl(IApplication, object, MsoBase)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsoBase shapeRecord)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object for the new shape. |
| object | parent | Parent object for the new shape. |
| MsoBase | shapeRecord | Record that describes the new shape. |
FormControlShapeImpl(IApplication, object, MsoBase[], int)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsoBase[] records, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object for the new shape. |
| object | parent | Parent object for the new shape. |
| MsoBase[] | records | Array of records that contains the record for new shape. |
| int | index | Index of the records for new shape. |
FormControlShapeImpl(IApplication, object, MsofbtSpContainer)
Initializes new instance of the shape.
Declaration
[CLSCompliant(false)]
public FormControlShapeImpl(IApplication application, object parent, MsofbtSpContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object for the new shape. |
| object | parent | Parent object for the new shape. |
| MsofbtSpContainer | container | Shape container record that describes the new shape. |
Properties
HyperLink
Get object that represents the hyperlink for the shape.
Declaration
public IHyperLink HyperLink { get; }
Property Value
| Type |
|---|
| IHyperLink |
IsArrowSelectedColor
Indicates whether list box arrow has default or selected color.
Declaration
public bool IsArrowSelectedColor { get; set; }
Property Value
| Type |
|---|
| bool |
Methods
Clone(object, Dictionary<string, string>, Dictionary<int, int>, bool)
Creates a clone of the current shape.
Declaration
public override IShape Clone(object parent, Dictionary<string, string> hashNewNames, Dictionary<int, int> dicFontIndexes, bool addToCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parent | New parent for the shape object. |
| Dictionary<string, string> | hashNewNames | Dictionary with new worksheet names. |
| Dictionary<int, int> | dicFontIndexes | Dictionary with new font indexes. |
| bool | addToCollection | Indicates whether we should add created shape into all necessary parent collections. |
Returns
| Type | Description |
|---|---|
| IShape | A copy of the current shape. |
Overrides
OnPrepareForSerialization()
This method is called inside of PrepareForSerialization to make shape-dependent preparations.
Declaration
protected override void OnPrepareForSerialization()
Overrides
ParseClientData(MsofbtClientData, ExcelParseOptions)
Parses client data.
Declaration
[CLSCompliant(false)]
protected override void ParseClientData(MsofbtClientData clientData, ExcelParseOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| MsofbtClientData | clientData | Data to parse. |
| ExcelParseOptions | options | Parse options. |
Overrides
SerializeOptions(MsoBase)
Serialize shape options.
Declaration
[CLSCompliant(false)]
protected override MsofbtOPT SerializeOptions(MsoBase parent)
Parameters
| Type | Name | Description |
|---|---|---|
| MsoBase | parent | Parent object. |
Returns
| Type | Description |
|---|---|
| MsofbtOPT | Record with serialized option. |
Overrides
SerializeShape(MsofbtSpgrContainer)
Serializes shape.
Declaration
[CLSCompliant(false)]
protected override void SerializeShape(MsofbtSpgrContainer spgrContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| MsofbtSpgrContainer | spgrContainer | Container to add shape. |