1 instantiation of Stretch
PresentationFramework (1)
100 references to Stretch
PresentationCore (16)
PresentationFramework (65)
System\Windows\Shapes\Shape.cs (16)
50typeof(Stretch), // Property type
52new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange));
57public Stretch Stretch
59get { return (Stretch)GetValue(StretchProperty); }
363Stretch mode = Stretch;
365if (mode == Stretch.None)
391Stretch mode = Stretch;
393if (mode == Stretch.None)
542internal Size GetStretchedRenderSize(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds)
553internal Size GetStretchedRenderSizeAndSetStretchMatrix(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds)
578internal void GetStretchMetrics(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds,
632Debug.Assert(mode != Stretch.None);
637if (mode != Stretch.Fill && !hasThinDimension)
639if (mode == Stretch.Uniform)
654Debug.Assert(mode == Stretch.UniformToFill);
739if (Stretch != Stretch.None)
PresentationFramework.Aero (1)
PresentationFramework.Aero2 (1)
PresentationFramework.AeroLite (1)
PresentationFramework.Classic (1)
PresentationFramework.Luna (1)
PresentationFramework.Royale (1)
ReachFramework (12)
System.Windows.Controls.Ribbon (1)