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.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

C#
[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:

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

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

@code {
    bool IsRulerVisible = true;

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