Skip to main content
All docs
V24.2

DxRichEdit.HorizontalRulerVisibleChanged Event

Fires when the HorizontalRulerVisible property value changes.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

[Parameter]
public EventCallback<bool> HorizontalRulerVisibleChanged { get; set; }

Parameters

Type Description
Boolean

A new value of the HorizontalRulerVisible property.

Remarks

Handle the HorizontalRulerVisibleChanged event to respond to HorizontalRulerVisible value changes.

The following code snippet displays the current visibility state of the horizontal ruler:

<p>Is ruler visible - @IsRulerVisible</p>

<DxRichEdit HorizontalRulerVisible="@IsRulerVisible"
            HorizontalRulerVisibleChanged="OnRulerVisibleChanged"/>

@code {
    bool IsRulerVisible = true;

    void OnRulerVisibleChanged(bool isVisible) {
        IsRulerVisible = isVisible;
    }
}
See Also