Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 07:10

    GeertvanHorrik on develop

    Remove PackageIconUrl Merge branch 'develop' of https… (compare)

  • Oct 15 07:17

    dependabot-preview[bot] on nuget

    (compare)

  • Oct 15 07:17

    dependabot-preview[bot] on develop

    Bump Fody from 6.2.6 to 6.3.0 … Merge pull request #1682 from C… (compare)

  • Oct 15 07:17
    dependabot-preview[bot] closed #1682
  • Oct 15 07:16
    dependabot-preview[bot] labeled #1682
  • Oct 15 07:16
    dependabot-preview[bot] opened #1682
  • Oct 15 07:16

    dependabot-preview[bot] on nuget

    Bump Fody from 6.2.6 to 6.3.0 … (compare)

  • Oct 14 10:30

    delete-merged-branch[bot] on nuget

    (compare)

  • Oct 14 10:30

    GeertvanHorrik on develop

    Bump Moq from 4.14.6 to 4.14.7 … Merge pull request #1679 from C… (compare)

  • Oct 14 10:30
    GeertvanHorrik closed #1679
  • Oct 14 09:06
    dependabot-preview[bot] synchronize #1679
  • Oct 14 09:06

    dependabot-preview[bot] on nuget

    Bump Moq from 4.14.6 to 4.14.7 … (compare)

  • Oct 14 09:06
    dependabot-preview[bot] edited #1679
  • Oct 14 09:05
    dependabot-preview[bot] edited #1679
  • Oct 14 09:05

    delete-merged-branch[bot] on nuget

    (compare)

  • Oct 14 09:05

    GeertvanHorrik on develop

    Bump WpfAnalyzers from 3.1.1 to… Merge branch 'develop' into dep… Merge pull request #1680 from C… (compare)

  • Oct 14 09:04
    GeertvanHorrik closed #1680
  • Oct 14 09:03
    dependabot-preview[bot] synchronize #1679
  • Oct 14 09:03

    dependabot-preview[bot] on nuget

    Bump Moq from 4.14.6 to 4.14.7 … (compare)

  • Oct 14 09:03
    dependabot-preview[bot] edited #1679
Adam Araminowicz
@aaraminowicz_gitlab
@GeertvanHorrik Thanks, however I had newest version of Microsoft.Xaml.Behaviors.Wpf (1.1.19, as required by Catel.MVVM 5.12.7). I downgraded Behaviors lib to version 1.1.3, which downgraded Catel.MVVM to version 5.12.5, and now everything works.
Geert van Horrik
@GeertvanHorrik
@aaraminowicz_gitlab please note that we made the change in 5.12.6 or 5.12.7, so if you use that version, you will need to use a different xaml namespace for your behaviors
@tm1k from what version to what version? We haven't had any issues with this so far
tm1k
@tm1k
5.11.2 to 5.12.7
Geert van Horrik
@GeertvanHorrik
yeah, that's a large update :)
tm1k
@tm1k
I am currently checking dependencies in NuGet
Geert van Horrik
@GeertvanHorrik
we would need a repro because it's too hard to figure out an issue just by symptoms
Geert van Horrik
@GeertvanHorrik
btw this could (should?!) be of interest to anyone using Catel: https://geertvanhorrik.com/2020/07/15/wpf-using-net-core-and-orc-theming/
tm1k
@tm1k
I now ported the whole project to a new one using Net4.7.2 updated all packages, rechecked dependencies, still the same error...
Geert van Horrik
@GeertvanHorrik
please create a repro so we can test
Adam Araminowicz
@aaraminowicz_gitlab
@GeertvanHorrik You were right. I removed Expression.Blend.Sdk.WPF packed and changed all Interaction namespaces to "http://schemas.microsoft.com/xaml/behaviors" and everything is back to normal. Thanks for help.
tm1k
@tm1k
Found it! For some reason SeletedItem was set to "TwoWay" mode which seemed to work in the past. I removed it, now it works as before
Geert van Horrik
@GeertvanHorrik
Glad it's fixed :)
tm1k
@tm1k
In the Wizard NavigationStrategy gives the page index of previous and next pages, but is it possible to overwrite them in order to skip some pages when going backwards in the wizard?
Geert van Horrik
@GeertvanHorrik
I think that was the point of the navigation strategy. Btw you can navigate to any page manually whenever you like. We use this to implement hyperlinks in the summary page to quickly go to a specific page to customize data
tm1k
@tm1k
This seems to solve my problem. I'll have a look
ssc19940105
@ssc19940105
Help me!How to deserialize XML files into ViewModel?
tm1k
@tm1k
Doesn't xmlSerializer.Deserialize work?
Geert van Horrik
@GeertvanHorrik
you can use any serialization method, it's irrelevant from the vm?
ssc19940105
@ssc19940105

MyObject myObject = null;

using (var fileStream = File.Open(@"C:\myobject.dob", FileMode.Open))
{
myObject = ModelBase.Load<MyObject>(fileStream, SerializationMode.Xml);
}

CS0117 C# ModelBase does not contain a definition for 'Load'
Geert van Horrik
@GeertvanHorrik
yeah, this seems to come from a very old example
please use IXmlSerializer (or whatever you use) to read from a (file)stream
Or use SavableModelBase
ssc19940105
@ssc19940105
Thanks
venom_aa
@venomAA
tried the new templates for creating a new catel app from the online repository
question..must i use the 4.6.2 framework always..or how can i change the target framework?
Geert van Horrik
@GeertvanHorrik
we only use netcoreapp3.1 nowadays
you can change it at the top of the csproj
venom_aa
@venomAA
but older versions can use the standard framework right?
still Geert, something is kind of wrong i think, cause i have the 7.0 framework and it was still showing errors on the version cause it was waiting for the 6.2. From what i can remember 7.0 is compatible with the 6.2 version right?
Geert van Horrik
@GeertvanHorrik
all versions can target 4.6.2, but you can target anything you want
not sure what you mean with 7.0 and 6.2, both are not related to Catel?
venom_aa
@venomAA
i mean NET 4.6.2 and 4.7.0. I changed the target framework to 4.6.1 and eliminated the core 3.0 from it to, it no longer showed errors on the dependencies. Still had an error on the main point of entry for the program when i compiled but im sure thats non related to the .NET framework version.
When i tried moving to 4.7.0, it kept showing dependencies problems, and im sure this laptop has the 4.7.0 .Net Framework. Also have the doubt about it not running when targeting to .Net 4.6.2. cause should not it run under machine with .Net 4.7.0 since 4.7.0 allows apps targeting 4.6.2 to run on it?
Geert van Horrik
@GeertvanHorrik
it's always compatible with lower versions
venom_aa
@venomAA
yup, even found the old project template files and they still work. Only had to modify some lines for it to run
tm1k
@tm1k
Again a question concerning the wizard: say, I have a wizard procedure which needs to performed several times (user decides how many repetitions will be shown). Can I do this dynamically? Does the wizard initialization require the "addPage" method for every page or can I add more pages inside other pages?
Geert van Horrik
@GeertvanHorrik
We build up wizards dynamically all the time.
What we even though sometimes is show subwizards
(so a wizard launches another wizard on top, and you can repeat that process as often as you'd like)
tm1k
@tm1k
hm, I don't have a real idea how to let the wizard launch another one, but I'll try to do it dynamically. Previously, I did this by an addPage-block in the wizard's main file
Geert van Horrik
@GeertvanHorrik
You can launch a wizard from any VM, including a wizard page VM.
tm1k
@tm1k
Hm, do I need to do anything to update the wizard view after I dynamically added new pages? It still consists of the first page, no "Next" button showing up...
tm1k
@tm1k
When I add some pages before, the next button is displayed and I can navigate through the dynamically added pages, but the numbers in the top of the wizard do not change
Geert van Horrik
@GeertvanHorrik
I will need more than text to think of a good solution. You cannot dynamically add pages once the wizard is instantiated. I don't believe the wizard component actively updates the breadcrumb, etc.
tm1k
@tm1k
I solved it like this: I add the absolutely necessary pages in the Wizard initialization and add the two pages per cycle which are entered by the user. This works, I am satisfied with this solution by now
tm1k
@tm1k
One more question: Is there a callback that I can use when Next and Previous are pressed?
Geert van Horrik
@GeertvanHorrik
@tm1k could you send me an email at firstname @ catenalogic.com? Would like to ask you a few questions.