Lester's WPF\SL Blog


Simple, Easy & Beautiful


 

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

    Want some WPF improvements/features: Tell us

    • 99 Comments
    The WPF platform is powerful but relatively new. We realize that some things are lacking and we are in listening mode. If you feel that we need to improve or add something, send me a comment. We'll make sure you are heard. :) Share this post
  • Lester's WPF\Silverlight Blog

    Time to shoot feature requests

    • 32 Comments
    WPF is shaping up to be a really nice crisp product and this wouldnt have been possible without the help of YOU - our customers. The editing team is now planning for future releases and it would be nice to know what features you would like to see in the next release. Even if its not connected to editing buzz them in and we will make sure you are heard :) ... Send your requests as comments or just shoot an email... Keep them coming.. We are listening...
  • Lester's WPF\Silverlight Blog

    XamlPadX v2

    • 22 Comments
    Season's greetings guys :) Hope your Christmas was great. Ok so before we go into the next year I thought I'll take a look at XamlPadX since it will get a bit tough to spend some time on it in the next year. So XamlpadX v2 looks like: New features: 1> Line numbers in the Editing box 2> Written xaml can now be indented automatically(Ctrl I or right click and click on the menu item) 3> Closing tags are automatically generated (Note that it doesnt look forward while generating the closing tag. This is to keep it as simple as possible) So if you have something like <A </A> and then type in the '>' after the first A you will end up with <A></A></A>. 4> Theres an Open/Save File menu for opening/saving...
  • Lester's WPF\Silverlight Blog

    XamlPadX 4.0

    • 21 Comments
    So I finally got a chance to update XamlpadX and heres the new version. Whats new. The UI has been revamped to give the Blend sorta look. Menus have been rearranged to maximize the space. New addins: Clipboard viewer - which works well for analyzing rtf/xaml ... Path Designer/Jasema (thanks to Marlon) Snapshot utility to take snapshots and save the xaml rendering Syntax highlighting and collapsing (thanks to the editor control from SharpDevelop project) Error logs - left bottom corner has a link to the stack trace when there is an error Error light - editor has a red/green box at the bottom right corner Bug fixes/code restructuring Also, i would like to point...
  • Lester's WPF\Silverlight Blog

    WPF 3.5 SP1 feature: StringFormat

    • 20 Comments
    One of the new features in 3.5 SP1 is stringformat. The usage is pretty simple. So following are simple snippets showing its use < TextBox Text = " {Binding Path=Double, StringFormat=F3 } " /> < TextBox Text = " {Binding Path=Double, StringFormat=Amount: {0:C}} " /> < TextBox Text = " {Binding Path=Double, StringFormat=Amount: \{0:C\}} " /> < TextBox > < TextBox.Text > < Binding Path = " Double " StringFormat = " {}{0:C} " /> </ TextBox.Text > </ TextBox > < TextBox > < TextBox.Text > < MultiBinding StringFormat = " {}{0:F2} = {1:D} " > < Binding Path = " Double " /> < Binding Path = " Date " /> </ MultiBinding >...
  • Lester's WPF\Silverlight Blog

    Request for Feedback (WPF VNext)

    • 17 Comments
    So have you tried out .NET 4. If not, do give it a try. We have a bunch of new WPF features in .NET 4 and it was covered as part of the WPF features series . Now that we are close to release, whats next. This is where your feedback is invaluable . We listened to your feedback from 3.5 and incorporated several suggestions into .NET 4. Now its again time to ask for feedback to drive the direction for the next release. We would love to hear your comments\opinions on the following areas · What are the features you would like to see in vnext of WPF? You can also vote for your features here . · How can we improve the curve in learning WPF? Are there things we can simplify? · Feedback on tooling support (IDE, Loc, Designers, perf tools,.....
  • Lester's WPF\Silverlight Blog

    WPF Ribbon Basics

    • 15 Comments

    So you have Ribbon, Menu, RibbonTab, and then the Ribbon Group. When you create a new Ribbon application, you get this wireframe ready – so its easy to start.

    You got the group – lets populate it. If you look at the Xaml, the Ribbon controls have a SmallImageResource and a LargeImageResource property. This enables the ribbon to use the appropriate image when resizing. Each control can also have rich tooltips by setting the following properties

    ...
  • Lester's WPF\Silverlight Blog

    WPF WebBrowser (.NET 3.5 SP1)

    • 15 Comments
    One of the new controls is the WebBrowser... aha!! not the Winforms control.. we now have it in WPF. Functions supported by this control are: NavigateToString NavigateToStream Navigate GoBack GoForward In xaml it would look like something like this: < StackPanel Name = " panel " > < WebBrowser Height = " 500 " > </ WebBrowser > </ StackPanel > I put together a simple sample which tries to use this functionality Looks like the above. Nothing fancy :) Also since this is beta you might find a few rough edges (bugs) here and there.Please report them on the connect website or on the forums. Project Code: Attached Share this post
  • Lester's WPF\Silverlight Blog

    XamlPadX V3.0

    • 15 Comments
    So I finally got some time to upgrade XamlPadX... One of the things that I really wanted to add was the plugin support and here you have it. So now users can create their own addins which will plug into xamlpadX. Addin developers can use 3 functionalities of XamlPadX: void ChangeAppBackground( String str); String textBoxContents { get ; set ; } //this is the content in the xaml textbox int TextBoxCaretIndex //this is the caret index in the xaml textbox The color pallette is now included as an addin - so on installation we already have one plugin ready. All selected addins are included in the menu. To create a new addin, all you need is to create a control which extends AddInAddInView shown below ColorPallette : AddInViews. AddInAddInView...
  • Lester's WPF\Silverlight Blog

    XamlPadX (extended)

    • 14 Comments
    XamlPad Xtended ...
  • Lester's WPF\Silverlight Blog

    XAML Compliance Suite V1

    • 14 Comments
    Generally, when theres an open spec format, theres usually a set of tests that ensure that the spec is being followed right. As as example, the Acid tests help in deterning the support of web standards in different web browsers. So when it came to XAML, we (Xaml team) decided that we should have a basic set of tests that can be used to determine whether the parser implementation is compliant with the XAML spec. You can find the latest XAML spec at ( LINK ) So here we have it, V1 of the XAML Compliance suite of tests. The suite consists of two parts: a custom type library and a collection of xaml files that use those types. The types are self verifiable - so using the library would need users to have a simple function that exercises their...
  • 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

    Drag drop library updated

    • 13 Comments
    The drag drop entry that I had posted has been used by a lot of you guys out there and I have received a lot of suggestions/bugs. I also got a few ready made fixes from you... Thank You :) ... So I finally got down to incorporating all these changes and got the new library up ... One frequent problem was the adorner flickering and this was a result of the adorner being deleted and created ... so thats fixed. There are also some fixes, code moving around and the usual stuff. Hope you find the new library useful :) Library attached Share this post
  • 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...
  • Lester's WPF\Silverlight Blog

    Vista look on Non-Aero themes

    • 10 Comments
    Vista look on Non-Aero themes...
  • Lester's WPF\Silverlight Blog

    Multi-language speller and the SpellingReform

    • 10 Comments
    SpellCheck is an interesting feature in Editing and it has evolved quite a bit. In earlier versions, the spellcheck on the RichTextBox and Textbox would look at the lang property on the control. However, now in the case of RichTextBox the input language is determined and the appropriate speller is used. So for instance I type in "dogf" in English and then type the same with the Keyboard input being German, then for both the words the choices are diferent because 2 different spellers are at work. Thats a very nice enhancement when you compare it with MS Word which can have only one speller working at a time :) When it comes to TextBox, the speller is based on the input language set on the control. In earlier versions this defaulted to English...
  • Lester's WPF\Silverlight Blog

    XamlPadX (update)

    • 9 Comments
    I got a few requests to include a color picker which turns out to be pretty useful. As such, I have included it in the pallette A few things to keep in mind so that you might not get frustrated using the tool: Default behavior: Color picker is disabled so that the pallete is functioning Mouse movement triggers the color choice only in the pallette Mouse Click finalises the color so that we can now select the proper shade (2nd bar) In this bar too the mouse click finalises the color choice When color picker is checked (blue color), the color pallete now becomes the entire screen so you can move the mouse all over To finalise use Right Click or MouseWheel (this is what i prefer) You can then select the shade from the 2nd bar as before...
  • Lester's WPF\Silverlight Blog

    WPF/E 3D(like) photo app

    • 9 Comments
    Often times when I go through the WPF forums, I see people getting confused with WPF and WPF/E..... (don’t miss the ‘E’).. One of things that is on many of our minds is ‘why not xbap’. Chad summarizes the difference in his blog pretty well. “ WPF/E Applications · Are cross-platform ready (Mac OS X and Windows) · Do not require the client to have the .NET 3.0 runtime. Instead, WPF/E applications run within a browser plugin. · Do not support code-behind · Rely on JavaScript XBAPs · Require the client to have the .NET 3.0 runtime components installed. · Are not cross-platform enabled. They will only run on Windows machines. · Support code-behind · Must run within IE (or use the IETab plugin for Firefox)” I decided...
  • Lester's WPF\Silverlight Blog

    3.5 features: Viewport2DVisual3D

    • 9 Comments
    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} " > < Viewport2DVisual3D.Material > < DiffuseMaterial Viewport2DVisual3D.IsVisualHostMaterial = " True " Brush = " White " /> </ Viewport2DVisual3D.Material > <TextBox /> </ Viewport2DVisual3D > One other thing is mapping 3D points to 2D is so much more easier... Earlier on I had a post on mapping a mouseclick on a 3d model to a 2d coordinate. This involved using some barycentric coordinates and such....
  • Lester's WPF\Silverlight Blog

    Xaml Art Assets

    • 9 Comments
    One more interesting site: www.xamalot.com ... Was looking around for some interesting xaml artifacts for a sample project and this site had plenty of it. The clipart is pretty nice (as shown below)... Have fun.. \ Share this post
Page 1 of 13 (241 items) 12345»