[]
        
(Showing Draft Content)

C1.WinUI.Viewer.FlexViewer.HandleSuspending

HandleSuspending Method

HandleSuspending(bool)

Call this method from a handler of the Application.Suspending event.

Declaration
public void HandleSuspending(bool discardDeviceResources = false)
Parameters
Type Name Description
bool discardDeviceResources
Remarks

If you pass True to the discardDeviceResources parameter you should also call HandleResuming(true) from a handler of the Application.Resuming event. It allows to free unnecessary DirectX resources while the application is in Suspended state.