Click here to Skip to main content
15,887,436 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Combox with Multi Column Header Pin
Richard Deeming29-Mar-16 8:26
mveRichard Deeming29-Mar-16 8:26 
GeneralRe: Combox with Multi Column Header Pin
fratola31-Mar-16 20:26
fratola31-Mar-16 20:26 
Questionlistviewitem style Pin
caradri13-Mar-16 0:41
caradri13-Mar-16 0:41 
Questionxceed datagrid (community) and virtualization Pin
amigoface9-Mar-16 18:47
amigoface9-Mar-16 18:47 
AnswerRe: window application form work in KIOSK Pin
Pete O'Hanlon8-Feb-16 21:37
mvePete O'Hanlon8-Feb-16 21:37 
AnswerRe: window application form work in KIOSK Pin
Richard Deeming9-Feb-16 1:55
mveRichard Deeming9-Feb-16 1:55 
AnswerRe: window application form work in KIOSK Pin
ZurdoDev9-Feb-16 8:36
professionalZurdoDev9-Feb-16 8:36 
QuestionHow to Programatically click a Button on a navigated Frame Page Pin
Vimalsoft(Pty) Ltd14-Jan-16 3:22
professionalVimalsoft(Pty) Ltd14-Jan-16 3:22 
Good Day all

i am using Navigation service as depicted below
HTML
<Frame x:Name="_home"     NavigationUIVisibility="Hidden" HorizontalAlignment="Stretch"   Width="2749" Margin="0,12,0,0"   />

and i navigate to the Page like this
C#
(Application.Current.MainWindow.FindName("_home") as Frame).Source = new Uri("/F1.xaml", UriKind.Relative);

which work fine. now in the Navigated page, lets just say a page shown in the Frame,there is some functionality like Calculate ,e.g that calculates Age based on the years(Example). Now from the Main Page i have a Button that says Calculate , i want to call the function or invoke a button click of Frame page from the Main Page.

Well i have tried this from the main page
<pre lang="c#">private void btnCalculate_Click(object sender, RoutedEventArgs e)
 {
     F1 f1 = new F1();
     f1.CalculateYear();
 }</pre>

no but does not work, the break-point does reach the F1 page but the UI does not have calculated results.

One other thing i tried earlier is to pass the value that will be used in the calculation from the main , but when the one follow the variable value they just return an empty string when you follow it while stepping through it.

How is this done

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com

AnswerRe: How to Programatically click a Button on a navigated Frame Page Pin
Vimalsoft(Pty) Ltd14-Jan-16 5:40
professionalVimalsoft(Pty) Ltd14-Jan-16 5:40 
QuestionCustom FrameworkElement with child controls Pin
Kenneth Haugland12-Jan-16 7:51
mvaKenneth Haugland12-Jan-16 7:51 
AnswerRe: Custom FrameworkElement with child controls Pin
Gerry Schmitz12-Jan-16 17:06
mveGerry Schmitz12-Jan-16 17:06 
GeneralRe: Custom FrameworkElement with child controls Pin
Kenneth Haugland13-Jan-16 1:39
mvaKenneth Haugland13-Jan-16 1:39 
GeneralRe: Custom FrameworkElement with child controls Pin
Gerry Schmitz13-Jan-16 6:25
mveGerry Schmitz13-Jan-16 6:25 
QuestionBinding a CompositeCollection to a Canvas (C#) Pin
Kenneth Haugland8-Jan-16 22:31
mvaKenneth Haugland8-Jan-16 22:31 
AnswerRe: Binding a CompositeCollection to a Canvas (C#) Pin
Kenneth Haugland9-Jan-16 2:42
mvaKenneth Haugland9-Jan-16 2:42 
AnswerRe: Binding a CompositeCollection to a Canvas (C#) Pin
Richard Deeming11-Jan-16 3:51
mveRichard Deeming11-Jan-16 3:51 
GeneralRe: Binding a CompositeCollection to a Canvas (C#) Pin
Kenneth Haugland11-Jan-16 4:34
mvaKenneth Haugland11-Jan-16 4:34 
QuestionCan I run UITests on a WPF application. Pin
James_Parsons8-Jan-16 4:56
James_Parsons8-Jan-16 4:56 
AnswerRe: Can I run UITests on a WPF application. Pin
NickPace8-Jan-16 5:06
NickPace8-Jan-16 5:06 
QuestionLabel does not Get Updated Pin
Vimalsoft(Pty) Ltd6-Jan-16 20:33
professionalVimalsoft(Pty) Ltd6-Jan-16 20:33 
AnswerRe: Label does not Get Updated Pin
Mycroft Holmes6-Jan-16 20:45
professionalMycroft Holmes6-Jan-16 20:45 
GeneralRe: Label does not Get Updated Pin
Vimalsoft(Pty) Ltd6-Jan-16 20:49
professionalVimalsoft(Pty) Ltd6-Jan-16 20:49 
GeneralRe: Label does not Get Updated Pin
Mycroft Holmes6-Jan-16 21:04
professionalMycroft Holmes6-Jan-16 21:04 
GeneralRe: Label does not Get Updated Pin
Vimalsoft(Pty) Ltd6-Jan-16 21:09
professionalVimalsoft(Pty) Ltd6-Jan-16 21:09 
QuestionWPF/MVVM Unit Test Questions Pin
Kevin Marois5-Jan-16 5:46
professionalKevin Marois5-Jan-16 5:46 

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.