Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxRichEdit.BarModeChanged Event

Fires when the BarMode property value changes.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.2.dll

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

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

#Parameters

Type Description
BarMode

A new value of the BarMode property.

#Remarks

Handle the BarModeChanged event to respond to BarMode value changes.

The following code snippet displays the current bar mode:

Razor
<p>Bar mode - @BarMode</p>

<DxRichEdit BarMode="@BarMode"
            BarModeChanged="OnBarModeChanged" />

@code {
    BarMode BarMode = BarMode.Ribbon;

    void OnBarModeChanged(BarMode barMode) {
        BarMode = barMode;
    }
}
See Also