If you want the ToggleTableLookFirstRowOptionCommand to work you first have to apply table style which has conditional style for the first row, also known as header row.
You can do so by creating a simple table style and add it as conditional first row style into another table style. Here is example on how you can do it:
StyleDefinition customTableStyle =
customTableStyle.BasedOnName = RadDocumentDefaultStyles.DefaultTableGridStyleName
StyleDefinition firstRowStyle =
firstRowStyle.TableCellProperties.Background = Colors.Green;
Please do not forget to register any custom style definitions into the style repository of the document.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>