Gets or sets whether the form should be disposed when it is closed.
            
            
            
            
            
            
            
            public bool DeactivateOnClose {get; set;}
             
        
            
            'Declaration
 
Public Property DeactivateOnClose As Boolean
             
        
            
            'Usage
 
Dim instance As WorkstationModelessViewBase
Dim value As Boolean
 
instance.DeactivateOnClose = value
 
value = instance.DeactivateOnClose
             
        
            
        
            
        
            
            public: __property bool get_DeactivateOnClose();
public: __property void set_DeactivateOnClose( 
   bool value
);
             
        
            
            public:
property bool DeactivateOnClose {
   bool get();
   void set (    bool value);
}
             
        
             
        
            
            
            Property Value
true to dispose the form when it is closed; otherwise, it is false.