Back to Devexpress

DxRichEdit.BarModeChanged Event

blazor-devexpress-dot-blazor-dot-richedit-dot-dxrichedit-b9a3d0c8.md

latest1.4 KB
Original Source

DxRichEdit.BarModeChanged Event

Fires when the BarMode property value changes.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

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

Parameters

TypeDescription
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:

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

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

@code {
    BarMode BarMode = BarMode.Ribbon;

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

See Also

DxRichEdit Class

DxRichEdit Members

DevExpress.Blazor.RichEdit Namespace