Lester's WPF\SL Blog


Simple, Easy & Beautiful


 

Blog - Post Feedback Form(CAPTCHA)
  • Lester's WPF\Silverlight Blog

    Nifty Silverlight game

    • 6 Comments
    Came across this nice little Silverlight game.... Give it a shot... heres the link Share this post
  • Lester's WPF\Silverlight Blog

    Maps integrated into Live Search

    • 2 Comments
    Live Search has now integrated maps into the search itself.. so now if you type in an address you get a map at the top of the search which is interactive... ain't that sweet Search: 156th ave redmond Search: traffic redmond Search : map Fom the Virtual earth blog : Enter the word “Map” and Live Search will try to automatically determine your current city and show you a map of your surrounding area Similarly, the words “Traffic” or “Commute” will show you’re the current traffic conditions around your area if available. Share this post
  • Lester's WPF\Silverlight Blog

    WpfPerf tools now available as a msi

    • 7 Comments
    A couple of weeks ago I had posted an entry about the WPF perf tools being part of the SDK.. One of the readers asked for a separate installable since the SDK is huge and downloading the SDK just for the perf tools really didnt make sense... So we listened, and the WPF perf tools are now available as a separate installable .. Download: x86 and x64 versions Share this post
  • Lester's WPF\Silverlight Blog

    Back to the Future @TechEd 2007

    • 4 Comments
    Now this is pretty funny... Watch the video that was played at the start of the keynote address at TechEd 2007 Video: Microsoft Back to the Future Share this post
  • Lester's WPF\Silverlight Blog

    WPF Blog Writer

    • 3 Comments
    Recently, I was trying my hand at creating a simple blog writer. The writer came out pretty nice. The app makes use of a base richEditor control (thanks to Praj ).. After a bit of tweaking it ended up like the above... So the app just makes a simple call in the xaml <custom:RichEditor/> ...tada ... you have it there!!! The next thing is to write to a blog... In this case, the writer is coded to post the entry on blogger, which makes use of the Google data API .. this could easily be changed for other blogs. It also makes use of a Xaml-HTML converter as the string passed needs to be in HTML. For now, its a blog writer - hence, it onluy writes. But it could easily be extended into a full blown Blog client. Do I hear anyone taking...
  • Lester's WPF\Silverlight Blog

    Xaml shield image in plain Xaml

    • 1 Comments
    just came across a post which includes xaml to display the xaml shield. That looks sweet.. and all the more when its in Xaml... Xaml code attached Share this post
  • Lester's WPF\Silverlight Blog

    Vista style Open/Save FileDialogs

    • 6 Comments
    If you have tried creating FileDialogs in WPF, they usually do not blend well into the Vista look. The solution is to use the wrappers provided in the VistaBridge library which is part of the SDK samples. You could include the library dll (around 100k) in your project and then make the simple call to CommonOpenFileDialog/CommonSaveFileDialog ... The other option being to just include the specific classes in the project. CommonSaveFileDialog saveDialog = new CommonSaveFileDialog (); Its that easy!! Share this post
  • Lester's WPF\Silverlight Blog

    New WPF Community Site

    • 1 Comments
    We now have a new community site for WPF - WWW.windowsclient.net It gels both the WPF and Windows forms communities and provides for a unified .NET/Windows client community. This effort consolidates the community knowledge - so more power to you guys out there :) Share this post
  • Lester's WPF\Silverlight Blog

    Updated WpfPerf.msi

    • 3 Comments
    I got a couple of mail regarding the performance tools... The good news is that the Windows SDK which was released a week ago has the updated WPF perf tools. WPFperf.msi comes as part of the SDK. You would have to uninstall previous versions of the msi before installing the updated version.
  • Lester's WPF\Silverlight Blog

    download .NET 3.5 beta1

    • 1 Comments
    A bit late ;) but .NET 3.5 beta1 was released a couple of days ago... http://www.microsoft.com/downloads/details.aspx?FamilyId=E3715E6F-E123-428B-8A0F-028AFB9E0322&displaylang=en "The .NET Framework 3.5 adds new features in several major technology areas; including: Deep integration of Language Integrated Query (LINQ) and data awareness ASP.NET AJAX for quickly creating more efficient, more interactive and highly-personalized Web experiences that work across all the most popular browsers New web protocol support for building WCF services including AJAX, JSON, REST, POX, RSS, ATOM and several new WS-* standards Full tooling support for WF, WCF and WPF including the new workflow-enabled services technology New classes...
  • Lester's WPF\Silverlight Blog

    Update: XamlPadX v2.5

    • 13 Comments
    I was pleasantly surprised by the response I got for the last update of the tool. Along with the feedback I got a few bugs... ahh the bugs ... so went about fixing them ... Got a couple of new features too. :) If you have noticed above, theres a System Tray option to minimize to the systray. Now it wont occupy any additional space - its in the sys tray. By default, its not enabled. The other thing that I added is the send to command interpreter option in the Property tree view. One thing to note here is that sometimes the node higher up the tree is passed. For instance, if you send the Height property of a TextBox to the command interpreter it will send the textbox instance. The reasoning here is that the user wants to modify the Height...
  • Lester's WPF\Silverlight Blog

    Microsoft SilverLight announced

    • 0 Comments
    Heard about SilverLight … it was announced today by Microsoft at the National Association of Broadcasters(NAB) conference. So what is it – “ Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications (RIAs) for the Web .” ... btw for those of you wondering, this was formerly known as WPF/E... so no more confusion with WPF ... For more info follow the links below: Silverlight Product Site Silverlight Virtual Pressroom Silverlight Community Site Ain't that logo sweet :) Share this post
  • Lester's WPF\Silverlight Blog

    Expression Blend available on MSDN

    • 0 Comments
    Expression Web and Blend will be available to all MSDN premium subscribers. yooohooo .... More power to users ....The following is the excerpt from Somasegar's blog: " I am pleased to say that we will be making Expression Web available starting today to all MSDN Premium subscribers. We will also make Expression Blend available to MSDN Premium subscribers shortly after the Expression Studio release later in Q2 2007...... The decision extends to all MSDN Premium subscribers, including those with Visual Studio Professional and Visual Studio Team Edition’s. For customers that have premium subscriptions to Visual Studio Team Suite, we will be making the entire Expression Studio available to them." Cheers Share this post
  • Lester's WPF\Silverlight Blog

    Xaml FlowDoc to XPS

    • 1 Comments
    Feng Yuan has a nice blog post on how to convert FlowDocuments to an XPS document with the header. The code is in the form of a wrapper class so its gonna be handy. I tried out the code on a RichTextBox and it worked like a charm J I reused one of my old samples and it looks great :) ... The sample code is attached . (PS: Do make a point a read the original post for code specific details) Share this post
  • Lester's WPF\Silverlight Blog

    WPF/E video carousel

    • 7 Comments
    Wpf/e is coming out nicely… I tried out a video carousel and it came out really great. Take a look below Clicking on the video brings up the video enlarged. Clicking this video closes the large size video and the its back to choosing :)... The code is attached . Have fun!! Share this post
  • Lester's WPF\Silverlight Blog

    Smalltalk sessions in a XBAP

    • 2 Comments
    Xbaps are just multiplying by the day... Just came across this interesting xbap which runs VistaSmalltalk sessions. Its got a nice usage of popups. http://vistascript.net/vistascript/vsb/Vsb.xbap Share this post
  • Lester's WPF\Silverlight Blog

    Sample form using listview

    • 2 Comments
    Recently I was clearing up my documents and I came across this sample I made. Thought it might be useful to someone out there and here it is. It’s basically something like a form but which dynamically grows as and when you fill up the rows. So the typical ‘Add New Row’ button is missing. J … Red (more like pink) rows indicate values being empty; green being obvious. :) .. Typically, you would be using a combobox instead of the textbox. It would result in a better perf experience. The code is simple using a listview which is bound to the data. This might look very familiar to Product Studio if you have used it ;) Code is attached Share this post
  • Lester's WPF\Silverlight Blog

    BitmapSource-Bitmap interop

    • 3 Comments
    Recently I was trying my hand at a rough image editing scenario and one of the things was changing into gray scale, brightness and so forth. If you have played with .NET 2.0 you get quite a few functions which help in these types of operations and it would be nice shifting Images to Bitmaps and vice versa. As luck would have it, Robert had posted some code on this in the forums. To get the Bitmap you would have to call CopyPixels on the BitmapSource and convert it to a Bitmap- transformedBitmapSource.CopyPixels(bits, stride, 0); unsafe { fixed ( byte * pBits = bits) { IntPtr ptr = new IntPtr (pBits); System.Drawing. Bitmap bitmap = new System.Drawing. Bitmap ( width,height,stride, System.Drawing.Imaging. PixelFormat...
  • Lester's WPF\Silverlight Blog

    Listening to DependencyProperty changes

    • 8 Comments
    Dependency property is a pretty kewl concept. You got to agree on that J . One the nice features is the ability to listen to the changes in these properties and I tend to use it a lot. The SDK way would be to derive from the control, override the dependencyproperty metadata and specify the propertychangedCallback in the signature. Hmmm… pretty cumbersome you would say. public class MyTextBox : TextBox { public MyTextBox(): base () { } static MyTextBox() { FlowDirectionProperty.OverrideMetadata( typeof ( MyTextBox ), new FrameworkPropertyMetadata ( new PropertyChangedCallback (FlowDirectionPropertyChanged))); } private static void FlowDirectionPropertyChanged( DependencyObject sender, DependencyPropertyChangedEventArgs...
  • Lester's WPF\Silverlight Blog

    NewsReader apps (built using NewsReader SDK)

    • 12 Comments
    I hope you guys out there have tried out the New York Times NewsReader. It enriches the reading experience. It’s more immersive in the sense that you get the feel of reading a newspaper J . Now we expand this experience to more readers. We now have Seattle P-I, Daily Mail, and Forbes.com come out with their own readers. Check out the video below: Download links: Seattle Post-Intelligencer Reader Daily Mail eReader New York Times Reader Forbes.com Newsreader The exciting news is that we have been working on a toolkit which makes creating such readers a rather simple designing task. This toolkit is in private beta but will be released soon so that anybody could then provide a customized reader for their rss feeds. Share...
Page 8 of 13 (241 items) «678910»