Click here to Skip to main content
15,886,362 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: ResourceDictionaries Pin
Pete O'Hanlon5-Mar-10 4:34
mvePete O'Hanlon5-Mar-10 4:34 
GeneralMessage Removed Pin
5-Mar-10 8:33
professionalN_tro_P5-Mar-10 8:33 
GeneralRe: ResourceDictionaries Pin
Pete O'Hanlon5-Mar-10 9:41
mvePete O'Hanlon5-Mar-10 9:41 
QuestionDatabinding to a property which is a collection. Pin
ddecoy5-Mar-10 2:37
ddecoy5-Mar-10 2:37 
AnswerRe: Databinding to a property which is a collection. Pin
Pete O'Hanlon5-Mar-10 2:58
mvePete O'Hanlon5-Mar-10 2:58 
GeneralRe: Databinding to a property which is a collection. Pin
ddecoy5-Mar-10 3:08
ddecoy5-Mar-10 3:08 
QuestionCreating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 23:13
Mehdi Ghiasi4-Mar-10 23:13 
AnswerRe: Creating Custom Control in WPF (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 23:21
mvePete O'Hanlon4-Mar-10 23:21 
Generally if you think that you want to change the appearance/behaviour of a control in XAML by creating a subclass, this means that you're approaching the problem in the wrong way. As the standard WPF controls are "lookless", this means that you can change the template to suit your own purposes.

The only time that you should even consider inheriting is if you want to radically alter the behaviour of the underlying control - in other cases, you could consider implementing the functionality with Attached Properties/Attached Behaviours.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionRe: Creating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi5-Mar-10 5:51
Mehdi Ghiasi5-Mar-10 5:51 
QuestionCustom Property for User control in MVVM model Pin
Joe Rozario4-Mar-10 19:13
Joe Rozario4-Mar-10 19:13 
AnswerRe: Custom Property for User control in MVVM model Pin
Pete O'Hanlon4-Mar-10 21:07
mvePete O'Hanlon4-Mar-10 21:07 
QuestionWPF - UIElement from binded property Pin
Ravi Mori4-Mar-10 19:10
Ravi Mori4-Mar-10 19:10 
AnswerRe: WPF - UIElement from binded property Pin
Pete O'Hanlon5-Mar-10 9:36
mvePete O'Hanlon5-Mar-10 9:36 
QuestionAgDataGrid Date column for Custom Date format [modified] Pin
Satish Pai4-Mar-10 17:23
Satish Pai4-Mar-10 17:23 
QuestionWindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 8:56
Mehdi Ghiasi4-Mar-10 8:56 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 11:58
mvePete O'Hanlon4-Mar-10 11:58 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner22-Mar-10 19:16
mattjfenner22-Mar-10 19:16 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi23-Mar-10 0:38
Mehdi Ghiasi23-Mar-10 0:38 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner23-Mar-10 0:39
mattjfenner23-Mar-10 0:39 
QuestionHow do I center a Silverlight page on a browser at all times? Pin
Jun Du4-Mar-10 6:04
Jun Du4-Mar-10 6:04 
AnswerRe: How do I center a Silverlight page on a browser at all times? Pin
Not Active4-Mar-10 6:26
mentorNot Active4-Mar-10 6:26 
GeneralRe: How do I center a Silverlight page on a browser at all times? Pin
Jun Du4-Mar-10 6:29
Jun Du4-Mar-10 6:29 
AnswerRe: How do I center a Silverlight page on a browser at all times? Pin
Abhinav S14-Mar-10 21:15
Abhinav S14-Mar-10 21:15 
QuestionText for geometryModel3d should not rotate in wpf Pin
Ramkumar19883-Mar-10 20:27
Ramkumar19883-Mar-10 20:27 
QuestionLoading Image at runtime foe control library. Pin
Anu_Bala3-Mar-10 18:38
Anu_Bala3-Mar-10 18:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.