Floater


FloaterHierarchy: DependencyObject ContentElement FrameworkContentElement TextElement Block

 <Floater     HorizontalAlignment="Center|Right|Left|Stretch"     Width="100" /> 

<Floater .../> displays images and other content parallel to the main content flow within a container. Floaters are always positioned parallel to the main flow of content. Unlike Figure, Floater may not span multiple columns. (See Figure 7-3.)

Figure 7-3. Floater with image and text positioned in a paragraph


Attributes


HorizontalAlignment (optional)

Indicates where the Floater should be aligned relative to its parent's layout slot.


Center

Align the element at the center of its parent's layout slot.


Left

Align the element to the left of its parent's layout slot.


Right

Align the element to the right of its parent's layout slot.


Stretch

Stretch the element to fit to the width of its parent's layout slot.


Width (optional)

A Double value indicating the width of the element.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net