Questions tagged [catel]

Catel is an application development platform for .NET with the focus on MVVM.

Catel is an application development platform with the focus on MVVM and MVC. The core of Catel contains an IoC container, models, validation, memento, message mediator, argument checking, etc. http://www.catelproject.com

380 questions
2
votes
1 answer

Catel MVVM Structure

I have a simple WPF Application and I used Catel (3.5) framework for using MVVM. The Default structure for Catel in visual studio is: Solution: Project: FolderView FolderViewModel FolderModel I want to change the structure to…
RayOldProf
  • 1,040
  • 4
  • 16
  • 40
1
vote
0 answers

how do I to add catel to a prism 8 wpf app

Has anyone tried integrating catel with prism 8. Orc.Prism supported prism 5 and 6 and could bem modified to support prism 7 but now the Bootstrapper has been removed from prism 8. How can I modify my PrismApplicationBase decendant to support catel.
johnka
  • 19
  • 3
1
vote
1 answer

Can't install Orc.Controls in a .Net Framework 4.7 project

When I try to add the Orc.Controls package v4.2.8 from Nuget I get the error "You are trying to install this package into a project that targets '.NETFramework,Version=v4.7', but the package does not contain any assembly references or content files…
1
vote
1 answer

Using DI to Inject the Dependencies into ViewModel with MS DI and Catel.MVVM

My project is built with Catel.MVVM, but I am very open to any solution for WPF MVVM with DI that is not Catel.MVVM specific to solve my problem. The project is .NET 5. I am struggling to get a solution for DI injecting dependencies into ViewModels…
juicebyjustin
  • 434
  • 7
  • 16
1
vote
2 answers

Catel.Fody in WPF .NET Core 3.1 / .NET 5.0 - Namespace not Found Issue

I am having an issue using Catel.Fody in a .NET Core 3.1 WPF application. I add the NuGet package Catel.Fody and the FodyWeavers.xml file is generated, shown below. The using Catel.Fody; statement gives an error: the namespace Catel cannot be…
juicebyjustin
  • 434
  • 7
  • 16
1
vote
1 answer

Catel wraps usercontrol content in viewmodel grid even when naming content grid "__catelInnerWrapper"

I'm having a problem creating a viewmodel grid manually in Catel for a Catel usercontrol. The documentation implies that by naming the content grid "__catelInnerWrapper" that the content will not be wrapped with another grid by the…
BCona
  • 13
  • 3
1
vote
1 answer

Catel validation errors not shown in view

I have a problem with Catel in showing the results of field validations (done in a view model or a model) in a view: with an error in a field, the corresponding textbox shall be marked like with a red frame. But for some reason I do not get this…
Joerg B.
  • 13
  • 3
1
vote
1 answer

Do compiled bindings (x:Bind) require the ViewModel to derive from DependencyObject?

I am trying to use compiled bindings on a project realised with the Catel MVVM Framework (should not matter). In the generated code however I get compiler errors because my ViewModel does not implement certain functions normally exposed by…
TradeItEasy
  • 129
  • 8
1
vote
1 answer

Using Catel Converters in UWP Apps

I am trying to use the BooleanToCollapsingVisibilityConverter in the Catel.MVVM.Converters namespace but the XAML designer does not find the type and breaks the build: XLS0414 The type 'converters:BooleanToCollapsingVisibilityConverter' was not…
TradeItEasy
  • 129
  • 8
1
vote
0 answers

When maximizing screen in wpf bound width triggers twice. How do I fix this

When I maximize the window of a wpf application the bound width updates twice. First in the correct width and second with the previous width. This is the code I use. (I tried putting it in a seperate project) XAML
1
vote
0 answers

NDepend to find if control is checked inside the Constructor

On a WPF project I'm developing with Catel framework, I'm using IoC pattern to inject services and repositories. I wish to use NDpend to find if all the injected interfaces have the following check applied. Please consider the following constructor …
advapi
  • 3,661
  • 4
  • 38
  • 73
1
vote
1 answer

IPleaseWaitService not working after upgrade to 5.0

I have an app that I use the IPleaseWaitService working fine when using Catel v 4.5.4, but when I updated to v 5.0.0, the IPleaseWaitService does not display the UpdateStatus and only displays a little spinner that doesn't go away on Hide (the only…
Bob
  • 75
  • 5
1
vote
1 answer

Using ViewModelToModel for classes in Orc.Wizard ViewModels and WizardPage

I have created a Wizard using Orc.Wizard. My WizardPage has several backing items: public LoadOptions LoadOpts {get; set;} public string FolderPath {get; set;} In my ViewModel I am using the [ViewModelToModel] to expose the classes and the…
Michael Wade
  • 205
  • 2
  • 5
1
vote
1 answer

Catel Orc.Wizard Resolving Pages

I have created a Wizard with 4 pages using Orc.Wizard. When I attempt to navigate to the 2'nd page the viewModelLocator in the WizardPageSelectionBehavior is not able to resolve the ViewModel that is associated with the WizardPage. I have named…
Michael Wade
  • 205
  • 2
  • 5
1
vote
1 answer

How to make Catel recognise all MultiSelectTreeView properties?

I am a fairly novice Visual Basic developer trying to use the MultiSelectTreeView control (https://github.com/ygoe/MultiSelectTreeView) in a MVVM application I am developing. To become familiar with using them together, I translated the…
1 2
3
25 26