Files
maui-linux/Services/ScaleChangedEventArgs.cs

21 lines
520 B
C#
Raw Normal View History

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Maui.Platform.Linux.Services;
public class ScaleChangedEventArgs : EventArgs
{
public float OldScale { get; }
public float NewScale { get; }
public float NewDpi { get; }
public ScaleChangedEventArgs(float oldScale, float newScale, float newDpi)
{
OldScale = oldScale;
NewScale = newScale;
NewDpi = newDpi;
}
}