jmix90

Stories submitted by jmix90

WinJS – how to use resources and do some globalization(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 2 months, 14 days ago

Resources are really useful when you want to globalize your app to distribute it to the whole world ! It also can be useful when you need to store a label used on a lot of place in your application. The .Net resources system is described all around the web and today we are going to explore a little the WinJS one. read more...

1 comment |category: |Views: 56

tags: another

WinJS – how to create your own control !(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 2 months, 18 days ago

WinJS comes with several controls out of the box : Listview, FlipView, SemanticZoom, DatePicker, Flyout, etc… Although they are really powerful and useful, they do not cover all needs and it’s time for us (the community) to provide some other controls. In this post we’ll see how this can be done. Don’t worry it’s in fact really easy and straightforward. read more...

2 comments |category: |Views: 132

tags: another

WinJS – Navigate in a ListView using mouse wheel is easy !(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 2 months, 20 days ago

The listview can be considered as the most powerful control of the WinJS UI controls. It works very well in ‘touch mode’ and the user experience is just great ! When it comes to use the mouse & keyboard, the scrollbars appears and you can use them to navigate in the list. Then, the first thing you may try is to use the mouse wheel : no result at all ! By default, you can’t navigate in the listview using the mouse wheel. I think it can be really strange for user who are used to this behavior and in this post we’ll see how it’s easy to implement the mouse-wheel scroll ! read more...

add a comment |category: |Views: 19

tags: another

Metro apps – a lot of icons are available out of the box !(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 2 months, 22 days ago

In Metro apps, the Metro design is everywhere and that’s pretty cool ! When you start an application, you want and need it to be compliant with this theme and one main part of it are icons. What you may not know is that there is already a lot of icons available for you out of the box in any Metro app. Let’s discover them ! read more...

1 comment |category: |Views: 289

tags: another

WinJS – how to cancel the navigation from a page ?(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 2 months, 25 days ago

Did you use the WinJS navigation framework ? If not, you should really take a look at it because it’s can be really useful and powerful ! Today I needed to cancel the navigation from a page based on the current state of the page. It could be useful to zoom out of a semantic zoom instead of navigating back when the user tap the little arrow (windows phone habit ). I was wondering how I would be able to code this and it turned out that this is pretty easy. read more...

add a comment |category: |Views: 5

tags: another

Coded UI Tests : WPF Utilities(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 4 months, 11 days ago

I played a lot with Coded UI Tests API on WPF applications these last weeks. It turned out that this is a really powerful framework available to use but that we need to write a lot of code ourselves even for simple things. You may already know the coded ui test utilities of Gautam Goenka available on his blog. On this blog post, I want to introduce a set of complementary helper methods that you can use in your project. The links to the binaries/sources are at the end of the post. read more...

1 comment |category: |Views: 82

tags: another

Coded UI Tests : Property “ReadOnly” cannot be retrieved ...(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 4 months, 16 days ago

Did you ever encounter this error while trying to retrieve a property value from an AutomationElement ? I did ! Don’t worry, there is always a work-around, and I’ve found one. In this post, we’ll dig a little more into this issue and give a little example of the “Coded UI Tests” fun read more...

add a comment |category: |Views: 4

tags: another

[WP7] Quick tip : how to set 32 bits per pixel for your app.(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 4 months, 19 days ago

Something new which came with Mango is the ability for the developers to set the number of bits per pixel our app use. By doing this, your app will have shiny graphics! This increase the color depth and then the gradient are rendered really more smoothly. I have found a really great example picture on this web forum to show this : read more...

add a comment |category: |Views: 7

tags: another

3D and Azure : yes we can !(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 5 months, 4 days ago

In the past, I played a lot with 3D inside WPF. A few days ago, I discovered something awesome : using the power of the Cloud to create beautiful 3D scene. read more...

add a comment |category: |Views: 3

tags: another

WPF 4.5 – Part 13 : binding to types that Implement ICustomTypeProvide(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 6 months, 3 days ago

This is the part number 13 of the serie on the WPF 4.5 new features. ICustomTypeProvider is an interface already known in the Silverlight 5 world but it is shipped with full support in WPF 4.5 too. In this post we will discover what is the interface ICustomTypeProvider and how it can be used in WPF 4.5 ! read more...

add a comment |category: |Views: 19

tags: another

the recorder encountered a wrong control while recording the last acti(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 6 months, 10 days ago

One more quick post on Coded UI tests recording issue. Today, the coded UI test builder tool said to me “The recorder encountered a wrong control while recording the last action.” ! After some search in my app, I found out that it’is related to a ScrollViewer in a TabControl. In this post we’ll see how I solved it… read more...

add a comment |category: |Views: 3

tags: another

WP7 : how to get the version number of my application ?(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 6 months, 20 days ago

It’s always a good thing to provide information to the users of your application. One thing which may seem trivial is the version number. In fact it’s a really important information because with it the customers can send you a feedback with enough information to know in which version you have to fix the bug. In ConsoTracker, the app I build on Windows Phone, I forgot to provide it and users ask met to provide it ! In this post you’ll discover that the classic .Net way does not work and how to retrieve it from your code. read more...

add a comment |category: |Views: 5

tags: another

WPF 4.5 – Part 11 : New features for the VirtualizingPanel(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 7 months, 19 days ago

Virtualizing panels are involved when an application’s performance needs to be improved. It provide a base panel for virtualization of children elements inside it. Instead of creating all the UI element which are inside an ItemControls, only the one which need to be displayed are created. Because the process of creating these elements is intensive, the use of a VirtualizingPanel makes an item controls display faster. The VirtualizingPanel comes with new features in WPF 4.5: two properties named ScrollUnit and CacheLength and virtualization on grouped data. In this post we will discover them in details. This post is a part of a serie on WPF 4.5 new features. read more...

add a comment |category: |Views: 22

tags: another

WPF 4.5 : Live shaping(filtering, grouping and sorting of collections)(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 7 months, 22 days ago

For each item list used in a WPF application, a collection view is in fact created and used by the controls. This view enables navigation, filtering, grouping and sorting from the XAML or the code. It is a very powerful feature that is offered to the developers since a long time in WPF. In WPF 4.5 as in WPF 4.0 the grouping, sorting and filtering operations are done when the item is added to the collection or when the Refresh method is called. The drawback is that if an item property value involved in one of these operations is updated, then the sorting/grouping/filtering will not be done again. WPF 4.5 introduce a feature called live shaping which shapes the collection view in live. Let’s dig a little more this feature. This post is the tenth part of a serie on the WPF 4.5 new features. read more...

add a comment |category: |Views: 26

tags: another

WPF 4.5 – Part 9 : binding to static properties(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 7 months, 28 days ago

There is two different ways to make a property bindable: implementing INotifyPropertyChanged is the most known solution, the other one is to create a event named PropertyNameChanged. In WPF 4.0 there is no way to create a static property which can be used by a binding with property change notifications. In this post, part of a serie on the WPF 4.5 new features, we’ll see how it can now be done! read more...

1 comment |category: |Views: 42

tags: another

WPF 4.5 – Part 8 : No more airspace problems - win32 & WPF(www.jonathanantoine.com)

submitted by jmix90jmix90(570) 7 months, 29 days ago

Integrating win 32 component is already possible in WPF 4.0, even in WPF 3.5 but there is the well-know issue : airspace problems. Each render technology belongs to only one airspace only. So when you place Win32 components in your WPF application they behave as black hole for input, render transformation are not (well) applied, etc. With this 4.5 release, the WPF team solves this drawback. In this post more explanation and an example of how it improves developers’ life will be gived. This post is a part of a serie on WPF 4.5 new features. read more...

1 comment |category: |Views: 60

tags: another