-
I have the following XAML defined for the PropertyInfo control: <csla:PropertyInfo x:Name="piField1" Source="{Binding Model}" Property="{Binding Model.Field1}"/> I then have the following Border element with its BorderThickness bound to the PropertyInfo's IsValid...
-
One solution is to use the Csla.Xaml.PropertyInfo control as a data source to get at the metastate and other data about a property. Then you can bind other UI elements to that PropertyInfo control, like a tooltip, or red Rectangle or whatever you'd like.
-
I assume by "writing native WinRT apps using CSLA" you mean C#/VB, XAML and CSLA, correct? Not just CSLA alone? I can think of a couple of reasons to continue to build upon these skills. Among them, it provides a relatively easy path into the WinRT development world using what you already know...
-
G'day, I'm having a senior moment with XAML and CSLA business rules displaying optionally required fields in WPF at the moment. Can someone please put me out of my misery? I have a simple business Rule like like the following, so if a user selected the report format should be PDF, there is a...
-
In the ProjectEdit user control in the new ProjectTracker example, the CollectionViewSource named "projectGetterViewSource" has no source defined for it. On page 102 of the e-book, it states that "the first resource will contain the root viewmodel for the view." Here is the xaml line...
-
This is the scenario: WPF-MVVM-CSLA 4.1 application The views trigger the view model methods via Csla.Xaml.InvokeMethod There is an AppDomain-level exception handler in App.xaml.cs for logging any random, app-killing exceptions for analysis and troubleshooting The problem is that InvokeMethod.CallMethod...
-
That's exactly what I do. Frequently I find that a CVS resource can index into properties of my "root" model object or viewmodel in ways that you can't do with a binding expression. And I don't mind that, because the CVS adds sorting and that sort of thing, so it is generally a...
-
Hi folks, Software: CSLA 4.1 – VS2010 After I have read the CSLA Expert C# 2008 Business Objects, watched CSLA 4 MVVM Video Series and practiced some CSLA with WinForm, I ‘m testing myself to create a small WPF demo in order to understand the basics (MVVM pattern) before starting the serious...
-
Hello, I've a Custom Rules that checks if the user entered a valid numerical value (Double.TryParse) I override the AddBusinessRules Method and added the rule like this: BusinessRules.AddRule(new Business.CustomRules.Numerical(PreislistePos.PreisNormalProperty)); It works fine, as long as the user...
-
I just spent many hours trying to figure out why data binding was working in a (CSLA) WPF app, but the same data binding failed (at runtime) in a (CSLA) Silverlight app. There is a subtle difference that I couldn't find documented anywhere that I will document here for other people to hopefully find...