5 references to GetDisplayDensity
Microsoft.Maui (5)
Handlers\Window\WindowHandler.iOS.cs (1)
123 request.SetResult(handler.PlatformView.GetDisplayDensity());
ImageSources\ImageSourceExtensions.cs (1)
52 var scale = mauiContext.GetOptionalPlatformWindow()?.GetDisplayDensity() ?? 1.0f;
Platform\ImageSourcePartLoader.cs (1)
75 var scale = handler.MauiContext?.GetOptionalPlatformWindow()?.GetDisplayDensity() ?? 1.0f;
Platform\iOS\ImageViewExtensions.cs (1)
55 float scale = imageView.Window?.GetDisplayDensity() ?? 1.0f;
Platform\iOS\ViewExtensions.cs (1)
941 view?.Window?.GetDisplayDensity() ?? 1.0f;