Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Questions abouts WPF developpment

Closed Thread
 
Thread Tools Display Modes
Old 09-17-2006   #1 (permalink)
Cyber Sinh
Guest


 

Questions abouts WPF developpment

Hi,

I actually test WPF RC1 and I have 4 questions that I don't find answer:

1. I use a FlowDocumentReader. This control have not "FirstPage()"
method that I need (DocumentViewerBase has it). How can I go to first
page with a FlowDocumentReader control?

2. I try to save the position and the size of Window. In order to that,
I bind Top, Left, Width and Height property to my settings class like:

Binding binding = new Binding("WindowWidth");
binding.Source = Settings.Default;
mainWindow.SetBinding(Window.WidthProperty, binding);

But when I move / resize my window, settings are not updated. Why?

3. What's equivalent in WPF for "Application.Restart()" in WindowsForms?

4. I have a MenuItem defined like :

<MenuItem Name="menuCheckUpdate" Header="Check for updates"
InputGestureText="F5" Click="CheckUpdates" />

What do I write between "<Window.InputBindings>" to simply bind F5 key
press to CheckUpdates event?

Thanks very much.
Cyber Sinh
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
32/64 bit questions & DirectX 9/10 questions :) Heineken77 Gaming 5 05-05-2008 09:49 AM
Questions BarbaraB Vista print fax & scan 1 01-10-2008 04:35 PM
Questions, questions, questions... on how to improve Jacob Saaby Nielsen PowerShell 7 12-11-2007 03:59 AM
3 questions Middle School tchr Vista General 1 11-23-2007 04:54 AM
Some questions Scott Vista General 3 02-09-2007 01:30 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50