For those who familiars with WPF this post is special for you while merging WPF skills with upcoming UWP skills ,
I am not gonna talk about layout here only spotting for some new features that I found nice to use.
this new Control can gardening almost anywhere to provide extra information like tooltips or even takes traditional Dialog places.
The Code snipped above is simple flyout, the flyout default behavior is per environment, so is button, the flyout control will automatically opened while clicking on the button.
Yet, closing the flyout is user depends, like in this demo the internal func FlyButton_Click can close the flyout,
More complex scenarios is for controls who don’t provide built-in flyout like Textbox.
So simple built-in attached property like:
Again since it is a custom flyout the opening action is in our hands,
And off-course a similar closing event.
– a very useful one, we used to build this control by handmade along with Winforms and WPF,
It is a simple autoCompleted Text area to filtering over information,
BTW, watch the Header Property, it is now comes for free in many controls to obtain Brand marking of the control.
We also has an Icon..
Again this Control is good example of Thinking and Usability Orienttation..
So the Xaml code is:
I am using here with x:bind tools, it will explain later in my posts, can work with directly CodeBehind and Control Name property or Data Binding (WPF style).
And the C# code is:
another Checkbox style Control, it widely used in Win10 OS,
Is has built-in Content for on and content for off, again nothing special just the attitude to simplify things to user (and to Programmers).
So, the Xaml code is simple:
Another nice feature is the Spell checking around TextBox control.
Observe this snapshot: the worldd word isn’t exist so WIN10 can tell you that.
Thinking about win10 as global OS with supports for Smartphones it is prompted.
So just use it: