56 references to Rotation
PresentationCore (56)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Generated\RotationValidation.cs (6)
35Rotation value = (Rotation) valueObject; 37return (value == Rotation.Rotate0) || 38(value == Rotation.Rotate90) || 39(value == Rotation.Rotate180) || 40(value == Rotation.Rotate270);
System\Windows\Media\Imaging\BitmapImage.cs (9)
161Rotation == Rotation.Rotate0 && 418Rotation != Rotation.Rotate0) 439if (Rotation != Rotation.Rotate0) 445case Rotation.Rotate0: 448case Rotation.Rotate90: 451case Rotation.Rotate180: 454case Rotation.Rotate270: 672_rotation = (Rotation)e.NewValue; 914private Rotation _rotation;
System\Windows\Media\Imaging\BitmapSizeOptions.cs (15)
77public Rotation Rotation 93sizeOptions._rotationAngle = Rotation.Rotate0; 111sizeOptions._rotationAngle = Rotation.Rotate0; 129sizeOptions._rotationAngle = Rotation.Rotate0; 150sizeOptions._rotationAngle = Rotation.Rotate0; 163public static BitmapSizeOptions FromRotation(Rotation rotation) 167case Rotation.Rotate0: 168case Rotation.Rotate90: 169case Rotation.Rotate180: 170case Rotation.Rotate270: 238case Rotation.Rotate0: 241case Rotation.Rotate90: 244case Rotation.Rotate180: 247case Rotation.Rotate270: 262private Rotation _rotationAngle;
System\Windows\Media\Imaging\Generated\BitmapImage.cs (6)
223public Rotation Rotation 227return (Rotation) GetValue(RotationProperty); 466internal const Rotation c_Rotation = Rotation.Rotate0; 541typeof(Rotation), 543Rotation.Rotate0,
System\Windows\Media\Imaging\InteropBitmapSource.cs (2)
375Debug.Assert(_sizeOptions.Rotation == Rotation.Rotate0); 398else if (_sizeOptions.Rotation != Rotation.Rotate0)
System\Windows\Media\Imaging\JpegBitmapEncoder.cs (9)
64public Rotation Rotation 70return Rotation.Rotate90; 74return Rotation.Rotate180; 78return Rotation.Rotate270; 82return Rotation.Rotate0; 94case(Rotation.Rotate0): 99case(Rotation.Rotate90): 103case(Rotation.Rotate180): 107case(Rotation.Rotate270):
System\Windows\Media\Imaging\WmpBitmapEncoder.cs (9)
81public Rotation Rotation 87return Rotation.Rotate90; 91return Rotation.Rotate180; 95return Rotation.Rotate270; 99return Rotation.Rotate0; 111case(Rotation.Rotate0): 116case(Rotation.Rotate90): 120case(Rotation.Rotate180): 124case(Rotation.Rotate270):