Click or drag to resize

StyleBindingsTriggers Attached Property

This property is needed to set triggers via a Style

Namespace: TomsToolbox.Wpf
Assembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
See GetTriggers, SetTriggers

Property Value

TriggerCollection
Example
XAML
<Style TargetType="MenuItem">
  <Setter Property="core:StyleBindings.Triggers">
    <Setter.Value>
      <core:TriggerCollection>
        <interactivity:EventTrigger EventName="Loaded">
          <interactivity:EventTrigger.Actions>
            ....
          </interactivity:EventTrigger.Actions>
        </interactivity:EventTrigger>
      </core:TriggerCollection>
    </Setter.Value>
  </Setter>
See Also