i have a program of WPF using .Net C#.
please help me how to make my program can read edge of screen so that can window snapping.
i have a program of WPF using .Net C#.
please help me how to make my program can read edge of screen so that can window snapping.
you can use SystemParameters.WorkArea rectangle Or
SystemParameters.PrimaryScreenWidth and SystemParameters.PrimaryScreenHeight for screen size.