Archive

Archives pour 04/2017

Override System.Windows.Interactivity.EventTrigger

for capturing message for example

if you have a rectangle in dockpanel and you want to capturing MouseEvent, on clicking on rectangle the event if is not captured is transmited to Panel …

white this extend you can capture event on rectangle for not transmiting to parent … (available only for bubble strategy routed event)

Categories: Non classé Tags:

SolidColorBrush from another SolidColorBrush

if you have initial SolidColorBrush like

you can get the color or create another SolidColorBrush and using color

 

Categories: Non classé Tags:

Override custom color

for overriding custom color like

redefine the same SolidColorBrush with the same Key

 

Categories: wpf Tags: