If you look at the TemplatePicker's DefaultStyle, it's ItemTemplate's DataTemplate is a Button that uses Command, which dictates when the button will be enabled. If you will be using your own function to determine when these buttons are enabled, maybe you don't need a TemplatePicker?