Silverlight 5 | WinRT |
public sealed enum DisplayOrientations | |
: IComparable, IFormattable, IConvertible | |
{ None, Landscape, Portrait, LandscapeFlipped, PortraitFlipped } |
public sealed class DisplayProperties | |
: __ComObject, IDisplayProperties | |
static public DisplayOrientations AutoRotationPreferences { get; set; } | |
static public DisplayOrientations CurrentOrientation { get; } | |
static public UInt32 LogicalDpi { get; } | |
static public DisplayOrientations NativeOrientation { get; } | |
static public ResolutionScale ResolutionScale { get; } | |
static public Boolean StereoEnabled { get; } | |
static public event DisplayPropertiesEventHandler ColorProfileChanged; | |
static public event DisplayPropertiesEventHandler LogicalDpiChanged; | |
static public event DisplayPropertiesEventHandler OrientationChanged; | |
static public event DisplayPropertiesEventHandler StereoEnabledChanged; | |
static public GetColorProfileOperation GetColorProfileAsync(); |
public sealed class DisplayPropertiesEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(Object sender); |
public sealed class GetColorProfileOperation | |
: __ComObject, IAsyncOperation`1<IRandomAccessStream>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IRandomAccessStream> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IRandomAccessStream GetResults(); | |
public virtual void Start(); |
public sealed enum ResolutionScale | |
: IComparable, IFormattable, IConvertible | |
{ Scale100Percent, Scale140Percent, Scale180Percent } |