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
0
votes
1 answer

How do I implement a granular IsDirty for each field in Catel?

Catel's ModelBase supports an IsDirty property that changes if any property has changed. Is there a mechanism to check for each property changing? ModelBase implements something like this internally for the IEditableObject implementation using…
JJS
  • 6,431
  • 1
  • 54
  • 70
0
votes
2 answers

Catel Auto Register Attributes with multiple instances

we are developing a GUI Plug-In Framework using Catel.MVVM. Single Plugins should be loaded dynamically using the "ServiceLocatorRegistration" Attribute. Example: [ServiceLocatorRegistration(typeof(IInitializable),…
chrisih
  • 53
  • 5
0
votes
1 answer

Catel OnNavigationCompleted

I noticed that the OnNavigationCompleted event in the Catel's ViewModel overriden method did not fire for the first page. Is this by design? Is there any way I could execute codes after the page has been loaded, not in the ViewModel's constructor…
DeuS
  • 17
  • 5
0
votes
2 answers

Catel and DevExpress DockLayoutManager don't work together

I use Catel and DevExpress DockLayoutManager in my application. I wanted to use this code to automatically create a View Model: http://gyazo.com/147dff382d16e08cee0270ac20c6b330 http://gyazo.com/24a4ec62e90d49b4e08e3ba1d1790b59 but I can not run the…
0
votes
1 answer

Is it possible to customize DataWindow's buttons?

Given the DataWindow view with DataWindowMode.OkCancelApply, is there a way in Catel to customize styles of Ok, Cancel, Apply buttons? At least I need to define automation IDs for the buttons. I was trying getting "_ButtonsWrapPanel" in…
IUnknown
  • 335
  • 1
  • 11
0
votes
1 answer

Disable/Enable DataWindow buttons

Having a view inherited from Catel's DataWindow base class with DataWindowMode.OkCancelApply. Now I am trying to disable OK/Apply (or even only Apply) buttons and enable them when some model's property has been modified. After investigation, I found…
IUnknown
  • 335
  • 1
  • 11
0
votes
1 answer

Send modified values from DataWindow to WCF

In our WPF application we have Options dialog. Currently by changing each settings there the client sends data to the WCF service. Options dialog is inherited from DataWindow and got 3 buttons: OK, Cancel and Apply. Now I am looking for a better…
IUnknown
  • 335
  • 1
  • 11
0
votes
1 answer

Apply button in Catel's DataWindow

I am reimplementing options dialog in order to support cancellation of changes. I am trying to use Catel's DataWindow with IMementoService for that. Noticed that DataWindow already has OK and Cancel buttons but not Apply. Just wonder whether I…
IUnknown
  • 335
  • 1
  • 11
0
votes
1 answer

C# Catel Framework & Entity Framework & Unity of Work

i want use the Entity Framework with Catel to use the UoW pattern in my code. I have reade this article: http://www.geertvanhorrik.com/category/catel/page/2/ I create a new Project with the name "Database". In this project i implement my…
0
votes
2 answers

catel project templates (VS2012 express)

I would like to give a try with Catel. I saw those fine project templates in the docu but can't install them (Extension Manager doesn't find anything searching for catel). I have downloaded the 3.7 setup here and installed it but i do not have any…
Kruno
  • 3
  • 4
0
votes
1 answer

SplashScreenService doesn't work as I want

I am trying to get the SplashScreenService up and running. It does show my splashscreen, but it doesn't close, never. I have this code in app.xaml.cs: protected override void OnStartup(StartupEventArgs…
0
votes
2 answers

Catel SavableModelBase and inheritence

I am using SavableModelBase in order to save/load configuration files to/from XML. I have a case now that I have common properties that I want to refactor to a base class. Something like: class CommonConfig: SavableModelBase { ///…
Tomer Cagan
  • 1,078
  • 17
  • 31
0
votes
2 answers

Replacing IOC container in Catel

I am trying to replace the built in IOC container in Catel with SimpleInjector. From their prism example (i am using catel+prism) the bootstrapper claims to be configuring Unity in the following fragment: /// /// Configures the
Bitfiddler
  • 3,942
  • 7
  • 36
  • 51
0
votes
1 answer

MVVM, DataObjects in Catel "best practies"

I'm using Catel in my application. I have any questions regarding DataObjects and ViewModels - what is the best way to use Catel efficientlu? Scenario 1: I have a MainViewModel and a MainView. In this View I call another View (DataWindow) with a own…
0
votes
1 answer

Catel (mvvm) and WCF

Is anyone successfully using Catel's Catel.Data.SavableModelBase and WCF? As soon as I inherit from this class, my attributes all come across null when retrieving the SavableModelBase object through WCF. Do I need to do anything special?