This documentation is archived and is not being maintained.

Block.ClearFloaters Property

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

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

public WrapDirection ClearFloaters { get; set; }
<object ClearFloaters="WrapDirection" .../>

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0