DCSIMG
Silverlight 2,WPF - Alex Golesh's Blog About Silverlight Development

Browse by Tags

All Tags » Silverlight 2 » WPF (RSS)

Quick Tip: LINQ & Data Binding notifications

In Silverlight & WPF we could databind to the LINQ query results: private ObservableCollection < string > someData = new ObservableCollection < string >(); //Somewhere in code someData.Add( "Alex" ); someData.Add( "Alen" ); someData.Add( "Josh" ); someData.Add( "Brad" ); var res = from data in someData            where data.StartsWith( "A" )           ...

Path.Data Dependency Property Initialization From String

In Silverlight 2 Beta 1 I used to build dynamic UI with drawing portions. For example, I used to draw Path dynamically like in following example: Path myPath = new Path(); myPath.SetValue(Path.DataProperty, "M 50,50 L 50,100 L 100,100 L 100,50 L 50,50 Z" ); myPath.SetValue(Path.NameProperty, "myPath" ); myPath.Width = 100; myPath.Height = 100; myPath.Fill = new SolidColorBrush(Colors.Black); LayoutRoot.Children.Add(myPath); This gave me nice rectangle... Everything was fine, until...

Get Ready for Silverlight 2

The new version of Silverlight will be announced at MIX08 in about a week! It will be Beta 1 version, and it will bring the things, which was missed by many developers like WPF UI Framework (Binding, Styling, Out-Of-The-Box Controls:  Button, Grid, StackPanel, "Cider" in Visual Studio 2008,  etc.), Networking support (REST, SOAP, RSS, etc.), richer BCL (LINQ, Collections, I/O, Generics, Threading, Globalization, XML, Local Storage, etc.) and much more...   See more about...