2 types derived from Canvas
PresentationFramework (2)
6 instantiations of Canvas
IdeBenchmarks (1)
Microsoft.VisualStudio.LanguageServices (1)
PresentationFramework (3)
PresentationUI (1)
92 references to Canvas
IdeBenchmarks (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (8)
Microsoft.VisualStudio.LanguageServices (4)
PresentationFramework (73)
System\Windows\Controls\Canvas.cs (14)
79/// <seealso cref="Canvas.LeftProperty" />
93/// <seealso cref="Canvas.LeftProperty" />
105/// <seealso cref="Canvas.TopProperty" />
119/// <seealso cref="Canvas.TopProperty" />
131/// <seealso cref="Canvas.RightProperty" />
145/// <seealso cref="Canvas.RightProperty" />
157/// <seealso cref="Canvas.BottomProperty" />
171/// <seealso cref="Canvas.BottomProperty" />
199Canvas p = VisualTreeHelper.GetParent(uie) as Canvas;
213= DependencyProperty.RegisterAttached("Left", typeof(double), typeof(Canvas),
224= DependencyProperty.RegisterAttached("Top", typeof(double), typeof(Canvas),
236= DependencyProperty.RegisterAttached("Right", typeof(double), typeof(Canvas),
247= DependencyProperty.RegisterAttached("Bottom", typeof(double), typeof(Canvas),
System\Windows\Controls\Slider.cs (8)
1024Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(Maximum - SelectionEnd, 0) * valueToSize);
1028Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1046Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1050Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(Maximum - SelectionEnd,0) * valueToSize);
1091Canvas.SetRight(rangeElement, (thumbSize.Width * 0.5));
1095Canvas.SetLeft(rangeElement, (thumbSize.Width * 0.5));
1114Canvas.SetTop(rangeElement, (thumbSize.Height * 0.5));
1118Canvas.SetBottom(rangeElement, (thumbSize.Height * 0.5));
PresentationUI (1)
System.Windows.Controls.Ribbon (4)