This documentation is archived and is not being maintained.

Block.ClearFloaters Property

Gets or sets a direction in which any Floater elements contained by a Block element should be re-positioned.

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

public WrapDirection ClearFloaters { get; set; }
/** @property */
public WrapDirection get_ClearFloaters ()

/** @property */
public void set_ClearFloaters (WrapDirection value)

public function get ClearFloaters () : WrapDirection

public function set ClearFloaters (value : WrapDirection)

<object ClearFloaters="WrapDirection" .../>

Property Value

A member of the WrapDirection enumeration specifying the flow direction in which to separate out any Floater elements from other content contained in the Block element. The default value is None, which indicates that floaters should be rendered in place.

The ClearFloaters property effects 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 will cause floaters to be re-positioned in a uniform direction within the Block content. Floaters will not be re-positioned outside of their parent Block.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0