2 types derived from Canvas
PresentationFramework (2)
6 instantiations of Canvas
IdeBenchmarks (1)
Microsoft.VisualStudio.LanguageServices (1)
PresentationFramework (3)
PresentationUI (1)
90 references to Canvas
IdeBenchmarks (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
Microsoft.VisualStudio.LanguageServices (4)
PresentationFramework (73)
System\Windows\Controls\Canvas.cs (14)
69/// <seealso cref="Canvas.LeftProperty" />
83/// <seealso cref="Canvas.LeftProperty" />
95/// <seealso cref="Canvas.TopProperty" />
109/// <seealso cref="Canvas.TopProperty" />
121/// <seealso cref="Canvas.RightProperty" />
135/// <seealso cref="Canvas.RightProperty" />
147/// <seealso cref="Canvas.BottomProperty" />
161/// <seealso cref="Canvas.BottomProperty" />
189Canvas p = VisualTreeHelper.GetParent(uie) as Canvas;
202= DependencyProperty.RegisterAttached("Left", typeof(double), typeof(Canvas),
213= DependencyProperty.RegisterAttached("Top", typeof(double), typeof(Canvas),
225= DependencyProperty.RegisterAttached("Right", typeof(double), typeof(Canvas),
236= DependencyProperty.RegisterAttached("Bottom", typeof(double), typeof(Canvas),
System\Windows\Controls\Slider.cs (8)
996Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(Maximum - SelectionEnd, 0) * valueToSize);
1000Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1018Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1022Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(Maximum - SelectionEnd,0) * valueToSize);
1063Canvas.SetRight(rangeElement, (thumbSize.Width * 0.5));
1067Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5));
1086Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5));
1090Canvas.SetBottom(rangeElement, (thumbSize.Height * 0.5));
PresentationUI (1)
System.Windows.Controls.Ribbon (4)