By tag: xaml
0
kicks
A WPF ListBox which acts like an Apple style navigation bar
A WPF ListBox which looks like the navigation bar used on the Apple website.
0
kicks
The LOB Chronicles Episode 9: The Repository Pattern + Source Code
In the last episode we were exploring how MEF created a unique issue in loading assemblies and missing dependencies as well as how we utilized a creative synchronous approach to ensuring assemblies were downloaded before loading modules. This week we’re pushing full speed ahead with the application....
0
kicks
WPF - Showing IDataErrorInfo for NULL objects
Article describes how to show validation error markup for NULL properties when bounded in XAML
0
kicks
Learning how to use Value Converters in Silverlight
Taking a look at how to use and harness the power of Value Converters.
A Value Converter (IValueConverter) allows for you to perform custom logic during Bind time in XAML based applications. With a value converter you can implement pretty much any type of complex logic you want (bool to visibilit...
0
kicks
Learning how to use Behaviors in Silverlight
Taking a look at how to use and harness the power of Behaviors.
A Behavior in Silverlight is a way to extend an existing UI element in order to add additional state or actions to it. We can create these Behaviors and attach them to pretty much any UI element you could hope for.
0
kicks
Introducing XAML Illustrations
Up until now SilverlightXAP.com has allowed developers to publish and sell Silverlight controls online. Now we're also accepting XAML illustrations.
0
kicks
A Solution for Binding Silverlight DataGrid Columns to 2nd Level Colle
Supreet Tare posted a thread on MSDN Forum to help him binding a 2nd Level Collection in Silverlight DataGrid control. As he didn't find any good solution there, he asked me on Twitter to give a solution to him for the same. I did a small investigation and came up with a solution for him.
In thi...
0
kicks
PriorityBinding – Binding the async way
I keep discovering new features in wpf/silverlight data binding. The newest addition to my knowledge base is PriorityBinding. With PriorityBinding you can associate binding target property to a group of bindings. The binding with the highest priority is evaluated and become active binding.
0
kicks
Embedding DLR Scripts in XAML- Part 2, A Simple DLR Markup Extension
This article demonstrates how to embed DLR scripts in XAML using a custom MarkupExtension. The scripting language can be any language supported by the DLR, such as Python or Ruby.
0
kicks
Developing A Twitter browser using Surface toolkit for Windows Touch
In this Screen cast,you'll find how to install the toolkit. You'll also get familiarized with Surface development and Surface Controls, by developing a simple Twitter browser application using the toolkit
0
kicks
This whimsical binding. TwoWay Binding to DataContext. Binding in WPF
I often use Binding to DataContext. It is one of the main advantage of WPF. In most case I set custom class inherit of DependencyObject (for support DependencyProperty) and I have some like next code:
<StackPanel>
<TextBlock Text="{Binding Path=Id}" />
<TextBlock Text=&...
0
kicks
Customize Visual Studio 2010 Beta 1 Start Page using WPF/XAML
My name is Adrian Collier and I am the Program Manager responsible for the Start Page in the Visual Studio. One of the coolest things we can do in this release is to create custom start pages using WPF. This post details how to get up and running with this feature, along with some warnings on how th...
0
kicks
Implementing support of own child/children in WPF control.
The best way for use child/children in WPF is customize any control with property for child/children that inherit from Control (for example ContentControl or ItemsControl). Control has wide possibility of customizing through ControlTemplate. But sometime we want to have specific behaviour of child/c...
0
kicks
Do you know how can you obtain access to nested types through XAML?
XAML is a declarative XML-based language created by Microsoft which is used to initialize structured values and objects. I have already written how we can obtain access to properties of instance that located in other properties here (I have described binding's potential). But what can we do if we ne...