Click here to Skip to main content
15,899,634 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: UserControl = DataTemplate!! Pin
Pete O'Hanlon23-Jul-08 4:06
mvePete O'Hanlon23-Jul-08 4:06 
GeneralRe: UserControl = DataTemplate!! Pin
Jammer23-Jul-08 5:51
Jammer23-Jul-08 5:51 
QuestionAccessing values of Xaml controls in the web site Pin
ACMA_198022-Jul-08 22:06
ACMA_198022-Jul-08 22:06 
AnswerRe: Accessing values of Xaml controls in the web site Pin
Michael Sync23-Jul-08 19:16
Michael Sync23-Jul-08 19:16 
QuestionWebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
248912822-Jul-08 21:58
248912822-Jul-08 21:58 
AnswerRe: WebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
Michael Sync23-Jul-08 13:53
Michael Sync23-Jul-08 13:53 
AnswerRe: WebCam & MicroPhone support in Silverlight 2.0 Beta 2.0 Pin
raulgspan224-Jan-09 15:56
raulgspan224-Jan-09 15:56 
QuestionWPF Control Properties in XAML [modified] Pin
thrakazog22-Jul-08 9:02
thrakazog22-Jul-08 9:02 
I'm building my own WPF control. Once added to a Window in design mode the control needs to set some of its properties dynamically based on the Window. In code behind I'm doing this:

Foo = "Some dynamic Value";

So I don't loose the new value I want the XAML updated to:
< providercontrol x:name="Control1" foo="Some dynamic Value" >

Much to my dismay the XAML isn't updating. So far my attempts at this will update the property value in the Properties window but the XAML remains unchanged. Without saving my change to the XAML the value is lost when the Window is closed.

How can I change a property inside the control and have the XAML reflect that?

modified on Tuesday, July 22, 2008 7:18 PM

AnswerRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 12:32
Jammer22-Jul-08 12:32 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 13:17
thrakazog22-Jul-08 13:17 
GeneralRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 13:20
Jammer22-Jul-08 13:20 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 13:39
thrakazog22-Jul-08 13:39 
GeneralRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 13:50
Jammer22-Jul-08 13:50 
GeneralRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 14:04
thrakazog22-Jul-08 14:04 
GeneralRe: WPF Control Properties in XAML Pin
chester22-Jul-08 14:10
chester22-Jul-08 14:10 
RantRe: WPF Control Properties in XAML Pin
thrakazog22-Jul-08 14:14
thrakazog22-Jul-08 14:14 
GeneralRe: WPF Control Properties in XAML Pin
chester22-Jul-08 14:15
chester22-Jul-08 14:15 
GeneralRe: WPF Control Properties in XAML Pin
Jammer22-Jul-08 22:26
Jammer22-Jul-08 22:26 
AnswerFound the Answer Pin
thrakazog23-Jul-08 14:03
thrakazog23-Jul-08 14:03 
QuestionHow to bind Ilist IN another IList to listBox. Pin
chandra vempati22-Jul-08 4:57
chandra vempati22-Jul-08 4:57 
QuestionOne Object Data Provider - Binding two datagrid Pin
Michael Sync20-Jul-08 7:31
Michael Sync20-Jul-08 7:31 
AnswerRe: One Object Data Provider - Binding two datagrid Pin
Jammer20-Jul-08 10:47
Jammer20-Jul-08 10:47 
GeneralRe: One Object Data Provider - Binding two datagrid Pin
Michael Sync20-Jul-08 21:36
Michael Sync20-Jul-08 21:36 
GeneralRe: One Object Data Provider - Binding two datagrid Pin
Jammer20-Jul-08 22:52
Jammer20-Jul-08 22:52 
QuestionDragSource Event ... has it been removed??? Pin
Jammer20-Jul-08 1:38
Jammer20-Jul-08 1: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.