How do I find which style is affecting the control appearce in WPF -


if have lot of styles affecting same control, best way determine style in use @ run time. seems hard find right style affecting @ design time style , brushes in use applied @ different levels.

for example: have datagrid made of rows , cells. when hover on cell, affects border thickness ( 0,0,1,1 0,0,1,0) , cannot seem find style affecting change.

i use snoop debug application @ run time. tell current property value is, , coming (although it's bit vague, such saying "inherited" instead of it's inherited by).

but typically can set style single value, , can basedon @ 1 style, don't run problem often.

another useful resource dependency property precedence list diagnose values take precedence on others in event same property set in multiple places.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -