So I am loving Silverlight 2.0 beta 1. Fantastic release. 1.1 got me to the stadium and 2.0 really knocked the ball out of the park. Coming from WPF, however, Silverlight can leave you...let's say...unsatisfied. It's the little things really, like being able to create BasedOn Styles or use Element Binding, that tend to make … Continue reading Silverlight and the case of the Ginormous App.xaml
Month: April 2008
BUG: Center DataGridCell Content in Silverlight
So I have been banging my head against a wall on this one. It appears that this is a bug. I am trying to apply a Horizontal Alignment of text within a given DataGridColumn's cells. I am able to set the horizontal alginement on the Column Header to be Center but not on the individual … Continue reading BUG: Center DataGridCell Content in Silverlight
How to eliminate the RowHeader within a Silverlight DataGrid
So I am not a huge fan of the default templates for the Silverlight Controls but, hey at least we have controls now right? I wanted to eliminate that bulky cell to the left of each row to allow for my DataGrid's to be a little more concise. Below you will find a complete Style … Continue reading How to eliminate the RowHeader within a Silverlight DataGrid
“Freeze” that VisualBrush
So you can't "freeze" a VisualBrush. But you can create an ImageBrush from a VisualBrush! Visual Brushes are great but sometimes you want to use exactly on the screen without it changing if you obscure it from view or apply render transformations! This is really handy for situations, say like a ScatterViewItem. I created a … Continue reading “Freeze” that VisualBrush