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
[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:
<p>Bar mode - @BarMode</p>
<DxRichEdit BarMode="@BarMode"
BarModeChanged="OnBarModeChanged" />
@code {
BarMode BarMode = BarMode.Ribbon;
void OnBarModeChanged(BarMode barMode) {
BarMode = barMode;
}
}
See Also