Skip to main content

BlockAdornerVisibility Enum

Definition​

Assembly:Avalonia.Controls.Documents
Package:Avalonia.Controls.Documents

Controls which blocks a block adorner renders on.

public enum BlockAdornerVisibility

Inheritance: Enum -> BlockAdornerVisibility

Fields​

NameDescription
AlwaysThe adorner renders on every matching realized block in the viewport.
ContextOnlyThe adorner renders only on, or within, the block that currently holds the caret or was resolved as the context block (e.g., from pointer hit testing).

Always Field​

The adorner renders on every matching realized block in the viewport.

public Avalonia.Controls.Documents.Primitives.Adorners.BlockAdornerVisibility Always

ContextOnly Field​

The adorner renders only on, or within, the block that currently holds the caret or was resolved as the context block (e.g., from pointer hit testing).

public Avalonia.Controls.Documents.Primitives.Adorners.BlockAdornerVisibility ContextOnly