1 instantiation of Stretch
PresentationFramework (1)
100 references to Stretch
PresentationCore (16)
PresentationFramework (65)
System\Windows\Shapes\Shape.cs (16)
44typeof(Stretch), // Property type
46new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange));
51public Stretch Stretch
53get { return (Stretch)GetValue(StretchProperty); }
357Stretch mode = Stretch;
359if (mode == Stretch.None)
385Stretch mode = Stretch;
387if (mode == Stretch.None)
538internal Size GetStretchedRenderSize(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds)
549internal Size GetStretchedRenderSizeAndSetStretchMatrix(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds)
574internal void GetStretchMetrics(Stretch mode, double strokeThickness, Size availableSize, Rect geometryBounds,
628Debug.Assert(mode != Stretch.None);
633if (mode != Stretch.Fill && !hasThinDimension)
635if (mode == Stretch.Uniform)
650Debug.Assert(mode == Stretch.UniformToFill);
735if (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)