您好,欢迎访问三七文档
当前位置:首页 > 临时分类 > surface 2.0示例代码
UserControlxmlns=:x=:s=:props=clr-namespace:SocialStream.Propertiesxmlns:d=:mc=:controls=clr-namespace:SocialStream.Controlsxmlns:Microsoft_Surface_Presentation_Generic=clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Genericmc:Ignorable=dx:Class=SocialStream.Controls.AdminPaneld:DesignWidth=485d:DesignHeight=220xmlns:helpers=clr-namespace:SocialStream.HelpersUserControl.ResourcesResourceDictionaryResourceDictionary.MergedDictionariesResourceDictionarySource=/SocialStream;component/Resources/Converters.xaml//ResourceDictionary.MergedDictionariesStyleTargetType={x:TypeTextBlock}SetterProperty=FontFamilyValue={DynamicResourceMainFont}/SetterProperty=ForegroundValue=White//StyleStylex:Key=SurfaceSliderStyleTargetType={x:Types:SurfaceSlider}SetterProperty=BackgroundValue=#191B2022/SetterProperty=BorderBrushValue=#3F040404/SetterProperty=ForegroundValue=Black/SetterProperty=WidthValue=Auto/SetterProperty=MinWidthValue=30/SetterProperty=HeightValue=Auto/SetterProperty=MinHeightValue=0/SetterProperty=TemplateSetter.ValueControlTemplateTargetType={x:Types:SurfaceSlider}ControlTemplate.ResourcesStoryboardx:Key=TouchDoubleAnimationDuration=0:0:0.1To=19Storyboard.TargetProperty=HeightStoryboard.TargetName=TrackBkgd//StoryboardStoryboardx:Key=ReleaseDoubleAnimationDuration=0:0:0.2Storyboard.TargetProperty=HeightStoryboard.TargetName=TrackBkgd/DoubleAnimationDuration=0:0:0.2Storyboard.TargetProperty=RadiusXStoryboard.TargetName=TrackBkgd/DoubleAnimationDuration=0:0:0.2Storyboard.TargetProperty=RadiusYStoryboard.TargetName=TrackBkgd//Storyboard/ControlTemplate.ResourcesGridx:Name=GridRootBackground=TransparentHeight=AutoSnapsToDevicePixels=TrueVerticalAlignment=StretchRectanglex:Name=TrackBkgdFill=WhiteHeight=8Opacity=.1SnapsToDevicePixels=True/Borderx:Name=TrackBackground=TransparentHorizontalAlignment=StretchHeight=AutoOpacity=1Grid.Row=1SnapsToDevicePixels=TrueVerticalAlignment=StretchTrackx:Name=PART_TrackGrid.Row=1Track.DecreaseRepeatButtons:SurfaceRepeatButtonx:Name=SliderDecreaseCommand=Slider.DecreaseLarges:SurfaceRepeatButton.StyleStyleTargetType={x:Types:SurfaceRepeatButton}SetterProperty=BackgroundValue=Transparent/SetterProperty=BorderBrushValue=Transparent/SetterProperty=IsTabStopValue=False/SetterProperty=FocusableValue=False/SetterProperty=TemplateSetter.ValueControlTemplateTargetType={x:Types:SurfaceRepeatButton}GridRectangleFill={TemplateBindingBackground}Stroke={TemplateBindingBorderBrush}StrokeThickness={TemplateBindingBorderThickness}//Grid/ControlTemplate/Setter.Value/Setter/Style/s:SurfaceRepeatButton.Style/s:SurfaceRepeatButton/Track.DecreaseRepeatButtonTrack.IncreaseRepeatButtons:SurfaceRepeatButtonx:Name=SliderIncreaseCommand=Slider.IncreaseLarges:SurfaceRepeatButton.StyleStyleTargetType={x:Types:SurfaceRepeatButton}SetterProperty=BackgroundValue=Transparent/SetterProperty=BorderBrushValue=Transparent/SetterProperty=IsTabStopValue=False/SetterProperty=FocusableValue=False/SetterProperty=TemplateSetter.ValueControlTemplateTargetType={x:Types:SurfaceRepeatButton}GridRectangleFill={TemplateBindingBackground}Stroke={TemplateBindingBorderBrush}StrokeThickness={TemplateBindingBorderThickness}//Grid/ControlTemplate/Setter.Value/Setter/Style/s:SurfaceRepeatButton.Style/s:SurfaceRepeatButton/Track.IncreaseRepeatButtonTrack.Thumbs:SurfaceThumbx:Name=ThumbForeground=BlackSnapsToDevicePixels=TrueVerticalAlignment=Centers:SurfaceThumb.StyleStyleTargetType={x:Types:SurfaceThumb}SetterProperty=BackgroundValue=Transparent/SetterProperty=TemplateSetter.ValueControlTemplateTargetType={x:Types:SurfaceThumb}ControlTemplate.ResourcesStoryboardx:Key=PressDoubleAnimationUsingKeyFramesStoryboard.TargetProperty=(FrameworkElement.Width)Storyboard.TargetName=LayoutRootSplineDoubleKeyFrameKeyTime=0:0:0.2Value=22//DoubleAnimationUsingKeyFramesDoubleAnimationUsingKeyFramesStoryboard.TargetProperty=(FrameworkElement.Height)Storyboard.TargetName=LayoutRootSplineDoubleKeyFrameKeyTime=0:0:0.2Value=22//DoubleAnimationUsingKeyFrames/StoryboardStoryboardx:Key=ReleaseDoubleAnimationUsingKeyFramesStoryboard.TargetProperty=(FrameworkElement.Width)Storyboard.TargetName=LayoutRootSplineDoubleKeyFrameKeyTime=0:0:0.4Value=18//DoubleAnimationUsingKeyFramesDoubleAnimationUsingKeyFramesStoryboard.TargetProperty=(FrameworkElement.Height)Storyboard.TargetName=LayoutRootSplineDoubleKeyFrameKeyTime=0:0:0.4Value=18//DoubleAnimationUsingKeyFrames/Storyboard/ControlTemplate.ResourcesGridx:Name=LayoutRootBackground=TransparentSnapsTo
本文标题:surface 2.0示例代码
链接地址:https://www.777doc.com/doc-3979016 .html