Catel | An application development platform | Model View Controller library

 by   Catel C# Version: 5.12.20 License: Non-SPDX

kandi X-RAY | Catel Summary

kandi X-RAY | Catel Summary

Catel is a C# library typically used in Architecture, Model View Controller, Xamarin applications. Catel has no bugs, it has no vulnerabilities and it has medium support. However Catel has a Non-SPDX License. You can download it from GitHub.

Catel.Core is the library you want to include in all your projects, whether you are writing a UI project or not. It contains lots of useful helper methods. The most important features are listed below:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Catel has a medium active ecosystem.
              It has 795 star(s) with 136 fork(s). There are 54 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 12 open issues and 1258 have been closed. On average issues are closed in 125 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Catel is 5.12.20

            kandi-Quality Quality

              Catel has 0 bugs and 0 code smells.

            kandi-Security Security

              Catel has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Catel code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Catel has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              Catel releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              Catel saves you 22 person hours of effort in developing the same functionality from scratch.
              It has 54 lines of code, 0 functions and 1235 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Catel
            Get all kandi verified functions for this library.

            Catel Key Features

            No Key Features are available at this moment for Catel.

            Catel Examples and Code Snippets

            No Code Snippets are available at this moment for Catel.

            Community Discussions

            QUESTION

            Catel.IoC.TypeNotRegisteredException: Catel throws exception even though CanResolve returns true
            Asked 2022-Feb-10 at 19:56

            I have a WPF Application with Catel.Core, Catel.MVVM, Catel.Analyzers and Catel.Fody installed.

            When I start the application and try to resolve a Data Access Repository (ILigaMannschaftenZuordnungenRepository) the exception Catel.IoC.TypeNotRegisteredException gets thrown. When I call dependencyResolver.CanResolve(); it returns true.

            I made an extension method to register every service and repository in a single place.

            ...

            ANSWER

            Answered 2022-Feb-10 at 19:56

            Okay, after debugging for quite some time and checking multiple things, I looked into my Data Access Repositories again. And I realized that my repository's implementation had an internal constructor instead of a public constructor. The cause was the base Repository, which had an internal constructor. After changing from internal to public the DI Container resolved the types correctly.

            If you are running into this problem, check if your types have public constructors.

            Bad:

            Source https://stackoverflow.com/questions/71070786

            QUESTION

            Where is UserControl in catel 5.12
            Asked 2022-Feb-04 at 18:38

            I've some nested UserControls on an MVVM/WPF project using .NET 6.0 and Catel 5.12.22 Google led me to this, all be it an old article https://www.codeproject.com/Articles/129920/Catel-Part-3-of-n-The-MVVM-Framework#mapping

            I can't find the UserControl anymore in the Catel 5.12

            Lots of dead links to old documentation currently, so please advise where I can find this, or how it works now.

            Jeroen

            ...

            ANSWER

            Answered 2022-Feb-04 at 18:38

            The UserControl still exists in Catel.

            Here is the full documentation.

            To use it in xaml, use this code:

            Source https://stackoverflow.com/questions/70988882

            QUESTION

            Catel InitializeAsync is Not Called in ViewModel
            Asked 2021-Nov-29 at 20:34

            I have an issue where every single view model that inherits from Catel.MVVM.ViewModel is never calling InitializeAsync(). What could I be missing that blocks this call?

            I'm using Catel.MVVM v5.12.22.

            ...

            ANSWER

            Answered 2021-Nov-29 at 20:34

            The fix is to change the control type from UserControl to catel:UserControl.

            Source https://stackoverflow.com/questions/70099134

            QUESTION

            How stable is Orc.EntityFrameworkCore
            Asked 2021-Nov-11 at 14:22

            I'm currently working on a WPF project with .NET 5.0 using Catel 5.12.19 and Microsoft.EntityFrameworkCore 5.0.11.

            For the EF part I use a code first approach.

            When setting up everything using this catel documentation I noticed the necessary extensions are moved to Orc.EntityFramework, but this supports EF 6 and up only.

            For EF Core I find Orc.EntityFrameworkCore but only as Alpha versions.

            I wondered how stable this is, anyone expercienes?

            I'm specifically looking to the .IgnoreCatelProperties() extension

            Jeroen

            ...

            ANSWER

            Answered 2021-Nov-11 at 14:22

            For now it seems sufficient to add the following Ignores to the OnModelCreating

            Source https://stackoverflow.com/questions/69841250

            QUESTION

            Register class with multiple interfaces for Dependency injection in Catel
            Asked 2021-Nov-11 at 13:30

            I'm using Catel 5.12.19 with an MVVM application

            I have the following 2 interfaces:

            ...

            ANSWER

            Answered 2021-Nov-11 at 13:30

            IService interface is blank, therefore any code using IService can perform no actions with it.

            CustomerSearchFilterList is defined as belonging to ICustomerSearch interface.

            Thus for dependency injection you should be using concrete classes based upon ICustomerSearch instead of IService.

            You can combine interfaces to form more complex ones e.g.

            Source https://stackoverflow.com/questions/69928862

            QUESTION

            Binding Button CommandParameter to DataGrid SelectedItem off by one change
            Asked 2021-Oct-04 at 04:49

            I have a (WPF) Catel DataWindow with a DataGrid, where the SelectedItem property is bound to a VM property, and has two buttons indented to launch different Catel TaskCommands on the selected data grid item.

            Note the CommandParameters are bound in different ways to what seems - but isn't - the same value:

            ...

            ANSWER

            Answered 2021-Oct-04 at 04:49

            I think this is caused by the moment the commands get (re)evaluated.

            You probably have the InvalidateCommandsOnPropertyChange property set to true (default value). For more info, see https://github.com/catel/catel/blob/develop/src/Catel.MVVM/MVVM/ViewModels/ViewModelBase.cs#L1016

            At this stage, the binding probably didn't have a chance yet to update itself and is thus sending the previous version.

            A workaround for this issue could be to use the dispatcher service inside the VM to re-evaluate the commands yourself:

            In the ctor:

            Source https://stackoverflow.com/questions/69392534

            QUESTION

            CreateStyleForwardersForDefaultStyles missing in version 5
            Asked 2021-Jul-09 at 08:41

            I have some old libraries coded in .net 4.0 using an old version of Catel (3.9). Now I'm trying to upgrade to .net 4.7.2 using the latest Catel. I've added Orc.Controls instead of Catel.Extensions.Controls, but CreateStyleForwardersForDefaultStyles and StyleHelper are missing. Do I need to adjust all of my xaml files manually or there is some other solution?

            ...

            ANSWER

            Answered 2021-Jul-09 at 08:41

            The StyleHelper and other style related code has been moved to Orc.Theming and Orchestra.

            The example apps for both libraries (should) show how to use them.

            Source https://stackoverflow.com/questions/68313098

            QUESTION

            Catel: Preventing DataWindow from resizing automatically
            Asked 2021-Jun-17 at 18:05

            I created a little software with 4 Tabs inside the DataWindow Control. Each Tab inherits a CustomControl. The problem is, that the window automatically resizes based on the content (In one tab there is list that needs more width and in another tab the list is way smaller).

            I tried the "Custom Data Window Style". Didn't work.

            Example:

            ...

            ANSWER

            Answered 2021-Jun-17 at 18:05

            You can set SizeToContent to Manual.

            Source https://stackoverflow.com/questions/68024355

            QUESTION

            Catel.Fody in WPF .NET Core 3.1 / .NET 5.0 - Namespace not Found Issue
            Asked 2020-Dec-01 at 21:46

            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 found.

            Is Catel.Fody not compatable with .NET Core WPF?

            ...

            ANSWER

            Answered 2020-Dec-01 at 21:46

            They should all be compatible. Please check out the Orc components (https://github.com/wildgums). These are all.net core 3.1 and.net 5.0 compatible and use Catel.Fody.

            Source https://stackoverflow.com/questions/65098388

            QUESTION

            Is it possible to change the used UICulture for Orc.Wizard?
            Asked 2020-Nov-04 at 23:49

            I create an application that uses english language no matter the current system culture. For all catel windows this is no problem by using DataWindowMode.Custom and e.g.

            AddCustomButton(new DataWindowButton("Save", "SaveCommand"));

            in the constructor.

            Now I created a wizard (Orc.Wizard) with some pages, but I can not find a way to change the culture for the used buttons and the popup windows when e.g canceling the wizard. Changing the Current(UI)Culture and DefaultThreadCurrent(UI)Culture has no effect.

            Is there an easy way to change the uiculture for Orc.Wizard, or do I have to customize the default implementation of the wizard (copy pasta)?

            ...

            ANSWER

            Answered 2020-Nov-04 at 23:49

            So, after checking the examples I found out that you have to use the catel language service. I added this in App.xaml.cs

            Source https://stackoverflow.com/questions/64688945

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Catel

            Note that this assumes a local packages directory at C:\Source\_packages, which can be added to the NuGet feeds:.

            Support

            Please consider supporting [Catel on Open Collective](https://opencollective.com/catel).
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Catel/Catel.git

          • CLI

            gh repo clone Catel/Catel

          • sshUrl

            git@github.com:Catel/Catel.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link