menu

WPF

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

    Show / Hide Table of Contents

    Class AccordionButton

    Represents the header for an accordion item.

    Inheritance
    System.Object
    AccordionButton
    Namespace: Syncfusion.Windows.Controls.Layout
    Assembly: Syncfusion.SfAccordion.WPF.dll
    Syntax
    public class AccordionButton : ToggleButton
    Remarks

    By creating a seperate control, there is more flexibility in the templating possibilities.

    Constructors

    AccordionButton()

    Initializes a new instance of the AccordionButton class.

    Declaration
    public AccordionButton()

    Properties

    AccentBrush

    Gets or sets the accent brush

    Declaration
    public SolidColorBrush AccentBrush { get; set; }
    Property Value
    Type
    System.Windows.Media.SolidColorBrush

    Methods

    OnMouseEnter(MouseEventArgs)

    Occurs when the focus is obtained

    Declaration
    protected override void OnMouseEnter(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseLeave(MouseEventArgs)

    Occurs when the focus is lost

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved