[program-l] Re: WPF XAML Editor HotKey

  • From: "Dante Gagne" <dmarc-noreply@xxxxxxxxxxxxx> ("danteg")
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Tue, 11 Jan 2022 17:11:54 +0000

It's supposed to be. I'm not going to say it's particularly friendly as I think 
it's one of those areas that fell more into the category of "We're not really 
sure how to do a screen reader version of the designer", so I would be very 
hesitant to say that it's particularly great... but I do know that it has 
passed the accessibility tests... so...

If you've got feedback on it, please don't hesitate to send it my way or 
through the "suggest a feature" path in Visual Studio. But, I believe that it 
can be used.

--D

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of juanhernandez98@xxxxxxxxx
Sent: Monday, January 10, 2022 10:53 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: WPF XAML Editor HotKey

In the split version, is the designer accessible? Can we read the preview split 
pain?


From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx
<program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx>> On 
Behalf Of Dante Gagne ("danteg")
Sent: Wednesday, January 5, 2022 9:19 AM
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
Cc: Rick USA <richardrthomas48@xxxxxxxxx<mailto:richardrthomas48@xxxxxxxxx>>
Subject: [program-l] Re: WPF XAML Editor HotKey

You should be able to start editing any XAML file by just hitting Enter on it 
in the Solution Explorer.

Visual Studio's default behavior is to open XAML files in "Split View", which 
visually splits the document in half, giving a preview/design view of the 
document in the top half and the flat XAML code in the bottom half.

You can change this behavior by going into Tools\Options, heading to the bottom 
of the list for XAML Designer\General and changing the "Default document view" 
(shortcut D) to either Source View (which will give you just the XAML text 
representation) or Design View (which gives you the visual preview/design view).

To answer the question about encoding in the Open With dialog, as far as I 
know, the defaults are the ones that do *NOT* say "with encoding". I'm not 
actually sure the difference between the two. I generally don't use the Open 
With dialog and I tend to ask folks when they need it... just for my own 
education. I'm hoping the above instructions on how to choose between the 
document views should make it so you don't need to use the Open With experience 
any more.

Let me know if this solves your issues.

--D

From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx
<program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx>> On 
Behalf Of Rick USA
Sent: Wednesday, January 5, 2022 7:39 AM
To: Program-L@Freelists. Org 
<program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>>
Cc: Rick USA <richardrthomas48@xxxxxxxxx<mailto:richardrthomas48@xxxxxxxxx>>
Subject: [program-l] WPF XAML Editor HotKey

Hi:
I Created a (wpf) project and wanted to open the (xaml) editor for (Main.xaml) 
from in solution explorer.
The only way I could do it was to bring up the dropdown menu dialog, select the 
open with item then in that list select source code - not sure if I should have 
selected that as a text or the source with encoding or something else all 
together.
Is there a hot key to just open the (xaml) editor without opening the designer 
or going through the above steps?
And do I use the Source (text) or the Source with Encoding option?
Richard R. Thomas (Rick USA)

I might also want to switch between the xaml editor, any selected item and the 
Sent from Mail<https://go.microsoft.com/fwlin%20k/?LinkId=550986> for Windows

** To leave the list, click on the immediately-following link:- ** 
[mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link ;
doesn't work then send a message to: ** 
program-l-request@xxxxxxxxxxxxx<mailto:program-l-request@xxxxxxxxxxxxx> ** and 
in the Subject line type ** unsubscribe ** For other list commands such as 
vacation mode, click on the ** immediately-following link:- ** 
[mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ;
** program-l-request@xxxxxxxxxxxxx<mailto:program-l-request@xxxxxxxxxxxxx> with 
the Subject:- faq

Other related posts: