Click here to Skip to main content
15,913,944 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Window Background Brush Change Pin
Insincere Dave8-Aug-08 13:58
Insincere Dave8-Aug-08 13:58 
GeneralRe: Window Background Brush Change Pin
BlitzPackage8-Aug-08 15:41
BlitzPackage8-Aug-08 15:41 
GeneralRe: Window Background Brush Change Pin
BlitzPackage8-Aug-08 15:51
BlitzPackage8-Aug-08 15:51 
AnswerRe: Window Background Brush Change Pin
Jammer8-Aug-08 22:38
Jammer8-Aug-08 22:38 
QuestionWPF Control Advice Pin
Harvey Saayman7-Aug-08 20:59
Harvey Saayman7-Aug-08 20:59 
AnswerRe: WPF Control Advice Pin
Jammer7-Aug-08 23:09
Jammer7-Aug-08 23:09 
AnswerRe: WPF Control Advice Pin
Gideon Engelberth8-Aug-08 3:19
Gideon Engelberth8-Aug-08 3:19 
QuestionGetting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 12:53
Jammer7-Aug-08 12:53 
Hi All,

Is this possible? You have a button in the UI with its content property set as:

XAML:

<Button x:Name="btn" Content="Original Value" />


Then in your C# code you change that Content property to be something else like:

CS:

btn.Content = "New Value";


Can you subsequently access the original value set in XAML without the need for doing something like this in more C#:

btn.Content = "Original Value";


I can't even seem to find the array of _effectiveValues for a button in Visual Studio ...

Jammer

Going where everyone here has gone before! Smile | :)
My Blog | Article(s)

AnswerRe: Getting A DependencyProperty 'Original Value' Pin
Insincere Dave7-Aug-08 13:58
Insincere Dave7-Aug-08 13:58 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Insincere Dave7-Aug-08 14:18
Insincere Dave7-Aug-08 14:18 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 20:56
Jammer7-Aug-08 20:56 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 20:54
Jammer7-Aug-08 20:54 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 22:54
Jammer7-Aug-08 22:54 
Questioncustom, main window look with wpf Pin
valajbeg7-Aug-08 0:57
valajbeg7-Aug-08 0:57 
AnswerRe: custom, main window look with wpf Pin
Thomas Stockwell7-Aug-08 1:47
professionalThomas Stockwell7-Aug-08 1:47 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 1:53
valajbeg7-Aug-08 1:53 
GeneralRe: custom, main window look with wpf Pin
Pete O'Hanlon7-Aug-08 2:10
mvePete O'Hanlon7-Aug-08 2:10 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 2:19
valajbeg7-Aug-08 2:19 
GeneralRe: custom, main window look with wpf Pin
Pete O'Hanlon7-Aug-08 3:02
mvePete O'Hanlon7-Aug-08 3:02 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 3:10
valajbeg7-Aug-08 3:10 
GeneralRe: custom, main window look with wpf Pin
Thomas Stockwell7-Aug-08 3:27
professionalThomas Stockwell7-Aug-08 3:27 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 3:29
valajbeg7-Aug-08 3:29 
GeneralRe: custom, main window look with wpf Pin
Jammer7-Aug-08 4:35
Jammer7-Aug-08 4:35 
QuestionASP.NET control in Silverlight Pin
rg106-Aug-08 23:18
rg106-Aug-08 23:18 
AnswerRe: ASP.NET control in Silverlight Pin
Michael Sync10-Aug-08 22:50
Michael Sync10-Aug-08 22:50 

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.