alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ExpandIcon

    The icon shown on an expandable node while it is expanded (ExpandIcon) or collapsed (CollapseIcon).

    Inheritance
    object
    DiagramElement
    ExpandIcon
    Inherited Members
    DiagramElement.OnPropertyChanged(string)
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public class ExpandIcon : DiagramElement
    Remarks

    When Shape is set to None, no icon is rendered, and the expand/collapse interaction is disabled for the node. All other properties (Width, Height, Fill, etc.) are ignored when the shape is None. This behavior is consistent across all serialization formats (flush JSON, diagram state persistence, etc.).

    Constructors

    ExpandIcon()

    Declaration
    public ExpandIcon()

    Fields

    BorderColorProperty

    Identifies the BorderColor bindable property.

    Declaration
    public static readonly BindableProperty BorderColorProperty
    Field Value
    Type
    BindableProperty

    BorderWidthProperty

    Identifies the BorderWidth bindable property.

    Declaration
    public static readonly BindableProperty BorderWidthProperty
    Field Value
    Type
    BindableProperty

    CornerRadiusProperty

    Identifies the CornerRadius bindable property.

    Declaration
    public static readonly BindableProperty CornerRadiusProperty
    Field Value
    Type
    BindableProperty

    FillProperty

    Identifies the Fill bindable property.

    Declaration
    public static readonly BindableProperty FillProperty
    Field Value
    Type
    BindableProperty

    HeightProperty

    Identifies the Height bindable property.

    Declaration
    public static readonly BindableProperty HeightProperty
    Field Value
    Type
    BindableProperty

    IconColorProperty

    Identifies the IconColor bindable property.

    Declaration
    public static readonly BindableProperty IconColorProperty
    Field Value
    Type
    BindableProperty

    OffsetProperty

    Identifies the Offset bindable property.

    Declaration
    public static readonly BindableProperty OffsetProperty
    Field Value
    Type
    BindableProperty

    PathDataProperty

    Identifies the PathData bindable property.

    Declaration
    public static readonly BindableProperty PathDataProperty
    Field Value
    Type
    BindableProperty

    ShapeProperty

    Identifies the Shape bindable property.

    Declaration
    public static readonly BindableProperty ShapeProperty
    Field Value
    Type
    BindableProperty

    WidthProperty

    Identifies the Width bindable property.

    Declaration
    public static readonly BindableProperty WidthProperty
    Field Value
    Type
    BindableProperty

    Properties

    BorderColor

    Gets or sets the icon's border color. Defaults to #6D6D6D.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    Color

    BorderWidth

    Gets or sets the icon's border width. Defaults to 1.

    Declaration
    public double BorderWidth { get; set; }
    Property Value
    Type
    double

    CornerRadius

    Gets or sets the icon's corner radius. Defaults to 7.

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type
    double

    Fill

    Gets or sets the icon's background fill. Defaults to white.

    Declaration
    public Color Fill { get; set; }
    Property Value
    Type
    Color

    Height

    Gets or sets the icon height. Defaults to 14.

    Declaration
    public double Height { get; set; }
    Property Value
    Type
    double

    IconColor

    Gets or sets the icon's glyph color. Defaults to #333333.

    Declaration
    public Color IconColor { get; set; }
    Property Value
    Type
    Color

    Offset

    Gets or sets the icon's position relative to the node bounds (0..1). Defaults to bottom-center.

    Declaration
    public Point Offset { get; set; }
    Property Value
    Type
    Point

    PathData

    Gets or sets the icon geometry, used when Shape is Path.

    Declaration
    public string? PathData { get; set; }
    Property Value
    Type
    string

    Shape

    Gets or sets the icon shape. With Path, PathData supplies the geometry.

    Declaration
    public IconShapeModel Shape { get; set; }
    Property Value
    Type
    IconShapeModel

    Width

    Gets or sets the icon width. Defaults to 14.

    Declaration
    public double Width { get; set; }
    Property Value
    Type
    double
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved