the WPF Designer / Editor 'surface' in Visual Studio.
Posted: Tue Mar 28, 2017 2:02 pm
Hi guys of the X# forum,
I am starting this thread as a result of me being aware that some / many forum readers seem unfamiliar with the strengths and complexities of the Designer for WPF forms - within Visual Studio.
I have been using the in-built designer / editor for many years and I see that the first image I will show you was done some time around 2010, latest possible date of 2012. Yes, its 5 to 7 years old - lets call it SIX years for simplicity.
Before I show you this non-trivial WPF form, let me says that to get the best from WPF design, we need to take firmly on board the fact that it is a 'nested' design, where we have control objects within other control objects and so on as deep as we like. This is what causes most folks the problems they report, and get frustrated over.
Okay then, lets take a look at my Invoices screen, shown at 'DevShare' 2011 I believe :-
Yes, there is a lot of detail, even though I was no expert, and don't profess to be one even now.
In fact what we have is four Grids within an outer Grid. We can see this by opening up the Window called 'Document Outline' - check this below :-
This is to be found under 'View >> other windows >> document outline' - or Ctrl+Alt+T .
Now then, as with more complex designers, like those in DTP (desk top processors) and AutoCAD drawing type tools, we can have locking and hiding of screen elements, to make work on other parts easier. Lets see some images of Lock and Hide :-
As you can see in this last image, the one just above here, we have turned off, or hidden some of the form's sub-objects. In this case two Grids and a push button.
And YES, we could turn everything off to make a blank screen, without destroying our previous work.
Try this for 'size' - meaning in UK parlance, "what do you think of this ?"
And we can also lock the whole form quite simply by one click - see below :-
I think this is enough for this post, I will continue in further posts where we can examine other aspects of the designer / editor features.
Here is a taster of what is to come :-
The size is set at 6,400% - as we can actually manually input any size we require.
Cheers, and Best regards,
"Learning is fun",
Phil.
Wales, UK.
I am starting this thread as a result of me being aware that some / many forum readers seem unfamiliar with the strengths and complexities of the Designer for WPF forms - within Visual Studio.
I have been using the in-built designer / editor for many years and I see that the first image I will show you was done some time around 2010, latest possible date of 2012. Yes, its 5 to 7 years old - lets call it SIX years for simplicity.
Before I show you this non-trivial WPF form, let me says that to get the best from WPF design, we need to take firmly on board the fact that it is a 'nested' design, where we have control objects within other control objects and so on as deep as we like. This is what causes most folks the problems they report, and get frustrated over.
Okay then, lets take a look at my Invoices screen, shown at 'DevShare' 2011 I believe :-
Yes, there is a lot of detail, even though I was no expert, and don't profess to be one even now.
In fact what we have is four Grids within an outer Grid. We can see this by opening up the Window called 'Document Outline' - check this below :-
This is to be found under 'View >> other windows >> document outline' - or Ctrl+Alt+T .
Now then, as with more complex designers, like those in DTP (desk top processors) and AutoCAD drawing type tools, we can have locking and hiding of screen elements, to make work on other parts easier. Lets see some images of Lock and Hide :-
As you can see in this last image, the one just above here, we have turned off, or hidden some of the form's sub-objects. In this case two Grids and a push button.
And YES, we could turn everything off to make a blank screen, without destroying our previous work.
Try this for 'size' - meaning in UK parlance, "what do you think of this ?"
And we can also lock the whole form quite simply by one click - see below :-
I think this is enough for this post, I will continue in further posts where we can examine other aspects of the designer / editor features.
Here is a taster of what is to come :-
The size is set at 6,400% - as we can actually manually input any size we require.
Cheers, and Best regards,
"Learning is fun",
Phil.
Wales, UK.