Click here to Skip to main content
15,921,028 members
Home / Discussions / WPF
   

WPF

 
QuestionAutoCompleteBox Pin
Moonwalker0315-Mar-11 5:35
Moonwalker0315-Mar-11 5:35 
AnswerRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 6:54
mvePete O'Hanlon5-Mar-11 6:54 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 8:35
Moonwalker0315-Mar-11 8:35 
GeneralRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 9:40
mvePete O'Hanlon5-Mar-11 9:40 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 10:59
Moonwalker0315-Mar-11 10:59 
GeneralRe: AutoCompleteBox Pin
Pete O'Hanlon5-Mar-11 11:27
mvePete O'Hanlon5-Mar-11 11:27 
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 13:47
Moonwalker0315-Mar-11 13:47 
GeneralRe: AutoCompleteBox Pin
SledgeHammer015-Mar-11 15:42
SledgeHammer015-Mar-11 15:42 
1) you didn't bother to tell us what the exception was

2) I'm assuming the exception is because
a) AutoCompleteBox didn't name the part "PART_EditableTextbox"
OR
b) You called FindName too early (like in the constructor). What Pete didn't bother to tell you is that searching for a part through the template is only valid AFTER the template has been applied. Typically you would override OnApplyTemplate() (calling the base class first of course) and then do the above code.

Or why not modify the XAML directly? That would be the prefered solution if you are always going to want it upper case.
GeneralRe: AutoCompleteBox Pin
Moonwalker0315-Mar-11 21:51
Moonwalker0315-Mar-11 21:51 
GeneralRe: AutoCompleteBox Pin
Moonwalker0316-Mar-11 5:19
Moonwalker0316-Mar-11 5:19 
GeneralRe: AutoCompleteBox Pin
Moonwalker0316-Mar-11 22:24
Moonwalker0316-Mar-11 22:24 
GeneralTreeView / Collapsible Datagrid Using Silverlight Pin
MadhavJoshi4-Mar-11 1:54
MadhavJoshi4-Mar-11 1:54 
GeneralRe: TreeView / Collapsible Datagrid Using Silverlight Pin
Pete O'Hanlon4-Mar-11 3:51
mvePete O'Hanlon4-Mar-11 3:51 
Questionxaml design vs drag and drop Pin
arkiboys3-Mar-11 23:56
arkiboys3-Mar-11 23:56 
AnswerRe: xaml design vs drag and drop Pin
Pravin Patil, Mumbai4-Mar-11 0:10
Pravin Patil, Mumbai4-Mar-11 0:10 
AnswerRe: xaml design vs drag and drop Pin
Dave Kerr4-Mar-11 0:30
mentorDave Kerr4-Mar-11 0:30 
AnswerRe: xaml design vs drag and drop Pin
Mycroft Holmes4-Mar-11 0:48
professionalMycroft Holmes4-Mar-11 0:48 
AnswerRe: xaml design vs drag and drop Pin
RugbyLeague4-Mar-11 5:04
RugbyLeague4-Mar-11 5:04 
AnswerRe: xaml design vs drag and drop Pin
Tarun.K.S6-Mar-11 7:14
Tarun.K.S6-Mar-11 7:14 
AnswerRe: xaml design vs drag and drop Pin
Jammer8-Mar-11 0:16
Jammer8-Mar-11 0:16 
QuestionWPF TextBox - setting caret so hard! Following code doesn't change a thing! [modified] Pin
devvvy3-Mar-11 22:17
devvvy3-Mar-11 22:17 
QuestionUsing Office Themes Pin
Kevin Marois3-Mar-11 9:40
professionalKevin Marois3-Mar-11 9:40 
AnswerRe: Using Office Themes Pin
Pete O'Hanlon3-Mar-11 9:45
mvePete O'Hanlon3-Mar-11 9:45 
AnswerRe: Using Office Themes Pin
SledgeHammer013-Mar-11 9:46
SledgeHammer013-Mar-11 9:46 
QuestionNagivating from a aspx page to a silverlight page Pin
Vimalsoft(Pty) Ltd3-Mar-11 5:17
professionalVimalsoft(Pty) Ltd3-Mar-11 5:17 

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.