Back to Devexpress

DxRichEdit.HorizontalRulerVisibleChanged Event

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

latest1.6 KB
Original Source

DxRichEdit.HorizontalRulerVisibleChanged Event

Fires when the HorizontalRulerVisible property value changes.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

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

Parameters

TypeDescription
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

DxRichEdit Class

DxRichEdit Members

DevExpress.Blazor.RichEdit Namespace