Resources for my SDP session

Tuesday, May 23, 2017

Hello friends, this session is about FROM WPF TO UWP, In briefly- As for Desktop applications, for the last 10 years WPF was (and still?) the best solution for windows OS. Now it is complicated, WPF is not the main player now, even that is far away from being deprecated. UWP of Win10 is the recommended platform for client side, in this session we will cover the abilities and compare those two technologies aspects from Performance to development time, via dev concept’s, patterns, devices, and more. We will try to answer the Big question of is it possible to migrate code from...
אין תגובות

UWP – Win10 – Files and Folders P2 – Drag drop elements.

Monday, February 27, 2017

In this post we will jump in the real world scenario while user might drag clipboard files over our application pane and we like to copy those files and use them in our application. Drag-Drop: A few technical details. Your Dropping area (the place you attended to release the clipboard file) Should looks like this: <Grid Height="100" Width="100" Background="Red" AllowDrop="True" DragOver="Border_DragOver" Drop="Grid_Drop"/>   I have 3 different parts here, AllowDrop, DragOver handling, & Drop handling. Those are mandatory. The dragOver implementation is kind of : private void Border_DragOver(object sender, DragEventArgs e) { ...
אין תגובות

UWP – when Build failed on different computers

Tuesday, October 25, 2016

An important Deployment action. You worked at the office on universal apps application, You take the code with you as whole solution to continue at home. While trying opening the solution its ok, also build action its ok even rebuild action.. Only when try to debug the project (F5) you might face of with annoying evil. Something like : Registration of the app failed. Another user has already installed an unpackaged version of this app. The current user cannot replace this with a packaged version. The conflicting package is {some Guid} Well it simple in universal apps there is underline deployment session, Every project has  a manifest...
אין תגובות

UWP Win10 – introduction to page navigation.

Wednesday, September 28, 2016

The Application block of Win10 app constructed as following: Application > Window > Frame > Page While this page  can be any page you like. Commonly use pattern is leave the main page as container and inside it use internal page as Content place holder. Lets build the solution files than continue on navigation implementation. I simply create solution folder named Pages with some pages inside, Now lets build the MainPage xaml: <Grid Background="LightCyan"> <Grid.RowDefinitions> <RowDefinition Height="1*"/> ...
אין תגובות

UWP new Controls – Layout controls

Sunday, September 11, 2016

In this post I will passing over some major layout technics for developers who moving forward to UWP environment. This migration from former Windows versions required a short introduction and that my posts about. In for this time: Layout controls Pivot-Control: Actually its not new, just replacement to the traditional tab control, with nicer behavior and looks Code: <Pivot Title="My Pivtos"> <PivotItem Header="Pivot Item 1"> <Page> ...
אין תגובות

From WPF to UWP – New controls

Monday, August 29, 2016

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. Flyout- this new Control can gardening almost anywhere to provide extra information like tooltips or even takes  traditional Dialog places. Flyout Demo: <Button Width="100" Content="Hello Button" > <Button.Flyout> <Flyout Placement="Full"> ...
אין תגובות

UWP-Win10- Working with Adaptive triggers

Thursday, August 4, 2016

One of the new features while developing for Universal Apps is Adaptive UI, Having thinking of cross devices, we should never build a fixed UI, consider big PC Laptops, Tablets or even smartphone, It is very easy actually, just register to main window size changed and manage the layout state according to current MainWindow size -* First observe the next image: in general this is a wide screen state. Than observe that image: In general it is a narrow state. So, what we have here is a simple technic which required some practices to make the best from it, The UI content is simple: <RelativePanel> ...
אין תגובות

UWP Win10– introduction -(From WPF to UWP)

Friday, July 1, 2016

UWP is the next stage for UI windows apps after WPF, in purpose I didn’t count  win8 (WinRT) in my sight, in opposite to those who said WPF IS DIE (it was 2-3 years ago) Well WPF still kicking while Win8 platform is RIP. Old platform but new attitude:  From the UWP concept especially for FED developers using Xaml, it will be easy to jump in.  even if not, my next series of posts will guide you into UWP development. Cross-platform as Concept is great, even if we thinking on Microsoft cross-platform, No more coding for a platform or device, just coding, of...
תגובה אחת