using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Tango.FSE.Common.Resolution { /// /// Represents an application resolution (main window size) provider. /// public interface IResolutionService { /// /// Occurs when predefined resolution mode has changed. /// event EventHandler ResolutionModeChanged; /// /// Occurs when the resolution/window size has changed. /// event EventHandler ResolutionChanged; /// /// Gets the current resolution mode. /// ResolutionMode Resolution { get; } /// /// Gets a value indicating whether the current resolution mode is low. /// bool IsLowResolution { get; } /// /// Gets a value indicating whether the current resolution mode is high. /// bool IsHighResolution { get; } /// /// Gets the resolution width. /// double ResolutionWidth { get; } /// /// Gets the resolution height. /// double ResolutionHeight { get; } /// /// Gets or sets a value indicating whether the application is currently scaling it self using a transform. /// bool AdaptiveScalingMode { get; set; } } }