是否可以仅使用 scatterview 中主子元素的子元素作为 scatteritems?

发布于 2024-10-14 07:33:58 字数 2334 浏览 7 评论 0原文

我正在使用 Telerik api 来利用对接,我的 xaml 看起来像这样:

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:myControl="clr-namespace:TouchControl.Controls"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ve="clr-namespace:InfoStrat.VE.WPFTouch;assembly=InfoStrat.VE.WPFTouch"
        xmlns:surface="http://schemas.microsoft.com/surface/2008"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" mc:Ignorable="d" x:Class="TouchControl.MainWindow"
        Title="TestTouch" WindowStartupLocation="Manual" WindowState="Normal" Topmost="False" VerticalAlignment="Top" VerticalContentAlignment="Top" Icon="/TouchControl;component/images/icon.jpg" HorizontalAlignment="Stretch" Background="#00000000" FontFamily="Traditional Arabic" SizeToContent="Height" BorderThickness="0,5" BorderBrush="Black" AllowsTransparency="False">


        <Grid>
            <telerik:RadDocking Height="1080" Width="1920" telerik:RadDocking.FloatingLocation="890,540" Margin="0,0,-16,-38" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" HasDocumentHost="False">
                <telerik:RadSplitContainer Height="1080" Width="1920" HorizontalAlignment="Left" VerticalAlignment="Top" InitialPosition="FloatingOnly" Loaded="RadSplitContainer_Loaded">
                    <telerik:RadPaneGroup x:Name="RadPanelGroupChart" VerticalAlignment="Center" HorizontalAlignment="Center">
                        <telerik:RadPane x:Name="RadPanelChart" Header="Chart" CanFloat="True" CanUserClose="true" CanUserPin="False">
                            <myControl:ChartControl HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>

            </telerik:RadSplitContainer>
        </telerik:RadDocking>

Is it possible to Implement ScatterView as a Parent to "Raddocking", but select to onlyeffect RadPane?

提前致谢

I'm using the Telerik api to take use of docking and my xaml looks something like this:

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:myControl="clr-namespace:TouchControl.Controls"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ve="clr-namespace:InfoStrat.VE.WPFTouch;assembly=InfoStrat.VE.WPFTouch"
        xmlns:surface="http://schemas.microsoft.com/surface/2008"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" mc:Ignorable="d" x:Class="TouchControl.MainWindow"
        Title="TestTouch" WindowStartupLocation="Manual" WindowState="Normal" Topmost="False" VerticalAlignment="Top" VerticalContentAlignment="Top" Icon="/TouchControl;component/images/icon.jpg" HorizontalAlignment="Stretch" Background="#00000000" FontFamily="Traditional Arabic" SizeToContent="Height" BorderThickness="0,5" BorderBrush="Black" AllowsTransparency="False">


        <Grid>
            <telerik:RadDocking Height="1080" Width="1920" telerik:RadDocking.FloatingLocation="890,540" Margin="0,0,-16,-38" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" HasDocumentHost="False">
                <telerik:RadSplitContainer Height="1080" Width="1920" HorizontalAlignment="Left" VerticalAlignment="Top" InitialPosition="FloatingOnly" Loaded="RadSplitContainer_Loaded">
                    <telerik:RadPaneGroup x:Name="RadPanelGroupChart" VerticalAlignment="Center" HorizontalAlignment="Center">
                        <telerik:RadPane x:Name="RadPanelChart" Header="Chart" CanFloat="True" CanUserClose="true" CanUserPin="False">
                            <myControl:ChartControl HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </telerik:RadPane>
                    </telerik:RadPaneGroup>

            </telerik:RadSplitContainer>
        </telerik:RadDocking>

Is it possible to implement the ScatterView as a parent to "Raddocking", but choose to only effect the RadPane?

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

初相遇 2024-10-21 07:33:58

ScatterView 控件无法神奇地使其他控件表现得如同设计用于多点触控一样。您需要告诉 Telerik 您希望他们提供其对接控件(和其他控件)的多点触控版本,或者自行重新创建该功能。

The ScatterView control cannot magically make other controls act as though they were designed to be used with multitouch. You'll need to either tell Telerik that you'd like them to provide a multitouch version of their docking controls (and others) or recreate that functionaltiy on your own.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文