Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EventToCommandBase.MarkRoutedEventsAsHandled Property

Gets or sets whether the associated routed event is marked as handled when the command is executed. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool MarkRoutedEventsAsHandled { get; set; }

#Property Value

Type Default Description
Boolean False

true if the associated routed event is marked as handled; otherwise, false.

#Remarks

If the MarkRoutedEventsAsHandled property is set to true, the EventToCommand sets the e.Handled parameter of corresponding event arguments to true immediately after the bound command is executed.

<dxmvvm:EventToCommand MarkRoutedEventsAsHandled="True"/>
See Also