Back to Devexpress

DxRichEdit.HorizontalRulerVisible Property

blazor-devexpress-dot-blazor-dot-richedit-dot-dxrichedit-14a6cff3.md

latest1.5 KB
Original Source

DxRichEdit.HorizontalRulerVisible Property

Specifies whether the horizontal ruler is visible.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
[Parameter]
public bool HorizontalRulerVisible { get; set; }

Property Value

TypeDescription
Boolean

true if the horizontal ruler is visible; otherwise, false.

|

Remarks

Use the HorizontalRulerVisible property to specify whether the horizontal ruler is visible. To respond to visibility changes, handle the HorizontalRulerVisibleChanged event.

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