Dynamically set event handler using DataTrigger
问题 iv'e got several itemscontrols which i need to attach an event handler for their PreviewMouseLeftButtonDown event only when a certain condition is met . iv'e designed a style for my controls with a datatrigger ,i checked out it's bindings and tried it out with a regular property setter for the BorderThickness Property just to see that the datatrigger works . (It does..) how can i apply my datatrigger to attach an event handler when the condition of the datatrigger is met using an event setter