menu

WPF

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

    Show / Hide Table of Contents

    Class GraphicObject

    Represents a class that maintains the information about the GraphicObject (Shape, Value and Name).

    Inheritance
    System.Object
    GraphicObject
    Implements
    System.IDisposable
    Inherited Members
    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()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class GraphicObject : 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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved