New year – new blog or how to migrate Community Server to any other engine, supports XML-RPC

יום חמישי, ינואר 1, 2009

Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors, you cannot host it here… Take a look...

Auto scroll ListBox in WPF

יום שני, נובמבר 10, 2008

In WinForms era it was very simple to autoscroll listbox content in order to select last or newly added item. It become a bit complicated in WPF. However, complicated does not mean impossible. As for me, Microsoft should add this feature to base ListBox implementation as another attempt to be attractive environment for LOB application. See, for example this thread from MSDN forums. I'm really understand this guy. He do not want to implement it with a lot...
תגובה אחת

Silverlight accessibility and CEO support for beta 2

יום רביעי, יוני 4, 2008

Yesterday, beta 2 of Silverlight was officially announced in TechEd Orlando. There are a lot of interesting changes. One of most significant changes, I want to notice and accessibility support in Silverlight. See yourself (if you do not know what this image about, see this post) What should you do in order this to happen? Absolutely nothing. This is build in feature in Silverlight 2.0 b2. It’s not like WPF, where you should use Automation namespace boundary....
תגובה אחת

Quick Silverlight tip: How to open new window or tab by using HyperlinkButton and Ctrl-Shift modifiers

יום שני, מאי 26, 2008

Regular behavior of any HTML anchor element is to open new Window if you’re clicking the link with Shift key and new Tab, if you’re clicking with Ctrl key or middle mouse button. Unfortunately, Silverlight HyperlinkButton does not support opening new window or tab. It also does not support key modifiers. What to do? (rotary reading desk – first tabbed browser, invented in 1588. via Athanasius Kircher society) First of all, request this feature....
אין תגובות

Silverlight 2.0 for building Rich Internet Applications (local event)

יום שלישי, מאי 20, 2008

If you are developing rich internet applications, web sites or just want to learn what’s new in Silverlight 2.0, you are invited to attend  local (Israel) Microsoft Event 30-June 8:30 AM- 12:30 PM in ILDC (new Microsoft R&D offices in Herzliya). I’ll speak about what is Silverlight 2.0 and what are differences between SL 1.0 and SL 2.0. How to build RIA with Silverlight 2.0. What is DeepZoom and some cool parts of this new internet technology....

Quick WPF Tip: How to bind to WPF application resources and settings?

יום שלישי, אפריל 22, 2008

You, probable know, that you can save application resources and settings within handy classes Settings and Properties, provided by Visual Studio code generator. Just put your values, set the usage scope and all you have to do is to save it upon request. This feature is really useful and great time saver. But how to use it from WPF? Visual Studio do not know to create Dependency Objects for setting and resource… Following the sample of...
4 תגובות

Just in case – shutdown.exe with rich user experience (it has it, for real!)

If you love command line applications, skip this post. Did you know, that simple base program, named “shutdown.exe” has it’s own UI? This application allows you to restart you (or neightbor’s) computer by using different command line switches. One of those switches is –i. So, if you do not like command line script style application, use shutdown –i to see this wonderful rich user interface :) BTW, mPrest is looking for good system administrator. If you're such person, apply your CV here...
אין תגובות

Two quick WPF tricks: Show tooltip on disabled control and accessibility for WPF button

יום ראשון, אפריל 13, 2008

Question: When my control is disabled, it does not show any toolip, in spite of the fact, that it has one. What to do? Answer: Use ToolTipService.ShowOnDisabled="True" attached property Question: You wrote grate article about accessibility of WPF. How to use it with QTP/WinRunner (or any other visual test programs). However it works on lists and other items controls, but not on content controls. What to do? Answer: It works as well. More, then this. It works also without “style" hack” in .NET 3.5....
2 תגובות

Building Virtual Keyboard in WPF – Custom editors, accessibility and attached properties

יום רביעי, פברואר 13, 2008

The challenge - build alternative on-screen keyboard to appear on each textbox, marked to use such keyboard. The reason - custom editor, ability to use touch screen input, etc Realization: WPF, two windows, a little hooking, attached properties, custom commands and gestures. Let's start working. First of all, we should provide ability to "attach" new control to any textbox (richtextbox) in any application. For this purpose, we'll use attached events, so, syntax will looks like this <TextBox/> <TextBox l:VKeyboard.AttachVKeyboard="true"/> Also, we do not want to...
6 תגובות

RTFM – Not only software needs manual, kids need it too – How to care your child (visual instructions)

יום שישי, ינואר 25, 2008

For all my friends, become fathers and mothers within last couple of months. Please, read it before using your kids! All images are from Safe Baby Handling Tips (more fun stuff inside) by Running Press Books. Author's website There are more images here, we just waiting for author's authorization to publish it.
6 תגובות