开发者

Looking to find how to add resize button

开发者 https://www.devze.com 2023-03-06 01:03 出处:网络
Hello: I have been experimenting with WPF this afternoon, Im wondering does anyone know how I can manually enable resizing ? I have my main windows set with the following properties which removes the

Hello: I have been experimenting with WPF this afternoon, Im wondering does anyone know how I can manually enable resizing ? I have my main windows set with the following properties which removes the close/min/max and resize;

    <Window x:Class="WpfApplication1.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350" Width="525" AllowsTransparency="True"
    WindowStyle="None" Background="Maroon" ResizeMode="CanResize">
    </Window>

I have found how to add my own close/min/max buttons but have no开发者_StackOverflow社区t found how to enable resizing.


 ResizeMode="CanResizeWithGrip"
0

精彩评论

暂无评论...
验证码 换一张
取 消