ResizeMode
enum cAlgo.API
DesktopCLICloud
Types of resize modes for windows
Definition
public enum ResizeMode
Namespace: cAlgo.API · Group: Windows
Examples
var window = new Window { Title = "Fixed size", Width = 300, Height = 200, ResizeMode = ResizeMode.NoResize };
window.Show();
Print("Resize mode: {0}", window.ResizeMode);
window = Window()
window.Title = "Fixed size"
window.Width = 300
window.Height = 200
window.ResizeMode = ResizeMode.NoResize
window.Show()
api.Print(f"Resize mode: {window.ResizeMode}")
Values
| Name | Value | Description |
|---|---|---|
NoResize | 0 | For windows that cannot be resized |
CanMinimize | 1 | For windows that can only be minimized |
CanResize | 2 | For windows that can be resized from all directions |
CanResizeWithGrip | 3 | For windows that can only be resized by the bottom edge resize grip |