Search found 73 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
by samc
Today, 00:38
Forum: General Discussion
Replies: 1
Views: 4

Re: localization change from data trigger

Wanted to note we also tried this with a storyboard kind of like this, which also didn't seem to work: <StringAnimationUsingKeyFrames Storyboard.TargetName="Status" Storyboard.TargetProperty="(TextBlock.Text)"> <DiscreteStringKeyFrame KeyTime="00:00:00" Value="{noe...
by samc
Today, 00:32
Forum: General Discussion
Replies: 1
Views: 4

localization change from data trigger

Hi there, We're doing something maybe not very standard. We had a generic "OK" dialog that we use to display error messages. This dialog can display any number of error messages, and in some cases it changes options (instead of just "OK" it might have "retry" or "c...
by samc
27 Feb 2024, 02:54
Forum: General Discussion
Replies: 2
Views: 67

Re: Exception in LocExtension when being used by blend designer

I'm also sometimes seeing an error on line 45:
		DependencyObject dependencyObject = (DependencyObject)provideValueTarget.TargetObject;
the exception being:
System.InvalidCastException: 'Unable to cast object of type 'System.Windows.SharedDp' to type 'System.Windows.DependencyObject'.'
by samc
26 Feb 2024, 23:48
Forum: General Discussion
Replies: 2
Views: 67

Exception in LocExtension when being used by blend designer

I've been tracking down an issue in the blend designer where an exception is being thrown when rendering one of my views. I have a user control that looks like this: public partial class VoiceViewSession : UserControl { public VoiceViewSession() { InitializeComponent(); } private static readonly Dep...
by samc
16 Nov 2023, 19:06
Forum: General Discussion
Replies: 1
Views: 2010

Localization and ChangePropertyAction

I'm trying to change the text of a target using a ChangeProeprtyAction like this: <b:ChangePropertyAction TargetName="Status" PropertyName="Text" Value="{noesis:Loc Text.FrontEnd.AddFriend.Label.InvalidFormat}"/> However, this seems to always make the text into an empty...
by samc
04 Oct 2023, 20:08
Forum: General Discussion
Replies: 3
Views: 734

Re: Errors after upgrading project to vs2022

Adding an image here that shows the error I mentioned above.
image (48).png
thanks,
sam
by samc
04 Oct 2023, 20:07
Forum: General Discussion
Replies: 3
Views: 734

Re: Errors after upgrading project to vs2022

I decided to try this using the ApplicationTutorial code from this repo: https://github.com/Noesis/Tutorials I had to upgrade to 4.8 to be able to open in Blend vs2022, and then I added a style to the App.xaml and then I get this error (very similar to what I'm seeing in my own project). I changed t...
by samc
03 Oct 2023, 19:12
Forum: General Discussion
Replies: 3
Views: 730

Re: localization inside a resource dictionary

The other case where we're using it is in data templates. Here's a snipped example from our project: <DataTemplate x:Key="NetworkGroupEntryTemplate"> <Grid x:Name="Root"> <StackPanel Orientation="Horizontal"> <TextBlock Text="{noesis:Loc Members}" Style="...
by samc
03 Oct 2023, 06:43
Forum: General Discussion
Replies: 3
Views: 734

Errors after upgrading project to vs2022

Hi, I was trying to upgrade our blend project from visual studio 2019 to visual studio 2022. We had to make a single change to the project to get it to load: we changed: <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> to: <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> Now that it loads,...
by samc
02 Oct 2023, 19:04
Forum: General Discussion
Replies: 3
Views: 730

localization inside a resource dictionary

Hi, We've been using the localization extension: https://www.noesisengine.com/docs/App.ApplicationLauncher._LocExtension.html And so far it's been working well for us. We did have one question - we haves several resource dictionaries declared in xaml (not user controls) that contain styling informat...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8