deanvmc
deanvmc

Reputation: 6095

Can the back button be handled in Caliburn.Micro on the view model

I currently only use ProperyChangedBase as my base class provider. Is there a way to handle the user pressing the back button in Caliburn.Micro from my ViewModel rather than having to do it in the code behind.

Upvotes: 1

Views: 1058

Answers (1)

Bas
Bas

Reputation: 678

this should work Hook Up Command for BackKeyPress in XAML

but with CM you can use cal:Message.Attach="[Event BackKeyPress] etc.

Upvotes: 3

Related Questions