Alex Yakhnin's Blog

Development and architecture for Windows Mobile devices. And a few useful tips on the way...

  • Alex Yakhnin's Blog

    Creating Scrollable TextBlock for WP7.

    • 40 Comments
    There could be many scenarios when you'd need to be able to dipslay a text in your WP7 application which doesn't fit on the screen. The easiest way to approach to solve this would be to utilize the ScrollViewer control as a host for a TextBlock. Something...
  • Alex Yakhnin's Blog

    Creating a Splash Screen with a progress bar for WP7 applications.

    • 7 Comments
    If you have seen the demo of the sample application "USGA Shot Tracker" that was created by the UX and design team at Microsoft to demonstrate the principles of the UX on WP7 platform, you have probably noticed how the app is displaying a splash screen...
  • Alex Yakhnin's Blog

    Implementing Picker Box functionality on WP7.

    • 11 Comments
    Last time I talked about the missing Combobox control in the Windows Phone 7 platform and the ways it could be replaced if you require similar functionality. Among the replacements I mentioned the Picker Box functionality. Today I am going to show you...
  • Alex Yakhnin's Blog

    Creating List Picker for WP7.

    • 14 Comments
    For the application that I am working on right now I needed a control that would allow a user to select a single item from a small list. Similar to how the list picker is defined in the design templates : This document also specifies that when the...
  • Alex Yakhnin's Blog

    Creating Progress Dialog for WP7.

    • 5 Comments
    When creating Windows Phone 7 applications we'll inevitably encounter the situation when a certain procedure takes some time to complete. In this cases it's a good practice to show a progress indicator to the user. The UI Design and Interaction Guide...
  • Alex Yakhnin's Blog

    Mobile MVC framework (part 1)

    • 11 Comments
    In order to show you the Mobile MVC framework I came up with, let me walk you through the same excersise we did when I showed you the MVC pattern . Let's create a simple application with the same login form. Let's create a Smart Devices project and rename...
  • Alex Yakhnin's Blog

    Creating Image Round Button for WP7 (part 1)

    • 5 Comments
    When creating a Windows Phone 7 application I've encountered a need for a round button with an icon, similar to what the native applications on the phone have: So, I set on the path of creating one by myself. Since we've been armed with the power...
  • Alex Yakhnin's Blog

    Accessing WCF Data Services from WP7 CTP.

    • 2 Comments
    The current version of the WP7 tools doesn't allow you to use the WCF Data Services by just adding service a from the VS environment. This workthrough will show you how you can still use OData services from the WP7. (Disclaimer: Even though I work...
  • Alex Yakhnin's Blog

    Creating Round Image Button for WP7 (part 2)

    • 6 Comments
    Last time I showed you how I created a Round image Button for my Windows Phone 7 application. Today I am going to show you one of the ways to address a common issue with displaying images in your application that would need to be changed depending on...
  • Alex Yakhnin's Blog

    DataGrid with a custom header and selection.

    • 9 Comments
    One of the questions that has recently come up on the .Net CF MSDN forums was on how to create a custom (owner drawn) header in the DataGrid. This person wanted to implement the look similar to the grid that is used in the Mobile CRM application that...
  • Alex Yakhnin's Blog

    Creating LINQ Data Provider for WP7 (Part 1)

    • 3 Comments
    As you all should be aware by now, the first release SL for the WP7 is not going to contain any structured data storage (SQL CE) functionality or LINQ data providers. However this fact should not preclude us from rolling out our own version. After all...
  • Alex Yakhnin's Blog

    Implementing MVC pattern in .NET CF applications (Part 1).

    • 3 Comments
    I would like to start a series of posts devoted to best practices when designing mobile applications. So in this first post I will describe the MVC pattern that I have been using when creating CF applications for the customers. I realize that a lot has...
  • Alex Yakhnin's Blog

    Update to List Picker Control

    • 19 Comments
    I've made a few updates to the original code for the List picker control that I described here . When creating this control I made a mistake of relying on LayoutUpdated event to make calls to ScrollIntoView when animation is chaning the control's size...
  • Alex Yakhnin's Blog

    Deep Zoom on WP7

    • 8 Comments
    The Deep Zoom (Seadragon) functionality has been available on Silverlight since version 2. It's a techonology that provides the ability to interactively view high-resolution images. The images need to be prepared using available tools like Deep Zoom Composer...
  • Alex Yakhnin's Blog

    Mobile MVC framework (part 4) - passing data between controllers

    • 6 Comments
    This is the part 4 of the series of the posts related to the Mobile MVC framework that I have described for you in my previous posts . I've updated the framework to handle the scenario of passing data between different controllers: the Controller class...
  • Alex Yakhnin's Blog

    Mobile MVC framework (part 2)

    • 8 Comments
    Last time I showed you how to create a simple Login Form and pass the data between the View and Controller using ViewData dictionary. In this post I am going to show you how to pass a strongly typed data. We will continue working with code sample we...
  • Alex Yakhnin's Blog

    Do we need ComboBox on WP7?

    • 1 Comments
    I've seen recently quite a few requiests from the developers externally and internally asking about the ComboBox control for Windows Phone 7 applications. The answer has been that the ComboBox control is not a part of the platform, however if you want...
  • Alex Yakhnin's Blog

    App.config for WP7 applications

    • 3 Comments
    When developing applications it is always a good idea not to hardcode database connections, urls, server locations, etc... In .NET there's the Configuration stack that allows us to use the app.config xml file. Unfortunately this functionality doesn't...
  • Alex Yakhnin's Blog

    Customizing Picker Box dialog.

    • 10 Comments
    Today I am going to show you how you can customize the Picker Box dialog to display a color picking dialog similar to the one that you see in the Settings\theme applet in the emulator instead of just a list of strings: In order to be able to...
  • Alex Yakhnin's Blog

    Update to MobileMVC with Container

    • 2 Comments
    I've recently made a substantial update to the MobileMVC framework . I've added the ability to utilize a (D)epenendcy (I)njection container by adding IControllerProvider interface into the framework which looks like this: public interface IControllerProvider...
  • Alex Yakhnin's Blog

    How to restore scroll position of the GridView when navigating back.

    • 3 Comments
    When developing WinRT applications which utilize GridView or ListView controls you'd come to the situation when navigating back to a page, you need to restore the scroll position of aforementioned controls. The solution that you can employ in this case...
  • Alex Yakhnin's Blog

    Mobile MVC framework (part 3) - communicating with events

    • 4 Comments
    Just for people who are not comfortable with passing strings when notifiying the view or the controller, I've added the functionality to use events instead. You would not need to hook into the events explicitly because the controller will take care of...
  • Alex Yakhnin's Blog

    A few tips on customizing ListView in WM 6.5

    • 7 Comments
    Would you like to have ListView control in your .NET CF application on Windows Mobile 6.5 to have this fancy gradient item selections (they are defined by the current theme on the device)? The secret is in the extended style LVS_EX_THEME that needs...
  • Alex Yakhnin's Blog

    A few useful extensions for ObservableCollection

    • 1 Comments
    I created a few extension methods that deal with ObservableCollection that I've been using in the WP7 projects that I hope you will find useful as well. The first method is for sorting a collection. The second is to convert IEnumerable<T> to ObservableCollection<T>...
  • Alex Yakhnin's Blog

    Creating Round Image Button for WP7 (part 3)

    • 0 Comments
    In my previous post I described a programmatic way to change an icon for the Round Image button (or any other control for that matter) in your WP7 application by creating the ThemedImageConverter class. However, if you are able to create a XAML vector...
Page 1 of 5 (116 items) 12345