menu

Blazor

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

    Show / Hide Table of Contents

    Class CollapseEventArgs

    Provides information about the RibbonCollapsing event callback.

    Inheritance
    System.Object
    CollapseEventArgs
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CollapseEventArgs : Object
    Remarks

    Use this event to handle logic before the ribbon collapses. You can cancel the collapse action by setting Cancel to true.

    Constructors

    CollapseEventArgs()

    Declaration
    public CollapseEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the collapse action should be canceled.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the collapse action should be canceled; otherwise, false. The default value is false.

    Remarks

    Prevent the collapse action during specific conditions by setting this property.

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