是否可以仅使用 scatterview 中主子元素的子元素作为 scatteritems?
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.