Errors with UXNavigationWindow NavigatorStyle

3 replies. Last post: May 25, 2015 2:09 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
soup soupMember

when I add UXNavigationWindow.NavigatorStyle under the UXNavigationWindow, there are some errors like this:

InvalidOperationException: “FrameInstance”TargetType 与元素“UXFrame”的类型不匹配。
The code :
<Intersoft:UXNavigationWindow x:Class="VirtualTraffic.Views.Views.UXNavigationWindow1"
      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:Intersoft="http://intersoft.clientui.com/schemas"                        
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	  Header="UXNavigationWindow1">

    <Intersoft:UXNavigationWindow.NavigatorStyle>
        <Style TargetType="Intersoft:UXFrame">
            <Setter Property="AutoDetectNavigationDirection" Value="True"/>
            <Setter Property="NewTransitionEffect" Value="SlideLeft"/>
            <Setter Property="BackTransitionEffect" Value="SlideRight"/>
            <Setter Property="ForwardTransitionEffect" Value="SlideLeft"/>
            <Setter Property="UseCachedVisualForTransition" Value="True"/>
        </Style>
    </Intersoft:UXNavigationWindow.NavigatorStyle>
</Intersoft:UXNavigationWindow>

 

 

All times are GMT -5. The time now is 2:44 PM.
Previous Next