English 中文(简体)
我的《世界森林论坛观点》执行工作正在我的全球海洋研究组织“Excel Add-In”组织内部出现不完善的组成。 是否有任何批评?
原标题:My WPF ViewModelLocator implementation is failing composition within my VSTO Excel Add-In. Can anyone critique?

<<>Background:

Im利用MAEF帮助组成一个能够从电子表格数据中创建实体的Excel 2007 Add-In(VSTO)和一项标准要求,暴露了我试图进行调节的架构中的一个缺陷(我现在需要确定“固定负荷”栏而不是“工作单”栏目)。

我的每个地方实体的财产都与包含我工作表格中一栏名称的描述。 提交时,我思考这些特性,以确定该工作单列中哪些财产图,并创建一套奶制品代典,将财产Name与一栏。 我之所以这样做,是因为Excel COM物体模型似乎只暴露了基于浏览/col的工种。 进行这一制图,使我得以在工作桌上积极找到我的财产,而不必维持任何固定的财产图。

So, this was all fine and good...and, as this is a stopgap solution for our business partner while we rearchitect the underlying system, we discussed that this was going to be a very "unfriendly" add-in and everyone was intitially onboard. But now, the business has validation concerns for some reference data that will be showing up in the sheet. We had agreed that validation would be performed on submission, but that has changed to need me to have reference columns bound to validation drop downs that only contain valid values.

The Problem

因此,我现在需要调整我的观点和观点,以便把各栏目绘制到其实体财产上,同时把问题放在何处。 我从他提供的法典中执行了Scott Smith s <>>RelayCommand<>><>strong>,我实施了《小小岛<<>CompositionInitializer for WPF,我设立了一个观点模型,协助我的组成人员查找我的见解模型......但我无法找到适当的观点。 此时此刻,我只字不提这个问题。 谁能提供帮助? I m不是MAEF专家。 我与多国机器设备模式 da合,但过去几年来,我已不在C#的范围之内,并忽略了其变化。 我认为,我的问题很可能是根本性的,但我已经 code过了很长时间才能找到这个问题。 请提供帮助。

www.un.org/Depts/DGACM/index_spanish.htm 《刑法》

我已开始在微软的WPF社会论坛担任一个职务,我已经将有关守则张贴在该论坛。 如果有人想在这里退席,我会乐于强迫。 但现在,我会把这一条线连接起来。 (我也在此附上一个背景,但我很抱着这个背景。) 你可以ski弄我所包括的背景,不要错过任何东西。

http://social.msdn.microsoft.com/Forums/en/wpf/thread/f22f081d-e342-4f4e-af41-600cec68f0cd” rel=“nofollow”http://social.msdn.microsoft.com/Forums/en/wpf/thread/f22f081d-e342-4f4e-af41-600cec68f0c

最佳回答

我不清楚这是否会产生任何影响,而不会出口你的<代码>StopgapViewModel。 生产、制造厂类和出口工厂类,如:

public StopgapViewModelFactory 
{
    [Export(typeof(StopgapViewModel))]
    public StopgapViewModel Instance
    {
        get
        {
            return new StopgapViewModel();
        }
    }
}

从<代码>删除[Export]声明 停止使用

问题回答

暂无回答




相关问题
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 ...

热门标签