Block.ClearFloaters Property


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

 property System::Windows::WrapDirection ClearFloaters { System::Windows::WrapDirection get(); void set(System::Windows::WrapDirection value); };
public System.Windows.WrapDirection ClearFloaters { get; set; }
member this.ClearFloaters : System.Windows.WrapDirection with get, set
Public Property ClearFloaters As WrapDirection

Property Value


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 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.

Dependency Property Information

Identifier field ClearFloatersProperty
Metadata properties set to true AffectsParentMeasure

Applies to