PolaroidImage control

Contents


Constructors

PolaroidImage()

Takes no parameters.

PolaroidImage(String path, String captionText)

path: A string containing the absolute path to the image.
captionText: A string containing the caption text.

PolaroidImage(String path)

path: A string containing the absolute path to the image.

Properties

Note: properties marked with DependencyProperty support binding, animation, ...

Background

Gets/sets the colour of the photopaper.
(DependencyProperty)

Caption

Gets/sets the caption below the image.

CaptionTextAlignment

Gets/sets the text alignment for the caption text.
(DependencyProperty)

Path

Gets/sets the absolute path to the image.
Note: Setting this does not automatically change the image, you still need to call RefreshImage()

PreviewDrag

Enables/disables "live dragging" (dragging with preview).

Methods

RefreshImage

Loads the image defined by the Path property and displays it.
Takes no parameters.

Last edited May 8, 2008 at 3:38 PM by Bloodsplatter, version 4

Comments

No comments yet.