Closed wobushiafa closed 11 months ago
when i close the window,OnDetaching is not called
This is expected. OnDetaching only gets called when a behavior is removed from the Behaviors collection. When you close a window, this does not remove the behavior from the collection.
when i close the window,OnDetaching is not called