Welcome Guest Search | Active Topics | Sign In | Register

embedded an "eo:TabControl" into WPF UserControl Options
jacky.tseng
Posted: Thursday, March 23, 2017 10:30:52 PM
Rank: Newbie
Groups: Member

Joined: 3/14/2017
Posts: 9
Hi,

I create an UserControl project. And try to include into a Windows Form through ElementHost object.
Standard components is OK for this UserContorl.
But I cannot execute this UserContol exactly when I embedded an "eo:TabControl".
Please help to check it.

Thanks.



<UserControl x:Class="WinFormIntegrate.WPFControl.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:eo="http://schemas.essentialobjects.com/wpf/"
xmlns:local="clr-namespace:WinFormIntegrate.WPFControl"
mc:Ignorable="d"
d:DesignWidth="1106.951" Height="723.717" Loaded="Window_Loaded">
<Grid>

<eo:TabControl x:Name="mainTabs" eo:ThemeManager.SkinName="Chrome"
eo:WindowChrome.IsClientElement="True" ShowNewTabButton="False" ShowCloseTabButton="True" HeaderPadding="0,0,80,0"
CornerRadius="3" Padding="2">
<Button Content="Button" HorizontalAlignment="Left" Margin="10,26,0,0" VerticalAlignment="Top" Width="75"/>

</eo:TabControl>

</Grid>
</UserControl>
eo_support
Posted: Tuesday, March 28, 2017 4:01:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We have looked into this and has confirmed that it is not supported in the current build. We will support this in our next build, which should be out either later this week or next week.

Note that theme related feature may still not work properly in the new build since theme requires an active WPF Application object, which does not exist in a Windows Form application.

We will reply again when the new build is posted.

Thanks!
eo_support
Posted: Tuesday, April 4, 2017 12:08:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.