2008
You are browsing the archive for 2008.
By Pavan Podila on December 30, 2008
MarkupExtensions are a Xaml-only way of providing extensions to the markup. It allows you to encapsulate procedural logic and provide value to attributes (DependencyProperties) inside of a Xaml document. To create a custom MarkupExtension you derive from the MarkupExtension class and override the ProvideValue() method. This method is called automatically by the framework when it [...]
Posted in WPF | Tagged MarkupExtension, PyBinding |
By Pavan Podila on December 24, 2008
Many of us have felt the need to have custom expressions inside of Bindings. The need has ranged from applying mathematical operators to calling methods on bound objects. For simple needs you can probably create a custom IValueConverter or a IMultiValueConverter that can do the job, but when you want to use arbitrary expressions, something [...]
Posted in DataBinding, IronPython, WPF |
By Pavan Podila on November 11, 2008
Applying simple mathematical operations inside WPF DataBindings has always been a non-trivial task. By default the {Binding} or MultiBinding syntax does not allow the use of arbitrary expressions inside the Path. They are restricted to the dot-syntax of referencing properties on an object, possibly with a chain of references, something like Person.Phones[0].Phone.Number. Simple expressions like [...]
Posted in IronPython, WPF |
By Pavan Podila on November 5, 2008
Over the past couple of days I had a chance to update the TranstionContainer control in FluidKit. There are a bunch of refactorings and some new features: TransitionContainer has been renamed to TransitionPresenter Previously TransitionPresenter was a ContentControl, but used as if it were an ItemsControl. I have now made it into an ItemsControl, which [...]
Posted in CodePlex, FluidKit, WPF |
By Pavan Podila on October 20, 2008
I am sure many of you have had a need to dig into an ItemsControl to find the ItemsPanel. If you are taking a top-down approach, which is more involved, you would have to rely on the VisualTreeHelper to drill down and then find the Panel instance you need. A bottom-up approach is more easier [...]
Posted in WPF | Tagged HitTesting |
By Pavan Podila on October 14, 2008
CoverFlow by default is an single selection model. The item that is in the center is always the selected item and as you keep navigating from left to right, the selected item changes. To introduce a multi-selection mode into a seemingly single selection model, will require some fundamental changes. Selection is different from Navigation In [...]
Posted in CoverFlow, WPF | Tagged MultiSelection |
By Pavan Podila on October 8, 2008
I was in a code review session and was getting a constant problem with the default (generic) theme for a control. The file generic.xaml was correctly located in the /Themes folder and the Assembly attribute ThemeInfo was also set. But still the control was not showing up ! Problem : generic.xaml had a build action [...]
Posted in WPF | Tagged BuildAction, themes, VisualStudio |
By Pavan Podila on October 6, 2008
One of my blog readers, Haider Malik, raised a question about not being able to see a WebBrowser control inside a transparent GlassWindow. My original thoughts were about some Airspace issues or something to do with Interop. Interestingly it looks like embedding a WebBrowser or any ActiveX object inside a transparent Window is just not [...]
Posted in WPF | Tagged Transparent, Window |
By Pavan Podila on October 1, 2008
I got the news today morning that I have been awarded the Microsoft Most Valuable Professional for Client Application Development. Thank you Microsoft!
Posted in MVP |
By Pavan Podila on October 1, 2008
Sometime back I had done a landing web page for some of the internal projects at my company. The page was supposed to be pure Html with Css and Javascript. jQuery was an obvious choice for me as I had already used it successfully in my earlier projects. We decided to show the projects in [...]
Posted in Carousel, CSS, jQuery, Plugin |
Page 1 of 612345»...Last »
Recent Comments