6

I´m using the librariay Extended WPF Toolkit

https://wpftoolkit.codeplex.com/

Is it possible to resize a ChildWindow like a ordinary Window?

The documentation shows some properties that seem to be related, but they are not accessible via xaml. https://wpftoolkit.codeplex.com/wikipage?title=ChildWindow

This is the example that I´m trying:

<Window x:Class="WpfApplication1.MainWindow"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:local="clr-namespace:WpfApplication1"
         xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
         xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock"
         xmlns:s="clr-namespace:System;assembly=mscorlib">
    <xctk:WindowContainer>
        <xctk:ChildWindow WindowBackground="Blue"
                    Left="75"
                    Top="50"
                    Width="275"
                    Height="125"
                    WindowState="Open" Canvas.Top="52">
            <TextBlock Text="This is a Child Window" Padding="10"/>
        </xctk:ChildWindow>
    </xctk:WindowContainer>
</Window>
4

1 回答 1

2

似乎调整大小功能仅在软件的Plus 版中可用,文档可以在下面的链接中找到。

根据您提供的链接,您似乎使用的是与我相同的版本,这是免费版本。

https://wpftoolkit.codeplex.com/wikipage?title=ChildWindow%20Plus

有点令人失望,我们没有充分利用工具包来保证成本。

于 2017-04-06T21:09:19.023 回答