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.

    • 38 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

    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

    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

    MSDN Webcast on creating attractive UI on WM devices

    • 12 Comments
    Please join me for the webcast that I will be presenting the upcoming Wednesday: MSDN Webcast: 24 Hours of Windows Mobile Application Development: Creating Compelling and Attractive UIs for Windows Mobile Applications. Update: You can download...
  • Alex Yakhnin's Blog

    Update to the Picker Box control.

    • 12 Comments
    Last time I showed you how you could create the Picker Box functionality in your Windows Phone 7 applications. There're a few updates that I had to make in order to match Picker Box's behavior to it snative counterpart. First of all you will probably...
  • 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

    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

    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

    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

    Dimming the background.

    • 9 Comments
    I've received a question from the customer the other day asking me how he can implement functionality of "dimming" background effect when a message box is shown in his Windows Mobile application. In fact it should be pretty easy to do utilizing the DrawAlpha...
  • Alex Yakhnin's Blog

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

    • 8 Comments
    Let's continue on the way how-to implement the model-viewer-controller pattern in .NET Compact Framework applications that I started in my previous post . We stopped at the point where we needed to figure out on how to connect the LoginController with...
  • 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

    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

    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

    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

    Generic control creation.

    • 7 Comments
    I've been doing a lot of coding lately that utilize the features of the C# 2.0 and 3.0 language enhancements such as generics, Func delegates, anonymous types etc... And then it hit me that we are still using the old and clumsy coding style when developing...
  • Alex Yakhnin's Blog

    Windows Phone Developer Tools RTM'ed!

    • 7 Comments
    The WPDT has gone gold and available for download: Windows Phone Developer Tools The tools include the Panorama, Pivot and Bing Map control. Also the team has released the Silverlight for Windows Phone Toolkit which includes the controls and...
  • Alex Yakhnin's Blog

    Update to the Progress Dialog.

    • 6 Comments
    I've made some refactoring to the Progress Dialog code: First of all I changed the name. Now it's ProgressIndicator. Second, this class is now a custom control derived from ContentControl . And last, I twicked the styles and the code so it matches...
  • Alex Yakhnin's Blog

    How to display charms on a top of the WebView.

    • 6 Comments
    I've been moving along in my development of the FeedPoint app to WinRT. And as a good citizen of the Modern UI I needed to implement app contracts such as search, share and settings which become available for a user via charms. When displaying Accounts...
  • 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

    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

    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

    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

    (Y)et (A)nother (F)eed (R)eader for WP7

    • 4 Comments
    I don't know how about you, but I love the Outlook app on the Windows Phone 7. I like its simplicity, readability, ability to quickly triage the email, etc... I also read feeds every day using the Google Reader on the web. I've been looking through a...
  • Alex Yakhnin's Blog

    Identifying VGA resolution on WM devices.

    • 4 Comments
    Very often when developing managed applications you need to target both VGA (480x640) and the older QVGA (240x320) type of devices. If the AutoScaleMode property of your form is set to Dpi, your controls such as textboxes. labels, buttons etc... will...
Page 1 of 5 (116 items) 12345