Alejandro Martin
Alejandro Martin

Reputation: 5877

Extended WPF Toolkit - Resizing a childwindow

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>

Upvotes: 6

Views: 2521

Answers (1)

WebDevNewbie
WebDevNewbie

Reputation: 1863

It appears as though the Resize functionality is only available in the Plus Edition of the software, the documentation can be found at the link below.

Based on the link you provided, it looks like you are using the same version as I am, which is the free one.

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

Kind of disappointing, we don't utilize the toolkit enough to warrant the cost.

Upvotes: 2

Related Questions