File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
source/UIDataCodeGen/CodeGen Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,6 @@ Version winUIVersion
114114 /// </summary>
115115 public Version WinUIVersion { get ; set ; }
116116
117- public bool ImplementCreateAndDestroyMethods => WinUIVersion >= Version . Parse ( "2.7 " ) && WinUIVersion < Version . Parse ( "3.0" ) ;
117+ public bool ImplementCreateAndDestroyMethods => WinUIVersion >= Version . Parse ( "2.8 " ) && WinUIVersion < Version . Parse ( "3.0" ) ;
118118 }
119119}
Original file line number Diff line number Diff line change @@ -507,10 +507,8 @@ protected override void WriteAnimatedVisualStart(
507507 {
508508 builder . WriteLine ( $ "winrt::{ _animatedVisualTypeName2 } ,") ;
509509 }
510- else
511- {
512- builder . WriteLine ( $ "winrt::{ _animatedVisualTypeName } ,") ;
513- }
510+
511+ builder . WriteLine ( $ "winrt::{ _animatedVisualTypeName } ,") ;
514512
515513 builder . WriteLine ( $ "IClosable>") ;
516514 builder . UnIndent ( ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ interface IAnimatedVisualInfo
2626
2727 /// <summary>
2828 /// Do we need to implement CreateAnimations and DestroyAnimations method.
29- /// Available after WinUI 2.7 with new interface IAnimatedVisual2.
29+ /// Available after WinUI 2.8 with new interface IAnimatedVisual2.
3030 /// </summary>
3131 bool ImplementCreateAndDestroyMethods { get ; }
3232
You can’t perform that action at this time.
0 commit comments