XAML in a Nutshell (In a Nutshell (OReilly))

ImageDrawingHierarchy: Freezable Animatable Drawing

<ImageDrawing ImageSource="c:\\r.gif" Rect="0,0 50 50" />

<ImageDrawing .../> draws an image in the region specified by Rect.

Attributes

ImageSource (optional)

The source of the image used for the drawing

Rect (optional)

The dimensions of the drawing area in terms of top-left corner, width, and height

Категории