DCSIMG
source,Silverlight - Just code - Tamir Khason

Browse by Tags

All Tags » source » Silverlight (RSS)
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...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/quick-silverlight-and-wpf-tip-how-to-write-program-without-xaml/ ] From the moment, 10K MIX09 contest was launched , I got more, then 20 people, asking the same question: Is it possible to have Silverlight program up and running without XAML at all? The answer is “ YES, IT IS ”. Here is how: All you need for run WPF or Silverlight application is Class inherited from System.Windows.Application...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/silverlight-bidi-controls-library-rc0-and-movement-from-beta-2-to-rc0/ ] Finally, I got free minute to convert Silverlight BiDi controls from Silverlight beta 2 to RC0 (you can download SL rc0 tools for VS2008 here ) and as usual some breaking changes (the full list is here ) Calendar and DatePicker moved from System.Windows.Controls.Extended into System.Windows.Controls – Extended namespace...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/slides-and-desks-from-my-expert-days%e2%80%99-sessions/ ] Because of the new job , I’m bit tight in time, however, I  found a time to post slides from my sessions in Expert Days . Also, hand-on labs used for WPF beginners’  released as open source to CodePlex for your convenience. Windows Presentation Foundation for Fellow Developers [4 MB] Mastering Microsoft Silverlight 2...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/arabic-and-hebrew-languages-bidirectional-support-for-silverlight-20-beta-2/ ] Those days, I’m, together with guys from Microsoft Egypt and Santeon , finishing development of bidirectional input and output support for Silverlight. I want you to take part in alpha testing of this solution. Please see the test form here and try it. <noframes>Visit <a href...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/how-to-handle-thickness/ ] Yesterday, we spoke about type converters . We even, built simple generic enum converter. Today, we’ll create more complicated converter, that very missing in Silverlight – ThicknessConverter. During the post, I also explain about tokenizing values in Silverlight What is Thickness ? What is thickness in Silverlight? It’s <Border BorderThickness=”6”/> or...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/work-process-how-to-use-and-build-type-converters/ ] Today, I want to start new tag - “ Work process ”. Here I’m going to publish partial classes, fixes, small utilities, I’m building for myself or clients to help in work process. I’ll give an example : currently, I’m working on BiDi support for Silverlight 2.0 (beta 2 to RTM). During the work process, I need to write different classes...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/silverlight-visual-tree-investigation/ ] Wait a moment. Silverlight has Visual and Logical Trees as well as WPF? Not exactly. The design more similar to how it was in WinForms (Parent-Child relationship). But dev team made all possible to make it syntactically similar to WPF. Let’s start Challenge : Find and hold references to all element, contains text. Solution : Recursive VisualTreeHelper...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/quick-silverlight-tip-how-to-access-html-dom-from-silverlight-and-silverlight-managed-objects-from-html/ ] After my session yesterday , I got number of email from people, who have a problem to access HTML DOM from Silverlight and vice verse. I want to answer to all of you by this post. Access HTML from Silverlight You have not do anything special in Silverlight to access it.  Your...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/quick-silverlight-tip-how-to-set-format-and-validate-value-in-textbox/ ] Today morning I got an email from one of Microsofties, asking following question: Is there any way to set format and validation on TextBox in Silverlight 2. TextBox format: Date Format, Currency Format etc, TextBox validation: Regular date expression, should allow only numeric etc. If it’s possible out-of-box how...
Posted by Tamir Khason | 5 comment(s)
תגים:, , ,
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/silverlight-controls-library-has-been-upgraded-to-beta-2/ ] Finally this weekend I got  a time to upgrade one of my OpenUp submissions, Silverlight controls library to work with Silverlight 2.0 beta 2. It was very interesting to track changes between developer’s (beta 1) and production (beta 2) go-live licenses. Let’s try to understand what has need changed. Syntax of DependencyProperty...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/how-to-addrangeremoverange-in-silverlight-observablecollectiont/ ] Someone in Silverlight forum asked for interesting question: “Is there any way that I can add/remove items in bulk from an ObservableCollection object?”. The “formal” answer is: “No, AddRange RemoveRange operators are supported for List<T> only collections, thus each time you want to add or remove items from ObservableCollection...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/drawingbrush-and-deep-clone-in-silverlight/ ] Today, we’ll say “ They did not put it there ” as lot. And start with DrawingBrush. Yes, there is no Drawing Brush in Silverlight, thus you cannot create neither hatch brush nor pattern brush in Silverlight. But we want it to be there. What to do? To enter into deep reflection first thing to do is to look into Reflector. How they did another...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/stand-alone-multiplatform-silverlight-application/ ] Recently we spoke about running Silverlight application as client side only stand alone application . I used WebBrowser, MSHTA and Silverlight OCX with a little bit interop to make it running. In comments, Laurent Bugnion show me his method, that was pretty similar to mine, except the fact, that he used managed code to access file system...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/findresource-replacement-and-how-to-change-control-style-more-then-once-in-silverlight-20-application/ ] As deeper we’re digging in Silverlight 2.0, we finding more and more WPF things and we’re really missing in Silverlight. One of such things is FindResources. In WPF I had Visual and Logical tree, so I was able to travel the tree to find resource I need. Let’s see an example of the...
More Posts Next page »