2 types derived from Canvas
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
38
internal class HighlightComponent :
Canvas
, IAnnotationComponent, IHighlightRange
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
47
internal sealed class MarkedHighlightComponent :
Canvas
, IAnnotationComponent
3 instantiations of Canvas
PresentationFramework (3)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
578
Canvas canvas = new
Canvas
();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2439
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Canvas
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1160
case KnownElements.Canvas: o = new System.Windows.Controls.
Canvas
(); break;
76 references to Canvas
PresentationFramework (70)
src\Framework\System\Windows\Controls\Canvas.cs (14)
85
/// <seealso cref="
Canvas
.LeftProperty" />
99
/// <seealso cref="
Canvas
.LeftProperty" />
111
/// <seealso cref="
Canvas
.TopProperty" />
125
/// <seealso cref="
Canvas
.TopProperty" />
137
/// <seealso cref="
Canvas
.RightProperty" />
151
/// <seealso cref="
Canvas
.RightProperty" />
163
/// <seealso cref="
Canvas
.BottomProperty" />
177
/// <seealso cref="
Canvas
.BottomProperty" />
205
Canvas
p = VisualTreeHelper.GetParent(uie) as
Canvas
;
219
= DependencyProperty.RegisterAttached("Left", typeof(double), typeof(
Canvas
),
230
= DependencyProperty.RegisterAttached("Top", typeof(double), typeof(
Canvas
),
242
= DependencyProperty.RegisterAttached("Right", typeof(double), typeof(
Canvas
),
253
= DependencyProperty.RegisterAttached("Bottom", typeof(double), typeof(
Canvas
),
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
19
[TemplatePart(Name = "PART_VisualBrushCanvas", Type = typeof(
Canvas
))]
104
_visualBrushCanvas = GetTemplateChild(VisualBrushCanvasTemplateName) as
Canvas
;
197
private
Canvas
_visualBrushCanvas;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (3)
51
[TemplatePart(Name = "PART_FloatingHeaderCanvas", Type = typeof(
Canvas
))]
107
_floatingHeaderCanvas = GetTemplateChild(FloatingHeaderCanvasTemplateName) as
Canvas
;
1043
private
Canvas
_floatingHeaderCanvas;
src\Framework\System\Windows\Controls\Slider.cs (4)
1029
Canvas
.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(Maximum - SelectionEnd, 0) * valueToSize);
1033
Canvas
.SetLeft(rangeElement, (thumbSize.Width * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1051
Canvas
.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(SelectionStart - Minimum, 0) * valueToSize);
1055
Canvas
.SetTop(rangeElement, (thumbSize.Height * 0.5) + Math.Max(Maximum - SelectionEnd,0) * valueToSize);
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (1)
253
if (fen.uiElement is
Canvas
)
src\Framework\System\Windows\Documents\FixedPage.cs (13)
227
/// <seealso cref="
Canvas
.LeftProperty" />
242
/// <seealso cref="
Canvas
.LeftProperty" />
255
/// <seealso cref="
Canvas
.TopProperty" />
270
/// <seealso cref="
Canvas
.TopProperty" />
283
/// <seealso cref="
Canvas
.RightProperty" />
298
/// <seealso cref="
Canvas
.RightProperty" />
311
/// <seealso cref="
Canvas
.BottomProperty" />
326
/// <seealso cref="
Canvas
.BottomProperty" />
926
if (element is
Canvas
)
930
Debug.Assert(currentLevelIndex >= 0 && currentLevelIndex <= ((
Canvas
)element).Children.Count);
931
element = ((
Canvas
)element).Children[currentLevelIndex];
1054
else if (parent is
Canvas
)
1056
childIndex = ((
Canvas
)parent).Children.IndexOf((UIElement)e);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (6)
997
else if (elements.Current is
Canvas
)
1004
Canvas
canvas = elements.Current as
Canvas
;
1430
Debug.Assert(elem is FixedPage || elem is
Canvas
);
1435
Canvas
canvas = child as
Canvas
;
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
949
if (fe != null && ((fe is Path) || (fe is
Canvas
) || (fe is Glyphs) || (fe is FixedPage)))
src\Framework\System\Windows\Input\KeyboardNavigation.cs (5)
578
Canvas
canvas = new Canvas();
653
Canvas
.SetLeft(control, rect.X);
654
Canvas
.SetTop(control, rect.Y);
671
Canvas
.SetLeft(control, rect.X);
672
Canvas
.SetTop(control, rect.Y);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
158
case 66: t = () => typeof(
Canvas
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (15)
4207
Type type = typeof(System.Windows.Controls.
Canvas
);
4209
this.GetXamlType(typeof(System.Windows.Controls.
Canvas
)), // DeclaringType
4215
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
Canvas
)target).Children; };
8281
Type type = typeof(System.Windows.Controls.
Canvas
);
8282
DependencyProperty dp = System.Windows.Controls.
Canvas
.TopProperty;
8284
this.GetXamlType(typeof(System.Windows.Controls.
Canvas
)), // DeclaringType
8298
Type type = typeof(System.Windows.Controls.
Canvas
);
8299
DependencyProperty dp = System.Windows.Controls.
Canvas
.LeftProperty;
8301
this.GetXamlType(typeof(System.Windows.Controls.
Canvas
)), // DeclaringType
8315
Type type = typeof(System.Windows.Controls.
Canvas
);
8316
DependencyProperty dp = System.Windows.Controls.
Canvas
.BottomProperty;
8318
this.GetXamlType(typeof(System.Windows.Controls.
Canvas
)), // DeclaringType
8332
Type type = typeof(System.Windows.Controls.
Canvas
);
8333
DependencyProperty dp = System.Windows.Controls.
Canvas
.RightProperty;
8335
this.GetXamlType(typeof(System.Windows.Controls.
Canvas
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2437
typeof(System.Windows.Controls.
Canvas
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5610
case KnownElements.Canvas: t = typeof(System.Windows.Controls.
Canvas
); break;
src\Framework\System\Windows\Window.cs (2)
991
Canvas
.TopProperty.AddOwner(typeof(Window),
1042
Canvas
.LeftProperty.AddOwner(typeof(Window),
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (6)
116
get { return
Canvas
.GetLeft(this.lookupWindowRectangle); }
124
Canvas
.SetLeft(this.lookupWindowRectangle, left);
130
get { return
Canvas
.GetTop(this.lookupWindowRectangle); }
138
Canvas
.SetTop(this.lookupWindowRectangle, top);
241
Canvas
lookupCanvas;
246
public MiniMapViewController(
Canvas
lookupCanvas, Rectangle lookupWindowRectangle, Grid contentGrid)