Visual Studio doesn't like noesis:Text.CharacterSpacing on Run elements
Posted: 13 Dec 2023, 11:10
An attempt to do this:
causes error in VS2022 designer:
Seems like an oversight in your NuGet package that defines these properties.
Is there any workaround?
Code: Select all
<Run noesis:Text.CharacterSpacing="100">Hello World!</Run>Everything works fine at runtime, but VS designer just shows "Invalid Markup" which is annoying.Error XLS0516 Property 'CharacterSpacing' is not attachable to elements of type 'Run'.
Error XDG0045 The attached property "CharacterSpacing" can only be applied to types that are derived from "UIElement".
Seems like an oversight in your NuGet package that defines these properties.
Is there any workaround?