Lester's WPF\SL Blog


Simple, Easy & Beautiful


 

Browse by Tags

  • Blog Post: Clipping of child elements

    On the forums I saw this interesting problem where there was a need to round the corners of a stackpanel inside a border with cornerradius set... The top is what you get and the bottom image is what you want. The simplest thing to do here is to set the padding on the border so that the stackpanel...
  • Blog Post: Split Button\Menu Item\Automation

    I got a couple of queries from the readers asking if I could provide a slightly non-trivial sample of using automation. So I created a split button user control which looks something like this If there are no items then you get a checkable button. The items are created in a popup and are...
  • Blog Post: Xbaps using Cookies

    Earlier on I had written an app, BlogPadm which was fulltrust and the writer used Google Data API to write the content to Blogger.com. However, when you create an xbap version of it, a problem arises in that you cannot make WebRequests outside site of origin and hence, the xbap version of the above failed...
  • Blog Post: Another MindMapping Tool

    A month ago, I was browsing through different blogs and came across Denis Vuyka's blog post on connecting objects on the canvas... Nice post... Being an avid fan of mind maps, that was the natural extension to the library that he created. Check it out There are 3 types of objects which are basically...
  • Blog Post: MindMap app using Hyperbolic tree

    I recently came across a Hyperbolic tree implementation on codeplex using WPF and thought that a nice usage of it could be in writing a mind map creating application.... I tweaked some of the original code and got a tree with editable nodes... Its been laying around for sometime, so I thought it best...
  • Blog Post: .NET Source code

    Now thats what I call WOW ... For .NET developers this is like getting hold of the holy grail :) ... " We'll begin by offering the source code (with source file comments included) for the .NET Base Class Libraries (System, System.IO, System.Collections, System.Configuration, System.Threading, System...
  • Blog Post: Testing using WPF UI automation

    One question that often pops up among WPF app developers is UI testing... WPF enables this scenario through a new accessibility framework. Some useful resources from mdeavey's post Overview Using UI Automation UI Spy Stress Test using UI Automation (new link : here ) Unit Testing WPF controls...
  • Blog Post: 3.5 features: Viewport2DVisual3D

    Viewport2DVisual3D .... this new feature makes things a lot easier in the 3D world.. What this enables is putting interactive 2D on 3D. This makes things like having a textbox in 3D a breeze... < Viewport2DVisual3D x:Name = " vp2d_multiple_children " Geometry = " {StaticResource mesh} " >...
  • Blog Post: 3.5 Features: Enabled hyperlinks in RichTextBox

    hmmm... that was one often requested feature. So to enable hyperlinks in RichTextBox all that is needed is to set the property IsDocumentEnabled on the RichTextBox. Type the following in XamlPadX and you have the hyperlink navigation working. < RichTextBox IsDocumentEnabled = " True " xmlns...
  • Blog Post: 3.5 features: Filtering text with IME languages

    So 3.5 beta2 is out and it has quite a lot of features. So one of them is the filtering mechanism for IME languages. This was not a problem in the english and other non-IME languages. The problems were the events associated with IME input - TextInputStart/Update/input... A major concern was that it was...
  • Blog Post: 3.5 released with many features!!!

    You can now download Visual studio 2008 Beta2 and .Net 3.5 Beta 2. The link is here So whats new in 3.5 - Support for Addins - Xbaps now run in FoerFox - Cookies can be shared between XBAP's and Web Apps - Better support for binding to BindingList coll and LINQ - new UIElement3D, ContainerUIElement3D...
  • Blog Post: WPF Balloon comments :)

    Pavan has a nice post on creating baloon comments. The first thing that comes to mind on seeing the balloon comments is Comics. And guess what! thats exactly what I tried.. and presto You can get the original source code here . It overlooks positioning the arrows coming out of the comment boxes...
  • Blog Post: One more kewl Animation XBAP

    came across this xbap from Denis Dolfus . Its got some kewl animation and evasion techniques. Check it out here Share this post
  • Blog Post: WpfPerf tools now available as a msi

    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...
  • Blog Post: Back to the Future @TechEd 2007

    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
  • Blog Post: WPF Blog Writer

    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/> ...
  • Blog Post: Xaml shield image in plain Xaml

    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
  • Blog Post: Vista style Open/Save FileDialogs

    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...
  • Blog Post: New WPF Community Site

    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
  • Blog Post: Updated WpfPerf.msi

    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.
  • Blog Post: Update: XamlPadX v2.5

    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...
  • Blog Post: Expression Blend available on MSDN

    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...
  • Blog Post: Xaml FlowDoc to XPS

    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...
  • Blog Post: WPF/E video carousel

    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
  • Blog Post: Smalltalk sessions in a XBAP

    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
Page 1 of 4 (98 items) 1234