@@ -14,6 +14,7 @@ namespace CommunityToolkit.WinUI.Controls;
14
14
/// Control that implements support for transformations as if applied by LayoutTransform.
15
15
/// </summary>
16
16
[ ContentProperty ( Name = "Child" ) ]
17
+
17
18
public partial class LayoutTransformControl : Control
18
19
{
19
20
/// <summary>
@@ -29,9 +30,7 @@ public partial class LayoutTransformControl : Control
29
30
/// <summary>
30
31
/// List of property change event sources for events when properties of the Transform tree change
31
32
/// </summary>
32
- private readonly Dictionary < Transform , List < PropertyChangeEventSource < double > > >
33
- _transformPropertyChangeEventSources = new Dictionary
34
- < Transform , List < PropertyChangeEventSource < double > > > ( ) ;
33
+ private readonly Dictionary < Transform , List < PropertyChangeEventSource < double > > > _transformPropertyChangeEventSources = new ( ) ;
35
34
36
35
/// <summary>
37
36
/// Host panel for Child element.
@@ -58,6 +57,7 @@ private readonly Dictionary<Transform, List<PropertyChangeEventSource<double>>>
58
57
/// </summary>
59
58
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
60
59
#pragma warning disable CS8619 //
60
+ #pragma warning disable CS1061 //
61
61
public LayoutTransformControl ( )
62
62
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
63
63
{
@@ -461,4 +461,5 @@ private Size ComputeLargestTransformedSize(Size arrangeBounds)
461
461
return computedSize ;
462
462
}
463
463
#pragma warning restore CS8619
464
+ #pragma warning restore CS1061
464
465
}
0 commit comments