Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Changing CellValuePresenterStyle at runtime
posted

Hello,

I do the following at runtime in the cellActivating event (xamDataGrid express 7.2) :

if (e.Cell.Field.Name == "Naam")

{

Style editStyle = (Style) FindResource("editNameField");

e.Cell.Field.Settings.CellValuePresenterStyle = editStyle;

}

This however does not change the style. If I link the style directly in xaml to the field it works.

What am I doing wrong ?

Thank you

Henk

Parents
No Data
Reply Children
No Data