码迷,mamicode.com
首页 > Windows程序 > 详细

wpf 在引用外部的资源字典

时间:2015-06-24 12:53:14      阅读:331      评论:0      收藏:0      [点我收藏+]

标签:

启动的APP.xaml

技术分享

 

 

资源字典: ScrollViewStyle.xaml

技术分享

 

 

 

引用的界面的xaml

<UserControl x:Class="FranceNews.Pages.点位.Views.FranceFilter"
             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:vm="clr-namespace:FranceNews.Pages.点位.ViewModels"
             xmlns:v="clr-namespace:FranceNews.Pages.点位.Views"
             xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
             mc:Ignorable="d" 
             d:DesignHeight="607" MinWidth="600" Width="1800">
        <ScrollViewer x:Name="scrolls" Template="{StaticResource MyScrollViewerControlTemplate}" VerticalAlignment="Top" VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Auto" >
            <ScrollViewer.Content>
              
            </ScrollViewer.Content>
        </ScrollViewer>
</UserControl>

 

wpf 在引用外部的资源字典

标签:

原文地址:http://www.cnblogs.com/chenjinshi/p/4597298.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!