1
Vote

DependencyProperties for PolaroidImage

description

Title says it all.
 
Update: 2 dependencyproperties now: Background and CaptionTextAlignment.
Also removed the border from the caption textbox and set the default textalignment to center.

comments

Bloodsplatter wrote May 6, 2008 at 4:18 PM

Currently only planning to make width, height and BackgroundBrush dependencyproperties.

wrote May 6, 2008 at 4:18 PM

Bloodsplatter wrote May 6, 2008 at 5:03 PM

I removed the Width and Height implementation alltogether so they are now handled by the base class (UserControl).
Background now defines the color of the photopaper, not the background of the control.

Bloodsplatter wrote May 6, 2008 at 5:21 PM

Background is now fully implemented the WPF way (DependencyProperty and Get/SetValue).
Default colour is white (Brushes.White) and you can change it in any WPF editor now.

wrote May 8, 2008 at 3:40 PM

wrote May 8, 2008 at 3:41 PM

wrote Jan 31, 2013 at 9:11 PM