Click here to Skip to main content
15,883,955 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: The connection to the server was reset while the page was loading.(localhost.com) Pin
akshayavat12-Jan-10 23:43
akshayavat12-Jan-10 23:43 
GeneralRe: The connection to the server was reset while the page was loading.(localhost.com) Pin
Mark Salsbery13-Jan-10 6:47
Mark Salsbery13-Jan-10 6:47 
GeneralWPF dynamic load of UserControl Pin
koyllis28-Sep-09 7:07
koyllis28-Sep-09 7:07 
GeneralRe: WPF dynamic load of UserControl Pin
Mark Salsbery28-Sep-09 7:16
Mark Salsbery28-Sep-09 7:16 
GeneralRe: WPF dynamic load of UserControl Pin
koyllis28-Sep-09 7:28
koyllis28-Sep-09 7:28 
GeneralRe: WPF dynamic load of UserControl Pin
Mark Salsbery28-Sep-09 7:35
Mark Salsbery28-Sep-09 7:35 
QuestionConditional Compilation in XAML Pin
vivasaayi27-Sep-09 21:51
vivasaayi27-Sep-09 21:51 
AnswerRe: Conditional Compilation in XAML Pin
Pete O'Hanlon27-Sep-09 22:15
mvePete O'Hanlon27-Sep-09 22:15 
You can only use the Conditional Compilation Directives in code behind. As you can see, they are not valid XML, so they are not suitable for use in XAML. From the look of the quick sample you've posted, you might want to use DataTemplates, Template Selectors and the MVVM pattern. Have a look at Josh Smith's article on MSDN to get a better understanding of this.

"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



GeneralRe: Conditional Compilation in XAML Pin
vivasaayi28-Sep-09 0:02
vivasaayi28-Sep-09 0:02 
GeneralRe: Conditional Compilation in XAML Pin
Pete O'Hanlon28-Sep-09 0:26
mvePete O'Hanlon28-Sep-09 0:26 
JokeGoogle annoucment Pin
Lutosław28-Sep-09 0:41
Lutosław28-Sep-09 0:41 
GeneralRe: Google annoucment Pin
Pete O'Hanlon28-Sep-09 0:44
mvePete O'Hanlon28-Sep-09 0:44 
AnswerRe: Google annoucment Pin
vivasaayi28-Sep-09 1:08
vivasaayi28-Sep-09 1:08 
GeneralRe: Google annoucment Pin
Ian Shlasko28-Sep-09 3:03
Ian Shlasko28-Sep-09 3:03 
QuestionNeed to access control in another page Pin
CBenac25-Sep-09 18:26
CBenac25-Sep-09 18:26 
AnswerRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 6:44
Mark Salsbery28-Sep-09 6:44 
GeneralRe: Need to access control in another page Pin
CBenac28-Sep-09 10:56
CBenac28-Sep-09 10:56 
GeneralRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 13:40
Mark Salsbery28-Sep-09 13:40 
QuestionWhy doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII25-Sep-09 5:18
fjparisIII25-Sep-09 5:18 
AnswerRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon25-Sep-09 10:24
mvePete O'Hanlon25-Sep-09 10:24 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII26-Sep-09 4:48
fjparisIII26-Sep-09 4:48 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon27-Sep-09 23:34
mvePete O'Hanlon27-Sep-09 23:34 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 5:50
fjparisIII28-Sep-09 5:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon28-Sep-09 8:50
mvePete O'Hanlon28-Sep-09 8:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 16:41
fjparisIII28-Sep-09 16:41 

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.