Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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>
like image 272
Alejandro Martin Avatar asked Nov 05 '13 21:11

Alejandro Martin


1 Answers

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.

like image 174
WebDevNewbie Avatar answered Oct 24 '22 09:10

WebDevNewbie