Skip to main content
All docs
V25.1
  • DxRichEdit.BarModeChanged Event

    Fires when the BarMode property value changes.

    Namespace: DevExpress.Blazor.RichEdit

    Assembly: DevExpress.Blazor.RichEdit.v25.1.dll

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    [Parameter]
    public EventCallback<BarMode> BarModeChanged { get; set; }

    Parameters

    Type Description
    BarMode

    A new value of the BarMode property. Requires the DevExpress.Blazor.Office namespace.

    Remarks

    Handle the BarModeChanged event to respond to BarMode value changes.

    The following code snippet displays the current bar mode:

    <p>Bar mode - @BarMode</p>
    
    <DxRichEdit BarMode="@BarMode"
                BarModeChanged="OnBarModeChanged" />
    
    @code {
        BarMode BarMode = BarMode.Ribbon;
    
        void OnBarModeChanged(BarMode barMode) {
            BarMode = barMode;
        }
    }
    
    See Also