Click here to Skip to main content
15,920,053 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How do I add more than 1 style to a TextBox? Pin
Pete O'Hanlon5-Jan-09 9:15
mvePete O'Hanlon5-Jan-09 9:15 
QuestionWPF crop image Pin
siten030828-Dec-08 16:05
siten030828-Dec-08 16:05 
AnswerRe: WPF crop image Pin
siten030829-Dec-08 17:51
siten030829-Dec-08 17:51 
QuestionWPF Sucks Pin
#realJSOP28-Dec-08 2:21
professional#realJSOP28-Dec-08 2:21 
AnswerRe: WPF Sucks Pin
ColinM12328-Dec-08 13:31
ColinM12328-Dec-08 13:31 
AnswerRe: WPF Sucks Pin
Not Active28-Dec-08 13:46
mentorNot Active28-Dec-08 13:46 
GeneralRe: WPF Sucks Pin
Mark Salsbery28-Dec-08 14:22
Mark Salsbery28-Dec-08 14:22 
QuestionFrame inside UserControl and wrong namespace Pin
Jammni+27-Dec-08 3:32
Jammni+27-Dec-08 3:32 
Hi,

I created a UserControl in XAML that includes a Frame. But when the application is loading the Frame source, the application throws and InvalidOperationException. This message tells me, that the class for the Frame's source couldn't be found in the given namespace. And this is true, because it doesn't use the namespace I intended. Here's a short example to illustrate the problem:

// fooControl.xaml

<UserControl 
    x:Class="foo.fooControl"
...>
  <Frame Source="fooPage.xaml" />
</UserControl>

// fooPage.xaml

<Page
    x:Class="foo.fooPage"
...>
...
</Page>


Now the application tries to find the class for fooPage in the wrong namespace, i.e. foo.fooControl.fooPage. But that's of course wrong, because it's called foo.fooPage.

Can anybody help me and show me the correct way to achieve what I want?

Thanks in advance,
Jammni+
AnswerRe: Frame inside UserControl and wrong namespace Pin
Mark Salsbery27-Dec-08 6:48
Mark Salsbery27-Dec-08 6:48 
GeneralRe: Frame inside UserControl and wrong namespace Pin
Jammni+27-Dec-08 23:51
Jammni+27-Dec-08 23:51 
QuestionXAML and C# ! Pin
Mohammad Dayyan27-Dec-08 2:50
Mohammad Dayyan27-Dec-08 2:50 
QuestionRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 6:06
Mark Salsbery27-Dec-08 6:06 
AnswerRe: XAML and C# ! [modified] Pin
Mohammad Dayyan27-Dec-08 7:12
Mohammad Dayyan27-Dec-08 7:12 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:04
Snufflufugus27-Dec-08 8:04 
GeneralRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 8:10
Mark Salsbery27-Dec-08 8:10 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:23
Snufflufugus27-Dec-08 8:23 
GeneralRe: XAML and C# ! Pin
Mark Salsbery27-Dec-08 8:29
Mark Salsbery27-Dec-08 8:29 
AnswerRe: XAML and C# ! Pin
Snufflufugus27-Dec-08 8:36
Snufflufugus27-Dec-08 8:36 
QuestionUsing WPF In An Unmanaged Application Pin
xiaolin.lan24-Dec-08 21:36
xiaolin.lan24-Dec-08 21:36 
AnswerRe: Using WPF In An Unmanaged Application Pin
viashivan27-Dec-08 3:14
viashivan27-Dec-08 3:14 
GeneralRe: Using WPF In An Unmanaged Application [modified] Pin
xiaolin.lan28-Dec-08 20:19
xiaolin.lan28-Dec-08 20:19 
GeneralRe: Using WPF In An Unmanaged Application Pin
viashivan29-Dec-08 3:30
viashivan29-Dec-08 3:30 
QuestionDeveloping Themes in WPF Pin
kinnuP24-Dec-08 0:22
kinnuP24-Dec-08 0:22 
AnswerRe: Developing Themes in WPF Pin
Pete O'Hanlon24-Dec-08 1:14
mvePete O'Hanlon24-Dec-08 1:14 
QuestionText Fields in the TextBox Control Pin
chetanN23-Dec-08 1:34
chetanN23-Dec-08 1:34 

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.