WPF-Microsoft为什么不提供一组像样的最常用控件? [英] WPF - Why doesn't Microsoft supply a decent set of most-used controls ?

查看:87
本文介绍了WPF-Microsoft为什么不提供一组像样的最常用控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经和WPF玩了几个月了,我非常喜欢它。
但是我没有得到的一件事就是,为什么MS不花更多精力通过提供基本控件来帮助开发人员,而我需要把它付诸实践:)



例如,我认为大多数应用程序都需要让您编辑一些属性-用于配置等。
在属性网格编辑器中最常用的类型是什么?




  • text

  • 数字(字节,浮点数/双精度数,整数等)

  • 颜色



。 ... etc。



那为什么还没有像编辑数字这样简单的控件呢?就像通用的NumericUpDown控件一样,它允许您键入数字(没有文本,没有粘贴无效的输入)或根据某些给定的规则(十进制,浮点数,最小值/最大值)上/下旋转数字?
为什么没有通用的颜色选择器,所以人们在每个应用程序中都获得相同的用户体验?
为什么没有标准的SearchTextBox实现,BreadCrumb控件或用户在过去10年中已经习惯的所有其他这些标准控件类型?



(..但至少他们DID有时间实施通用启动画面-因为每个人都知道极大可以提高用户的生产力...。)



众所周知的理想是始终在不同应用程序上为人们提供相同的用户体验。因此,即使其中一些控件很容易制作-相对于不同的应用程序,最好还是使用一个版本。



我看到互联网上的所有人都在尝试这样做相同的东西一遍又一遍。
好​​的,所以MS在Codeplex上启动了WPF Toolkit项目,该项目试图实现一些控件,但三心二意,到现在为止已经完全死了(路线图的最新更新可追溯到2009年3月21日)。 / p>

其结果是,许多启动WPF项目的人最终花费大量时间试图弄清楚如何创建一些通用控件并真正获得



这不是开发人员,开发人员,开发人员!的口头禅。 ..?



/ Rant

解决方案

我认为Microsoft-和有些人在这里做出回应-忘记了这篇文章中最重要的部分:



众所周知的理想是始终为人们提供相同的用户体验因此即使这些控件中的某些控件很容易制作-与其他应用程序相比,最好有一个版本



只是Google在 WPF拾色器上进行图片搜索( http://www.google.nl/图片?q = wpf + color + picker ),您会发现这个想法付诸东流。


I've been playing with WPF for some months now, and I quite like it. But one of the things I don't get is why MS doesn't put a little more effort in helping developers by supplying basic controls, and I need to get this off my chest :)

For example, I figure most applications somewhere will need to let you edit some properties - for configuration or whatever. What would be the most used types in a proprety-grid editor ?

  • text
  • numbers (byte, float/double, int, etc)
  • colors

....etc.

So why isn't there even something as simple as a control to edit numbers ? Like a generic NumericUpDown control that allows you to type in numbers (no text, no pasting invalid input) or spin them up/down according to some given rules (decimal, floating point, min/maxvalue) ? Why isn't there a generic colorpicker, so people get the same user-experience in every application ? Why isn't there a standard implementation of a SearchTextBox, a BreadCrumb-control, or all these other standard control types users have gotten accustomed to the last 10 years ?

(..but at least they DID have the time to implement a generic splashscreen - because everyone knows that greatly increases user-productivity....)

The well-known ideal is always to give people the same user-experience over different applications. So even if some of those controls would be easy to make - it would be preferred to have one version over different applications.

I see people all over the internet trying to do the same stuff over and over again. Okay, so MS started a WPF Toolkit project on Codeplex that tries to implement some controls, but only did so half-heartedly and is completely dead by now (last update of the roadmap dates back to Mar 21 2009).

The result of this is that a lot of people starting a WPF-project end up spending a lot of time on trying to figure out how to create some generic controls and get really frustrated.

Wasn't the mantra "Developers, developers, developers!" ..?

/Rant

解决方案

I think Microsoft - and some people responding here - are forgetting about the most important part of this post :

"The well-known ideal is always to give people the same user-experience over different applications. So even if some of those controls would be easy to make - it would be preferred to have one version over different applications"

Just Google Image Search on "WPF Color Picker" ( http://www.google.nl/images?q=wpf+color+picker ) and you'll see this idea go down the drain.

这篇关于WPF-Microsoft为什么不提供一组像样的最常用控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆