menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IShape - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IShape

    Represents a graphic shape object.

    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public interface IShape

    Properties

    StyleName

    Gets name of style attached to the shape.

    Declaration
    string StyleName { get; }
    Property Value
    Type
    System.String

    Methods

    ApplyStyle(String)

    Attaches style to the shape.

    Declaration
    void ApplyStyle(string styleName)
    Parameters
    Type Name Description
    System.String styleName

    Style to be attached to the shape.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved