English 中文(简体)
创建就业数据
原标题:Creating an Empty DataGrid

我想知道,建立空洞数据网的最佳途径是什么。

例如,在你打上新车后,你有一只网路,有一栏空。

我正在使用WPF和4.0的C#。

谢谢。

问题回答

如评论意见所示,数据网不是一个电子表格,而是显示现有数据/编辑的方法。 也就是说,如果你想要类似的话,就感到可以自由地收集一只带有缺省/空洞物体的物品,并且对你的电网具有约束力。 这只是说,在进行数据工作之后,你必须界定一种只捕获经过编辑的浏览量的方法。 这仍然意味着必须提前知道贵阶层的有一栏的特性。

数据集用于显示收集。 如果你想要建立一个单独的浏览数据系统,实际上不是正确的工具。 你只能用一只双手收集,在数据集中单行空投。 关于MSDN的主尾矿有许多指导。 如果你不知道设计时有多少栏目,那么你可以利用数据单把第1栏作为标题和栏目,作为数值,现在你有一份记录,但收集了田地。





相关问题
WPF convert 2d mouse click into 3d space

I have several geometry meshes in my Viewport3D, these have bounds of (w:1800, h:500, d:25). When a user clicks in the middle of the mesh, I want the Point3D of (900, 500, 25)... How can I achieve ...

Editing a xaml icons or images

Is it possible to edit a xaml icons or images in the expression design or using other tools? Is it possible to import a xaml images (that e.g you have exported) in the expression designer for editing?...

WPF: writing smoke tests using ViewModels

I am considering to write smoke tests for our WPF application. The question that I am faced is: should we use UI automation( or some other technology that creates a UI script), or is it good enough to ...

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

How do WPF Markup Extensions raise compile errors?

Certain markup extensions raise compile errors. For example StaticExtension (x:Static) raises a compile error if the referenced class cannot be found. Anyone know the mechanism for this? Is it baked ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签