Given the DataWindow
view with DataWindowMode.OkCancelApply
, is there a way in Catel to customize styles of Ok, Cancel, Apply buttons? At least I need to define automation IDs for the buttons. I was trying getting "_ButtonsWrapPanel"
in OnApplyTemplate()
but GetTemplateChild
returns null there. I believe there must be an easy way to do that in Catel without use of AddCustomButton
.
Asked
Active
Viewed 428 times
0

IUnknown
- 335
- 1
- 11
1 Answers
0
To customize the styles, you can modify the DataWindowButtonStyle style which is applied to all buttons.
There is no support to implement automation id's yet. This should be and easy fix, so please put it on the backlog so it will be implemented. We also do accept pull requests ;-)

Geert van Horrik
- 5,689
- 1
- 18
- 32