本文介绍了ScrollViewer:请建议< Trigger Property =" IsPressed"值= QUOT;真">这是错误的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ScrollViewer:请建议< Trigger Property =" IsPressed "值= QUOT;真">这是错误的。这是我的完整代码:

< Window

    xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x =" http://schemas.microsoft.com/winfx/2006/xaml"

   的xmlns:d =" HTTP://schemas.microsoft.com/expression/blend/2008"的xmlns:MC = QUOT; HTTP://schemas.openxmlformats.org/markup-compatibility/2006"的xmlns:Microsoft_Windows_Themes = QUOT; CLR-名称空间:Microsoft.Windows.Themes;装配= PresentationFramework.Luna"
mc:Ignorable =" d"

    x:Class =" ScrollViewer.MainWindow"

    x:名称="窗口"

    Title =" MainWindow"

   宽度= QUOT; 640"高度="480">

    < Window.Resources>

    &NBSP;&NBSP;&NBSP; < ControlTemplate x:Key =" ScrollViewerControlTemplate1" TargetType =" {x:Type ScrollViewer}>&
    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid x:Name =" Grid" Background =" {TemplateBinding Background}"&
    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid.ColumnDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ColumnDefinition Width =" *" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ColumnDefinition Width =" Auto" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Grid.ColumnDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid.RowDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RowDefinition Height =" *" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RowDefinition Height =" Auto" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Grid.RowDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Rectangle x:Name =" Corner" Grid.Column = QUOT 1 QUOT; Fill =" {DynamicResource {x:Static SystemColors.ControlBrushKey}}" Grid.Row =" 1" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScrollContentPresenter x:Name =" PART_ScrollContentPresenter" CanContentScroll =" {TemplateBinding CanContentScroll}" CanHorizo​​ntallyScroll = QUOT假QUOT; CanVerticallyScroll = QUOT假QUOT; ContentTemplate =" {TemplateBinding
ContentTemplate}" Content =" {TemplateBinding Content}" Grid.Column = QUOT; 0" Margin =" {TemplateBinding Padding}" Grid.Row =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScrollBar x:Name =" PART_VerticalScrollBar" AutomationProperties.AutomationId = QUOT; VerticalScrollBar"光标= QUOT;箭" Grid.Column = QUOT 1 QUOT; Maximum =" {TemplateBinding ScrollableHeight}"最小= QUOT; 0"
Grid.Row =" 0" Visibility =" {TemplateBinding ComputedVerticalScrollBarVisibility}" Value =" {Binding VerticalOffset,Mode = OneWay,RelativeSource = {RelativeSource TemplatedParent}}" ViewportSize =" {TemplateBinding ViewportHeight}"高度= QUOT; 100" VerticalAlignment = QUOT;底座"
Style =" {DynamicResource ScrollBarPartVerStyle}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScrollBar x:Name =" PART_Horizo​​ntalScrollBar" AutomationProperties.AutomationId = QUOT; Horizo​​ntalScrollBar"光标= QUOT;箭" Grid.Column = QUOT; 0" Maximum =" {TemplateBinding ScrollableWidth}"最小= QUOT; 0"
Orientation =" Horizo​​ntal" Grid.Row = QUOT 1 QUOT; Visibility =" {TemplateBinding ComputedHorizo​​ntalScrollBarVisibility}" Value =" {Binding Horizo​​ntalOffset,Mode = OneWay,RelativeSource = {RelativeSource TemplatedParent}}" ViewportSize =" {TemplateBinding ViewportWidth}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Grid>

    &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" VerticalScrollBarPageButtonNormal" EndPoint ="1,0" StartPoint =" 0,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0.05" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#F3F1EC" Offset =" 0.06" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" #FEFEFE" Offset =" 0.94" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0.95" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" ScrollBarBrush"端点= QUOT; 0.5,1" StartPoint =" 0.5,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 90" CenterY = QUOT; 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF002A5D" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF002A5D" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF448CEC" Offset =" 0.5" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" ScrollBarBrushHover"端点= QUOT; 0.5,1" StartPoint =" 0.5,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 90" CenterY = QUOT; 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF3F84D8" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF3F84D8" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" White" Offset =" 0.5" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < SolidColorBrush x:Key =" ScrollBarBrushSttokeHover" Color ="#FF185DD0" />

    &NBSP;&NBSP;&NBSP; < Style x:Key =" ScrollBarButton" TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" OverridesDefaultStyle"值=" true" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Focusable"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" IsTabStop"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Border x:Name =" Chrome" SnapsToDevicePixels = QUOT;真" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" {TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Path Data =" M7.5,3.25 L2.75,12.5 12,12.75 z"的Horizo​​ntalAlignment = QUOT;中心"余量= QUOT; 0,0,1,0"伸展= QUOT;填写"行程=" {X:空}"
Width =" 7" VerticalAlignment = QUOT;中心"高度= QUOT; 7英寸; RenderTransformOrigin =" 0.5,0.5"> b
    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Path.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform ScaleY =" -1" ScaleX =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform AngleY =" 0" AngleX =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Path.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Path.Fill>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush EndPoint =" 0.5,1" StartPoint =" 0.5,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform CenterY =" 0.5"
CenterX =" 0.5" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform CenterY =" 0.5"
CenterX =" 0.5" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 90"
CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF002A5D" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF002A5D" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF448CEC" Offset =" 0.5" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Path.Fill>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Path>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Border>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; < / Style>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" VerticalScrollBarPageButtonPressed" EndPoint ="1,0" StartPoint =" 0,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0.05" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#E3DED3" Offset =" 0.06" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" #FDFDF6" Offset =" 0.94" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0.95" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < Style x:Key =" VerticalScrollBarPageButton" TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" OverridesDefaultStyle"值=" true" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Background" Value =" Transparent" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Focusable"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" IsTabStop"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Rectangle x:Name =" Bg" Fill =" {TemplateBinding Background}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Trigger Property =" IsPressed"值=" true">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Fill"的TargetName = QUOT数; BG" Value =" {StaticResource VerticalScrollBarPageButtonPressed}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Trigger>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; < / Style>

    &NBSP;&NBSP;&NBSP; < Style x:Key =" ScrollBarThumb" TargetType =" {x:Type Thumb}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" OverridesDefaultStyle"值=" true" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" IsTabStop"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type Thumb}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Border x:Name =" Chrome" SnapsToDevicePixels = QUOT;真" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" {TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}"
Background =" {DynamicResource ScrollBarBrush}"余量= QUOT; 0,-3 QUOT;了borderThickness = QUOT 1 QUOT; />
$
    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Trigger Property =" IsMouseOver"值=" true">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Background"的TargetName = QUOT;铬,QUOT; Value =" {DynamicResource ScrollBarBrushHover}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" BorderBrush"的TargetName = QUOT;铬,QUOT; Value =" {DynamicResource ScrollBarBrushSttokeHover}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Cursor" Value =" Hand" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Trigger>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Trigger Property =" IsPressed"值=" false">

                  &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < Setter Property =" Background"的TargetName = QUOT;铬,QUOT; Value =" {DynamicResource
ScrollBarBrush}" />

               ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < / Trigger>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; < / Style>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" Horizo​​ntalScrollBarPageButtonNormal" EndPoint ="0,1" StartPoint =" 0,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0.05" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#F3F1EC" Offset =" 0.06" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" #FEFEFE" Offset =" 0.94" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 0.95" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#EEEDE5" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < LinearGradientBrush x:Key =" Horizo​​ntalScrollBarPageButtonPressed" EndPoint ="0,1" StartPoint =" 0,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0.05" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#E3DED3" Offset =" 0.06" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" #FDFDF6" Offset =" 0.94" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 0.95" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#D7D5C2" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; < Style x:Key =" Horizo​​ntalScrollBarPageButton" TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" OverridesDefaultStyle"值=" true" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Background" Value =" Transparent" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Focusable"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" IsTabStop"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type RepeatButton}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Rectangle x:Name =" Bg" Fill =" {TemplateBinding Background}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Trigger Property =" IsPressed"值=" true">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Fill"的TargetName = QUOT数; BG" Value =" {StaticResource Horizo​​ntalScrollBarPageButtonPressed}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Trigger>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /ControlTemplate.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; < / Style>

    &NBSP;&NBSP;&NBSP; < Style x:Key =" ScrollBarPartVerStyle" TargetType =" {x:Type ScrollBar}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Stylus.IsPressAndHoldEnabled"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Stylus.IsFlicksEnabled"值=" false" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Background" Value =" {StaticResource VerticalScrollBarPageButtonNormal}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Foreground" Value =" {DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Width" Value =" {DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" MinWidth" Value =" {DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type ScrollBar}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Border BorderBrush ="#FF3565A3" BorderThickness =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Border.Background>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush EndPoint =" 0.5,1" StartPoint =" 0.5,0">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform CenterY =" 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 90" CenterY = QUOT; 0.5" CenterX =" 0.5">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /LinearGradientBrush.RelativeTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF7CB2FA" Offset =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color ="#FF7CB2FA" Offset =" 1" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < GradientStop Color =" #FFDFEBFA" Offset =" 0.5" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / LinearGradientBrush>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Border.Background>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid SnapsToDevicePixels =" true">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid.RowDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RowDefinition MaxHeight =" {DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RowDefinition Height =" 0.00001 *" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RowDefinition MaxHeight =" {DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Grid.RowDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.LineUpCommand}" Style =" {StaticResource ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph = QUOT; UPARROW"
RenderTransformOrigin =" 0.5,0.5"> b $ b    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform ScaleY =" -1" ScaleX =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform AngleY =" 0" AngleX =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /RepeatButton.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / RepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track x:Name =" PART_Track" IsDirectionReversed = QUOT;真" Grid.Row =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.DecreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.PageUpCommand}" Style =" {StaticResource
VerticalScrollBarPageButton}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.DecreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.IncreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.PageDownCommand}" Style =" {StaticResource
VerticalScrollBarPageButton}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.IncreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.Thumb>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Thumb Style =" {StaticResource ScrollBarThumb}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" VerticalGripper" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.Thumb>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Track>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.LineDownCommand}" Grid.Row = QUOT; 2英寸Style =" {StaticResource ScrollBarButton}"
Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" DownArrow" RenderTransformOrigin =" 0.5,0.5"> b
    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ScaleTransform ScaleY =" 1" ScaleX =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < SkewTransform AngleY =" 0" AngleX =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RotateTransform Angle =" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < TranslateTransform />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / TransformGroup>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /RepeatButton.RenderTransform>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / RepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Grid>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Border>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Style.Triggers>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Trigger Property =" Orientation" Value =" Horizo​​ntal">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Width"值="自动"/>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" MinWidth"值=" 0" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Background" Value =" {StaticResource Horizo​​ntalScrollBarPageButtonNormal}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Height" Value =" {DynamicResource {x:Static SystemParameters.Horizo​​ntalScrollBarHeightKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" MinHeight" Value =" {DynamicResource {x:Static SystemParameters.Horizo​​ntalScrollBarHeightKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter Property =" Template">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ControlTemplate TargetType =" {x:Type ScrollBar}">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid Background =" {TemplateBinding Background}" SnapsToDevicePixels =" true">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Grid.ColumnDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ColumnDefinition MaxWidth =" {DynamicResource {x:Static SystemParameters.Horizo​​ntalScrollBarButtonWidthKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ColumnDefinition Width =" 0.00001 *" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < ColumnDefinition MaxWidth =" {DynamicResource {x:Static SystemParameters.Horizo​​ntalScrollBarButtonWidthKey}}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Grid.ColumnDefinitions>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.LineLeftCommand}" Style =" {StaticResource
ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" LeftArrow" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track x:Name =" PART_Track" Grid.Column =" 1">

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.DecreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.PageLeftCommand}"
Style =" {StaticResource Horizo​​ntalScrollBarPageButton}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.DecreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.IncreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Command =" {x:Static Sc​​rollBar.PageRightCommand}"
Style =" {StaticResource Horizo​​ntalScrollBarPageButton}" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.IncreaseRepeatButton>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Track.Thumb>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < Thumb Style =" {StaticResource ScrollBarThumb}"
Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" Horizo​​ntalGripper" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Track.Thumb>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Track>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < RepeatButton Grid.Column =" 2" Command =" {x:Static Sc​​rollBar.LineRightCommand}" Style =" {StaticResource
ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph =" RightArrow" />

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Grid>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / ControlTemplate>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Setter.Value>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Setter>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < / Trigger>

    &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; < /Style.Triggers>

    &NBSP;&NBSP;&NBSP; < / Style>

    < /Window.Resources>



    < Grid x:Name =" LayoutRoot"保证金="100">

    &NBSP;&NBSP;&NBSP; < ScrollViewer Margin =" 0" VerticalAlignment = QUOT;陀螺"高度= QUOT; 100" Template =" {DynamicResource ScrollViewerControlTemplate1}" />

    < / Grid>

< / Window>

解决方案

ScrollViewer: Please suggest for <Trigger Property="IsPressed" Value="true"> which is getting errors. Here is my complete code:

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna" mc:Ignorable="d"
    x:Class="ScrollViewer.MainWindow"
    x:Name="Window"
    Title="MainWindow"
    Width="640" Height="480">
    <Window.Resources>
        <ControlTemplate x:Key="ScrollViewerControlTemplate1" TargetType="{x:Type ScrollViewer}">
            <Grid x:Name="Grid" Background="{TemplateBinding Background}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Rectangle x:Name="Corner" Grid.Column="1" Fill="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" Grid.Row="1"/>
                <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" Grid.Row="0"/>
                <ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Height="100" VerticalAlignment="Bottom" Style="{DynamicResource ScrollBarPartVerStyle}"/>
                <ScrollBar x:Name="PART_HorizontalScrollBar" AutomationProperties.AutomationId="HorizontalScrollBar" Cursor="Arrow" Grid.Column="0" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}"/>
            </Grid>
        </ControlTemplate>
        <LinearGradientBrush x:Key="VerticalScrollBarPageButtonNormal" EndPoint="1, 0" StartPoint="0, 0">
            <GradientStop Color="#EEEDE5" Offset="0"/>
            <GradientStop Color="#EEEDE5" Offset="0.05"/>
            <GradientStop Color="#F3F1EC" Offset="0.06"/>
            <GradientStop Color="#FEFEFE" Offset="0.94"/>
            <GradientStop Color="#EEEDE5" Offset="0.95"/>
            <GradientStop Color="#EEEDE5" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Key="ScrollBarBrush" EndPoint="0.5,1" StartPoint="0.5,0">
            <LinearGradientBrush.RelativeTransform>
                <TransformGroup>
                    <ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    <SkewTransform CenterY="0.5" CenterX="0.5"/>
                    <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
                    <TranslateTransform/>
                </TransformGroup>
            </LinearGradientBrush.RelativeTransform>
            <GradientStop Color="#FF002A5D" Offset="0"/>
            <GradientStop Color="#FF002A5D" Offset="1"/>
            <GradientStop Color="#FF448CEC" Offset="0.5"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Key="ScrollBarBrushHover" EndPoint="0.5,1" StartPoint="0.5,0">
            <LinearGradientBrush.RelativeTransform>
                <TransformGroup>
                    <ScaleTransform CenterY="0.5" CenterX="0.5"/>
                    <SkewTransform CenterY="0.5" CenterX="0.5"/>
                    <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
                    <TranslateTransform/>
                </TransformGroup>
            </LinearGradientBrush.RelativeTransform>
            <GradientStop Color="#FF3F84D8" Offset="0"/>
            <GradientStop Color="#FF3F84D8" Offset="1"/>
            <GradientStop Color="White" Offset="0.5"/>
        </LinearGradientBrush>
        <SolidColorBrush x:Key="ScrollBarBrushSttokeHover" Color="#FF185DD0"/>
        <Style x:Key="ScrollBarButton" TargetType="{x:Type RepeatButton}">
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="Focusable" Value="false"/>
            <Setter Property="IsTabStop" Value="false"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                        <Border x:Name="Chrome" SnapsToDevicePixels="true" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="{TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}">
                            <Path Data="M7.5,3.25 L2.75,12.5 12,12.75 z" HorizontalAlignment="Center" Margin="0,0,1,0" Stretch="Fill" Stroke="{x:Null}" Width="7" VerticalAlignment="Center" Height="7" RenderTransformOrigin="0.5,0.5">
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform ScaleY="-1" ScaleX="1"/>
                                        <SkewTransform AngleY="0" AngleX="0"/>
                                        <RotateTransform Angle="0"/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </Path.RenderTransform>
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <LinearGradientBrush.RelativeTransform>
                                            <TransformGroup>
                                                <ScaleTransform CenterY="0.5" CenterX="0.5"/>
                                                <SkewTransform CenterY="0.5" CenterX="0.5"/>
                                                <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </LinearGradientBrush.RelativeTransform>
                                        <GradientStop Color="#FF002A5D" Offset="0"/>
                                        <GradientStop Color="#FF002A5D" Offset="1"/>
                                        <GradientStop Color="#FF448CEC" Offset="0.5"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <LinearGradientBrush x:Key="VerticalScrollBarPageButtonPressed" EndPoint="1, 0" StartPoint="0, 0">
            <GradientStop Color="#D7D5C2" Offset="0"/>
            <GradientStop Color="#D7D5C2" Offset="0.05"/>
            <GradientStop Color="#E3DED3" Offset="0.06"/>
            <GradientStop Color="#FDFDF6" Offset="0.94"/>
            <GradientStop Color="#D7D5C2" Offset="0.95"/>
            <GradientStop Color="#D7D5C2" Offset="1"/>
        </LinearGradientBrush>
        <Style x:Key="VerticalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="Focusable" Value="false"/>
            <Setter Property="IsTabStop" Value="false"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                        <Rectangle x:Name="Bg" Fill="{TemplateBinding Background}"/>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsPressed" Value="true">
                                <Setter Property="Fill" TargetName="Bg" Value="{StaticResource VerticalScrollBarPageButtonPressed}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="IsTabStop" Value="false"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Thumb}">
                        <Border x:Name="Chrome" SnapsToDevicePixels="true" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="{TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}" Background="{DynamicResource ScrollBarBrush}" Margin="0,-3" BorderThickness="1" />
                    <ControlTemplate.Triggers>
                            <Trigger Property="IsMouseOver" Value="true">
                                <Setter Property="Background" TargetName="Chrome" Value="{DynamicResource ScrollBarBrushHover}"/>
                                <Setter Property="BorderBrush" TargetName="Chrome" Value="{DynamicResource ScrollBarBrushSttokeHover}"/>
                                <Setter Property="Cursor" Value="Hand"/>
                            </Trigger>
                            <Trigger Property="IsPressed" Value="false">
                                <Setter Property="Background" TargetName="Chrome" Value="{DynamicResource ScrollBarBrush}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <LinearGradientBrush x:Key="HorizontalScrollBarPageButtonNormal" EndPoint="0, 1" StartPoint="0, 0">
            <GradientStop Color="#EEEDE5" Offset="0"/>
            <GradientStop Color="#EEEDE5" Offset="0.05"/>
            <GradientStop Color="#F3F1EC" Offset="0.06"/>
            <GradientStop Color="#FEFEFE" Offset="0.94"/>
            <GradientStop Color="#EEEDE5" Offset="0.95"/>
            <GradientStop Color="#EEEDE5" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush x:Key="HorizontalScrollBarPageButtonPressed" EndPoint="0, 1" StartPoint="0, 0">
            <GradientStop Color="#D7D5C2" Offset="0"/>
            <GradientStop Color="#D7D5C2" Offset="0.05"/>
            <GradientStop Color="#E3DED3" Offset="0.06"/>
            <GradientStop Color="#FDFDF6" Offset="0.94"/>
            <GradientStop Color="#D7D5C2" Offset="0.95"/>
            <GradientStop Color="#D7D5C2" Offset="1"/>
        </LinearGradientBrush>
        <Style x:Key="HorizontalScrollBarPageButton" TargetType="{x:Type RepeatButton}">
            <Setter Property="OverridesDefaultStyle" Value="true"/>
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="Focusable" Value="false"/>
            <Setter Property="IsTabStop" Value="false"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                        <Rectangle x:Name="Bg" Fill="{TemplateBinding Background}"/>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsPressed" Value="true">
                                <Setter Property="Fill" TargetName="Bg" Value="{StaticResource HorizontalScrollBarPageButtonPressed}"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ScrollBarPartVerStyle" TargetType="{x:Type ScrollBar}">
            <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
            <Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
            <Setter Property="Background" Value="{StaticResource VerticalScrollBarPageButtonNormal}"/>
            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
            <Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
            <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type ScrollBar}">
                        <Border BorderBrush="#FF3565A3" BorderThickness="1">
                            <Border.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <LinearGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterY="0.5" CenterX="0.5"/>
                                            <SkewTransform CenterY="0.5" CenterX="0.5"/>
                                            <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </LinearGradientBrush.RelativeTransform>
                                    <GradientStop Color="#FF7CB2FA" Offset="0"/>
                                    <GradientStop Color="#FF7CB2FA" Offset="1"/>
                                    <GradientStop Color="#FFDFEBFA" Offset="0.5"/>
                                </LinearGradientBrush>
                            </Border.Background>
                            <Grid SnapsToDevicePixels="true">
                                <Grid.RowDefinitions>
                                    <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
                                    <RowDefinition Height="0.00001*"/>
                                    <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
                                </Grid.RowDefinitions>
                                <RepeatButton Command="{x:Static ScrollBar.LineUpCommand}" Style="{StaticResource ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="UpArrow" RenderTransformOrigin="0.5,0.5">
                                    <RepeatButton.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleY="-1" ScaleX="1"/>
                                            <SkewTransform AngleY="0" AngleX="0"/>
                                            <RotateTransform Angle="0"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </RepeatButton.RenderTransform>
                                </RepeatButton>
                                <Track x:Name="PART_Track" IsDirectionReversed="true" Grid.Row="1">
                                    <Track.DecreaseRepeatButton>
                                        <RepeatButton Command="{x:Static ScrollBar.PageUpCommand}" Style="{StaticResource VerticalScrollBarPageButton}"/>
                                    </Track.DecreaseRepeatButton>
                                    <Track.IncreaseRepeatButton>
                                        <RepeatButton Command="{x:Static ScrollBar.PageDownCommand}" Style="{StaticResource VerticalScrollBarPageButton}"/>
                                    </Track.IncreaseRepeatButton>
                                    <Track.Thumb>
                                        <Thumb Style="{StaticResource ScrollBarThumb}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="VerticalGripper"/>
                                    </Track.Thumb>
                                </Track>
                                <RepeatButton Command="{x:Static ScrollBar.LineDownCommand}" Grid.Row="2" Style="{StaticResource ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="DownArrow" RenderTransformOrigin="0.5,0.5">
                                    <RepeatButton.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleY="1" ScaleX="1"/>
                                            <SkewTransform AngleY="0" AngleX="0"/>
                                            <RotateTransform Angle="0"/>
                                            <TranslateTransform/>
                                        </TransformGroup>
                                    </RepeatButton.RenderTransform>
                                </RepeatButton>
                            </Grid>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Style.Triggers>
                <Trigger Property="Orientation" Value="Horizontal">
                    <Setter Property="Width" Value="Auto"/>
                    <Setter Property="MinWidth" Value="0"/>
                    <Setter Property="Background" Value="{StaticResource HorizontalScrollBarPageButtonNormal}"/>
                    <Setter Property="Height" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
                    <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="{x:Type ScrollBar}">
                                <Grid Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
                                        <ColumnDefinition Width="0.00001*"/>
                                        <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
                                    </Grid.ColumnDefinitions>
                                    <RepeatButton Command="{x:Static ScrollBar.LineLeftCommand}" Style="{StaticResource ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="LeftArrow"/>
                                    <Track x:Name="PART_Track" Grid.Column="1">
                                        <Track.DecreaseRepeatButton>
                                            <RepeatButton Command="{x:Static ScrollBar.PageLeftCommand}" Style="{StaticResource HorizontalScrollBarPageButton}"/>
                                        </Track.DecreaseRepeatButton>
                                        <Track.IncreaseRepeatButton>
                                            <RepeatButton Command="{x:Static ScrollBar.PageRightCommand}" Style="{StaticResource HorizontalScrollBarPageButton}"/>
                                        </Track.IncreaseRepeatButton>
                                        <Track.Thumb>
                                            <Thumb Style="{StaticResource ScrollBarThumb}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="HorizontalGripper"/>
                                        </Track.Thumb>
                                    </Track>
                                    <RepeatButton Grid.Column="2" Command="{x:Static ScrollBar.LineRightCommand}" Style="{StaticResource ScrollBarButton}" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="RightArrow"/>
                                </Grid>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Trigger>
            </Style.Triggers>
        </Style>
    </Window.Resources>

    <Grid x:Name="LayoutRoot" Margin="100">
        <ScrollViewer Margin="0" VerticalAlignment="Top" Height="100" Template="{DynamicResource ScrollViewerControlTemplate1}"/>
    </Grid>
</Window>

解决方案


这篇关于ScrollViewer:请建议&lt; Trigger Property =&quot; IsPressed&quot;值= QUOT;真&QUOT;&GT;这是错误的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-19 04:06