FlexReport for UWP | ComponentOne
C1.UWP.FlexViewer Assembly / C1.Xaml.FlexViewer Namespace / C1FlexViewer Class / HandleSuspending Method

In This Topic
    HandleSuspending Method (C1FlexViewer)
    In This Topic
    Call this method from a handler of the Application.Suspending event.
    Syntax
    'Declaration
     
    Public Sub HandleSuspending( _
       Optional ByVal discardDeviceResources As Boolean _
    ) 
    public void HandleSuspending( 
       bool discardDeviceResources
    )

    Parameters

    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.
    See Also