ClassRadWindowManager
Represents a singleton manager for handling RadWindows in an application. The RadWindowManager allows for operations on all currently open RadWindows, such as closing, minimizing, maximizing, or restoring them. It maintains a thread-safe collection of all open windows and provides methods to interact with these windows based on their current state.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public sealed class RadWindowManager
Inheritance: objectRadWindowManager
Properties
Current
Gets the singleton instance.
Declaration
public static RadWindowManager Current { get; }
Property Value
The current instance.
Methods
CloseAllWindows()
Closes all RadWindows that are open.
Declaration
public void CloseAllWindows()
GetWindows()
Returns collection of RadWindows.
Declaration
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public IList<WindowBase> GetWindows()
Returns
Collection of RadWindows.
MaximizeAllWindows()
Maximizes all RadWindows that are open and can be maximized.
Declaration
public void MaximizeAllWindows()
MinimizeAllWindows()
Minimizes all RadWindows that are open and can be minimized.
Declaration
public void MinimizeAllWindows()
NormalAllWindows()
Restores all RadWindows that are open.
Declaration
public void NormalAllWindows()