EventTriggerBase<T>.Event Property
In This Article
Gets or sets a routed event that triggers the associated command.
Namespace: DevExpress.Mvvm.UI.Interactivity
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public RoutedEvent Event { get; set; }
#Property Value
Type | Description |
---|---|
Routed |
A Routed |
#Remarks
The code sample below uses the Event properties to specify routed events:
<dxe:TextEdit>
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EventToCommand Command="{Binding LoadedCommand}" Event="FrameworkElement.Loaded"/>
<dxmvvm:EventToCommand Command="{Binding TextChangedCommand}" Event="TextBoxBase.TextChanged"/>
</dxmvvm:Interaction.Behaviors>
</dxe:TextEdit>
If the source object contains the event, you can use the EventName property.
See Also