Class GraphicObject
Represents a class that maintains the information about the GraphicObject (Shape, Value and Name).
Inheritance
System.Object
GraphicObject
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class GraphicObject : Object, IDisposable
Constructors
GraphicObject(ShapeImpl, Object)
Initializes an instance of GraphicObject.
Declaration
public GraphicObject(ShapeImpl shape, object content)
Parameters
Type | Name | Description |
---|---|---|
ShapeImpl | shape | An instance ofShapeImpl |
System.Object | content | Content of ShapeImpl |
Properties
Chart
Gets or sets the instance of IChart which represents a chart sheet.
Declaration
public IChart Chart { get; set; }
Property Value
Type | Description |
---|---|
IChart | An instance of IChart |
Content
Gets or sets the content of ShapeImpl which holds the information about implementation of Shapes.
Declaration
public object Content { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Content of the ShapeImpl |
Remarks
Contents like TextBox, Image,..
Name
Gets or sets the name of ShapeImpl which holds the information about implementation of Shapes..
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | Name of the shape |
Shape
Gets or sets the instance of ShapeImpl which holds the information about implementation of Shapes.
Declaration
public ShapeImpl Shape { get; set; }
Property Value
Type | Description |
---|---|
ShapeImpl | An instance of ShapeImpl |
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Implements
System.IDisposable