2 instantiations of DualScreenInfo
Microsoft.Maui.Controls.Foldable (2)
DualScreenInfo.cs (1)
206 DualScreenInfo dualScreenInfo = new DualScreenInfo(null);
SpanModeStateTrigger.cs (1)
53 _info = new DualScreenInfo(_visualElement);
10 references to DualScreenInfo
Microsoft.Maui.Controls.Foldable (10)
DualScreenInfo.cs (6)
17 /// Event args for <see cref="Microsoft.Maui.Foldable.DualScreenInfo"/>'s 54 static Lazy<DualScreenInfo> _dualScreenInfo { get; } = new Lazy<DualScreenInfo>(OnCreate); 60 public static DualScreenInfo Current => _dualScreenInfo.Value; 204 static DualScreenInfo OnCreate() 206 DualScreenInfo dualScreenInfo = new DualScreenInfo(null);
SpanModeStateTrigger.cs (1)
15 DualScreenInfo _info;
WindowSpanModeStateTrigger.cs (3)
45 DualScreenInfo.Current.PropertyChanged += OnDualScreenInfoPropertyChanged; 53 DualScreenInfo.Current.PropertyChanged -= OnDualScreenInfoPropertyChanged; 63 var spanMode = DualScreenInfo.Current.SpanMode;