TextBox Extensions for SurfaceDial not working for CommunityToolkit WinUI 3 for desktop
#4,573 创建于 2022年6月6日
仓库指标
- Star
- (5,708 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Discussed in https://github.com/CommunityToolkit/WindowsCommunityToolkit/discussions/4571
Originally posted by victorchinn June 4, 2022 I am getting a XAML parsing error Microsoft.UI.Xaml.Markup.XamlParseException: 'XAML parsing failed.' when using this code example in the XAML for TextBox: ui:TextBoxExtensions.SurfaceDialOptions <ui:SurfaceDialOptions StepValue="1" RotationResolutionInDegrees="12" EnableHapticFeedback="True" EnableMinMaxValue="True" MinValue="0" MaxValue="100" Icon="Ruler" EnableTapToNextControl="True" /> </ui:TextBoxExtensions.SurfaceDialOptions>
Is this not available for Win UI3 for .NET 6 desktop as the target or am I missing something ?
@azchohfi mentioned here:
OK, I've found this: https://github.com/microsoft/Windows-classic-samples/blob/27ffb0811ca761741502feaefdb591aebf592193/Samples/RadialController/cs/winforms/Form1.cs#L48-L51 @michael-hawker this means this is fixable.
So this should be a straight-forward fix for our WinUI branch.