Block.ClearFloaters Property

 

Gets or sets the direction in which any Floater elements contained by a Block element should be repositioned.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public WrapDirection ClearFloaters { get; set; }

Property Value

Type: System.Windows.WrapDirection

One of the WrapDirection values that specifies the direction in which to separate any Floater elements from other content contained in the Block element. The default is WrapDirection.None, which indicates that floaters should be rendered in place.

The ClearFloaters property affects how content is laid out within a Block and is intended to be used to prevent Floater elements from congesting the contents of a Block element. Specifying a direction for this property causes floaters to be repositioned in a uniform direction within the Block content. Floaters are not repositioned outside of their parent Block.

.NET Framework
Available since 3.0
Return to top
Show: