Browse by Tags
All Tags »
C# (
RSS)
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/wpf-datagrid-ctp-is-here-it%e2%80%99s-also-open-source/ ] Huge amount of people asked me about DataGrid control in WPF. There are some 3rd parties providing this control for free and not, However, I always adviced them to wait until Microsoft will release it with (or after) Arrowhead . So here comes the King. Some boys and girls from MS WPF dev team have OS initiative and released WPF...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/net-35-sp1-is-rtm-and-available-for-download/ ] For all those who asked, .NET 3.5 SP1 is final and available for download. What’s inside? ASP.NET Dynamic data Core improvements for CLR A lot of performance improvements in WPF ClickOnce enhancements ADO.NET with Data Services and Entity Framework LINQ2SQL and Data Provider for SQL Server 2008, that was released last week WCF with easier...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/expert-days-%e2%80%93-last-minute-changes/ ] Next week we’ll starting Expert Days , so you have a last chance to register for Windows Presentation Foundation for fellow developers (12-Aug) and Mastering Microsoft Silverlight 2.0 (13-Aug). Those sessions will take place in Bein-Thumi Herzeliya and start in 8:30. We have not enough participants to open Advanced .NET 3.5 SP1 (14-Aug) [not...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/configuring-and-running-mono-aspnet-35-ajaxnet-on-linux-computers/ ] Before we will start, we should install Linux. To do this, you can download any of LiveCDs with live installation. Officially, Mono supported only on one free Linux - openSuse . However, you can make it work on any RedHat (and its alternatives), OpenSolaris . It works, but unsupported on Debians, Ubuntu and Maemo. We...
[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/quick-silverlight-tip-why-my-actualwidth-and-actualheight-equal-0/ ] If you’ll try to use ActualWidth and ActualHight of controls with explicitly set Width and Height, you’ll not see any problem, however, if your control sits inside other control, ActualWidth and ActualHeight properties will be equal to 0. Why this and how to fix it? Actually, measurement and layout pass in Silverlight...
[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/how-to-consume-wcf-or-webservice-from-vista-sidebar-gadget-by-using-silverlight/ ] The challenge today is really simple. All we have to do is to write Silverlight Vista Sidebar Gadget , that consumes either WCF , ASMX or REST based service. Really simple, isn’t it? Let’s start Build server side services We should start from services. This is very straight forward mission. Here...
[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...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/hlsl-pixel-shader-effects-tutorial/ ] Recently, I already wrote about PixelShader effects , introduced in .NET framework 3.5 SP1 (WPF). However it looks like for most people this syntax is still hard to understand. Today we’ll try to lean it more. In order to do this, I wrote small program, that helps you to write and debug pixel shader effects quickly. This how it looks like Hit Open...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/usercontrol-binding-to-own-property-bug-in-sliverlight-20-beta-2/ ] Today morning, I come to my office. Alex , sitting there, was very tired. His eyes were red. I asked him: “What’s going on?” and he responsed: “I think, I’m sick. Something is broken in Silverlight”. “What’s the problem?” – I asked. And he explained me, that he want to create UserControl with some properties. Let’s say...
[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...
More Posts
« Previous page -
Next page »