Click here to Skip to main content
15,891,033 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: equivalent method Dispose() in WPF? Pin
Kunal Chowdhury «IN»26-Jul-09 20:21
professionalKunal Chowdhury «IN»26-Jul-09 20:21 
QuestionMessage Removed Pin
24-Jul-09 9:48
professionalN_tro_P24-Jul-09 9:48 
AnswerMessage Removed Pin
24-Jul-09 9:49
professionalN_tro_P24-Jul-09 9:49 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 9:57
Ian Shlasko24-Jul-09 9:57 
GeneralMessage Removed Pin
24-Jul-09 10:06
professionalN_tro_P24-Jul-09 10:06 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:24
Ian Shlasko24-Jul-09 10:24 
GeneralMessage Removed Pin
24-Jul-09 10:36
professionalN_tro_P24-Jul-09 10:36 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:42
Ian Shlasko24-Jul-09 10:42 
Ahhh, ok, you're doing this as a UserControl. Then you DEFINITELY want to use FindAncestor instead of ElementName. WPF has some limitations when it comes to XAML-defined UserControls, and those get worse if you start naming their component elements.

You won't run into most of the annoyances unless you start templating, but it's still something to watch out for.

Oh, but the name you define inside the UserControl is an internal name, so instantiating it elsewhere would not override it in this sense.

Proud to have finally moved to the A-Ark. Which one are you in?
Developer, Author (Guardians of Xen)

GeneralMessage Removed Pin
24-Jul-09 10:46
professionalN_tro_P24-Jul-09 10:46 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:51
Ian Shlasko24-Jul-09 10:51 
GeneralMessage Removed Pin
24-Jul-09 10:19
professionalN_tro_P24-Jul-09 10:19 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:28
Ian Shlasko24-Jul-09 10:28 
AnswerRe: Binding IsEnabled of a button Pin
Pete O'Hanlon24-Jul-09 11:07
mvePete O'Hanlon24-Jul-09 11:07 
QuestionMessage Removed Pin
24-Jul-09 3:58
professionalN_tro_P24-Jul-09 3:58 
Questionsilverlight 3 Pin
wolfbinary24-Jul-09 3:36
wolfbinary24-Jul-09 3:36 
AnswerRe: silverlight 3 Pin
Pete O'Hanlon24-Jul-09 4:34
mvePete O'Hanlon24-Jul-09 4:34 
GeneralRe: silverlight 3 Pin
wolfbinary24-Jul-09 6:22
wolfbinary24-Jul-09 6:22 
GeneralRe: silverlight 3 Pin
Mark Salsbery24-Jul-09 11:08
Mark Salsbery24-Jul-09 11:08 
QuestionHosting MS Office in WPF app Pin
amit_198624-Jul-09 1:41
amit_198624-Jul-09 1:41 
AnswerRe: Hosting MS Office in WPF app Pin
Pete O'Hanlon24-Jul-09 2:18
mvePete O'Hanlon24-Jul-09 2:18 
QuestionUsing directional keys to rotate a 3D model? Pin
Etienne_12323-Jul-09 7:02
Etienne_12323-Jul-09 7:02 
AnswerRe: Using directional keys to rotate a 3D model? Pin
Pete O'Hanlon24-Jul-09 0:46
mvePete O'Hanlon24-Jul-09 0:46 
Questionconversion of Web rendering units to Wpf rendering units Pin
vsaratkar23-Jul-09 7:00
vsaratkar23-Jul-09 7:00 
QuestionMessage Removed Pin
23-Jul-09 5:45
professionalN_tro_P23-Jul-09 5:45 
AnswerRe: Templates and Libraries Pin
Mark Salsbery23-Jul-09 6:36
Mark Salsbery23-Jul-09 6:36 

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.