Udostępnij za pośrednictwem


RichTextBlock.HasOverflowContent Property

Definition

Gets a value that indicates whether the RichTextBlock has content that extends beyond its bounds, that can provide content to an OverflowContentTarget element.

public:
 property bool HasOverflowContent { bool get(); };
bool HasOverflowContent();
public bool HasOverflowContent { get; }
var boolean = richTextBlock.hasOverflowContent;
Public ReadOnly Property HasOverflowContent As Boolean

Property Value

Boolean

bool

True if the RichTextBlock has content that extends beyond its bounds; otherwise, false.

Remarks

If HasOverflowContent is true and the OverflowContentTarget property is set, the extra content flows into the OverflowContentTarget element.

Applies to

See also