Click here to Skip to main content
15,886,799 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to access data format errors Pin
Bernhard Hiller29-Feb-12 19:32
Bernhard Hiller29-Feb-12 19:32 
Questioncalendar control Pin
nik00828-Feb-12 20:38
nik00828-Feb-12 20:38 
AnswerRe: calendar control Pin
Abhinav S28-Feb-12 22:41
Abhinav S28-Feb-12 22:41 
AnswerRe: calendar control Pin
Pete O'Hanlon29-Feb-12 0:18
mvePete O'Hanlon29-Feb-12 0:18 
QuestionThe WPF DocumentViewer Control Pin
usolo28-Feb-12 15:04
usolo28-Feb-12 15:04 
QuestionEdit MainPage title in Silverlight 5 Pin
roni-in28-Feb-12 6:01
roni-in28-Feb-12 6:01 
AnswerRe: Edit MainPage title in Silverlight 5 Pin
Abhinav S29-Feb-12 1:53
Abhinav S29-Feb-12 1:53 
GeneralRe: Edit MainPage title in Silverlight 5 Pin
roni-in29-Feb-12 3:37
roni-in29-Feb-12 3:37 
Thanks for the hint. I tried the WindowSettings.Title but as you have pointed out, it is only accesible via XAML Attribute Usage and is not settable in code-behind or usable via data binding.
I think I've found another solution:
Im accessing the Main Application Window via "Application.Current.MainWindow" (see here[^]). This Application Class Property is of the Type System.Windows.Window (see here[^]) which has a settable Property "Title". Now I can at least set the main window title during runtime via a method:

C#
private void SetMainTitle(string TitleStr)
        {
            if (string.IsNullOrEmpty(TitleStr))
            {
                //some kind of exception
            }
            else
            {
                Application.Current.MainWindow.Title = TitleStr;
            }
        }

QuestionReference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 20:55
professionalMycroft Holmes27-Feb-12 20:55 
AnswerRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:03
mvePete O'Hanlon27-Feb-12 21:03 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:25
professionalMycroft Holmes27-Feb-12 21:25 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:34
mvePete O'Hanlon27-Feb-12 21:34 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:48
professionalMycroft Holmes27-Feb-12 21:48 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:50
mvePete O'Hanlon27-Feb-12 21:50 
QuestionWPF Facebook App Pin
Kevin Marois27-Feb-12 13:25
professionalKevin Marois27-Feb-12 13:25 
QuestionIntersoft ClientUI 6 Pin
LAPEC27-Feb-12 12:19
LAPEC27-Feb-12 12:19 
AnswerRe: Intersoft ClientUI 6 Pin
Mycroft Holmes27-Feb-12 13:51
professionalMycroft Holmes27-Feb-12 13:51 
AnswerRe: Intersoft ClientUI 6 Pin
Wes Aday28-Feb-12 3:10
professionalWes Aday28-Feb-12 3:10 
AnswerRe: Intersoft ClientUI 6 Pin
Pete O'Hanlon28-Feb-12 3:17
mvePete O'Hanlon28-Feb-12 3:17 
AnswerRe: Intersoft ClientUI 6 Pin
usolo5-Mar-12 16:34
usolo5-Mar-12 16:34 
AnswerRe: Intersoft ClientUI 6 Pin
Intersoft Solutions (Business)2-Aug-12 17:07
Intersoft Solutions (Business)2-Aug-12 17:07 
QuestionWPF Handwriting "Preview" Pin
programmervb.netc++27-Feb-12 5:11
programmervb.netc++27-Feb-12 5:11 
QuestionProblem with Prism Pin
radhwane27-Feb-12 0:59
radhwane27-Feb-12 0:59 
AnswerRe: Problem with Prism Pin
Richard MacCutchan27-Feb-12 1:59
mveRichard MacCutchan27-Feb-12 1:59 
AnswerRe: Problem with Prism Pin
Abhinav S27-Feb-12 2:27
Abhinav S27-Feb-12 2:27 

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.