GithubHelp home page GithubHelp logo

kwonganding / wpf.controls Goto Github PK

View Code? Open in Web Editor NEW
400.0 37.0 155.0 1.93 MB

在学习中和使用WPF中,学习、借鉴了很多网友的文章和开源的项目的知识。发现提供实际项目开发需要的基础控件、样式的文章大都比较散,不成系列。因此基于现在项目中使用开发了一个wpf基础UI库,并写了这个系列入门文章(http://www.cnblogs.com/anding/p/5018363.html),希望对有需要的人有所帮助。

C# 97.27% CSS 0.56% HTML 2.17% Smalltalk 0.01%

wpf.controls's Issues

StaticResource

大神您好。原本是想学一下怎么做DatePicker的样式,于是下载下来源码来研究。但是下载把关键代码拷贝到自己新建的项目后发现。FIcon.xaml没有在<ResourceDictionary.MergedDictionaries>里引用Colors.xaml却能使用里面的静态资源。求教这是怎么做到的?

我自己的项目里截的图
qq 20171011184519

求助大神

大神您好!
刚看到这个项目,非常酷炫,谢谢大神的无私!
我是一个新手,刚下载看了一下,发现自己不会用,呵呵,自己尝试在一个新项目中引用大神的控件,就会显示错误:无效标记。
我的步骤是:
1、先将Util.Controls拷贝到项目同级目录
2、xaml里添加:xmlns:xly="clr-namespace:Util.Controls;assembly=Util.Controls"
3、在大神给的Util.Controls.WPFTest复制了一段到xaml里

     <StackPanel Height="50">
            <xly:BulletCheckBox />
            <xly:BulletCheckBox Text="不开窍" CheckedText="开启" IsChecked="True" />
            <xly:BulletCheckBox Text="不开窍" CheckedText="开启" IsChecked="True" Height="24"                      Width="60" />
            <xly:BulletCheckBox Height="24" Width="60"/>
        </StackPanel>    

经过这三步,发现还是显示

 XML 命名空间“clr-namespace:Util.Controls;assembly=Util.Controls”中不存在标记“BulletCheckBox”。 

尝试添加引用lib目录下的:System.Utility.dll
如果是anyCPU,会出现处理器架构不匹配的问题
改为X86没问题
但第3条里的错误还是存在,无法编译,请大神帮忙!太喜欢这个控件的风格所以想试试,呵呵。

  大神能否给新手写一篇如何使用这个控件的教程?step by step,谢谢!
  只要会引用这些控件了就可以看大神给的Util.Controls.WPFTest项目了,再次谢谢!

请教大神

您好,从博客园看到了您的博文,非常喜欢您设计的风格,现在在学习中。
但是我新建了一个项目引用了您的样式,在使用combobox时会报错:

引发的异常:“System.Windows.Markup.XamlParseException”(位于 PresentationFramework.dll 中)

其他信息: “在“System.Windows.Markup.StaticExtension”上提供值时引发了异常。”,行号为“87”,行位置为“79”

请问可能是哪里的问题?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.