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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -