10 instantiations of RelativeSource
PresentationFramework (9)
System\Windows\Controls\Primitives\ScrollBar.cs (1)
897
RelativeSource = new
RelativeSource
(RelativeSourceMode.FindAncestor, typeof(ContextMenu), 1)
System\Windows\Data\RelativeSource.cs (3)
103
s_previousData = new
RelativeSource
(RelativeSourceMode.PreviousData);
117
s_templatedParent = new
RelativeSource
(RelativeSourceMode.TemplatedParent);
131
s_self = new
RelativeSource
(RelativeSourceMode.Self);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (3)
9165
DefaultConstructor = delegate () { return new System.Windows.Data.
RelativeSource
(); }
9171
return new System.Windows.Data.
RelativeSource
(
9178
return new System.Windows.Data.
RelativeSource
(
System\Windows\Markup\BamlRecordReader.cs (1)
1509
instance = new System.Windows.Data.
RelativeSource
((System.Windows.Data.RelativeSourceMode)paramArray[0]);
System\Windows\Markup\KnownTypes.cs (1)
1492
case KnownElements.RelativeSource: o = new System.Windows.Data.
RelativeSource
(); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
367
Binding commandParameterBinding = new Binding("DataContext") { RelativeSource = new
RelativeSource
(RelativeSourceMode.Self) };
30 references to RelativeSource
PresentationFramework (30)
MS\Internal\Data\ObjectRef.cs (2)
313
internal RelativeObjectRef(
RelativeSource
relativeSource)
612
RelativeSource
_relativeSource;
System\Windows\Controls\Primitives\TickBar.cs (1)
666
RelativeSource =
RelativeSource
.TemplatedParent,
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
332
RelativeSource =
RelativeSource
.TemplatedParent,
System\Windows\Controls\Primitives\Track.cs (1)
688
RelativeSource =
RelativeSource
.TemplatedParent,
System\Windows\Controls\ScrollViewer.cs (3)
1335
RelativeSource =
RelativeSource
.TemplatedParent,
2687
RelativeSource =
RelativeSource
.TemplatedParent
2692
RelativeSource =
RelativeSource
.TemplatedParent
System\Windows\Controls\StickyNote.cs (3)
1634
RelativeSource =
RelativeSource
.TemplatedParent,
1648
RelativeSource =
RelativeSource
.TemplatedParent,
1662
RelativeSource =
RelativeSource
.TemplatedParent,
System\Windows\Data\Binding.cs (2)
538
public
RelativeSource
RelativeSource
540
get { return (
RelativeSource
)GetValue(Feature.RelativeSource, null); }
System\Windows\Data\RelativeSource.cs (7)
44
[MarkupExtensionReturnType(typeof(
RelativeSource
))]
97
public static
RelativeSource
PreviousData
111
public static
RelativeSource
TemplatedParent
125
public static
RelativeSource
Self
301
private static
RelativeSource
s_previousData;
302
private static
RelativeSource
s_templatedParent;
303
private static
RelativeSource
s_self;
System\Windows\FrameworkTemplate.cs (1)
822
RelativeSource =
RelativeSource
.TemplatedParent,
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
610
case 516: t = () => typeof(
RelativeSource
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
7126
typeof(System.Windows.Data.
RelativeSource
), // type
7131
SetDelegate = delegate (object target, object value) { ((System.Windows.Data.Binding)target).RelativeSource = (System.Windows.Data.
RelativeSource
)value; },
7301
Type type = typeof(System.Windows.Data.
RelativeSource
);
7303
this.GetXamlType(typeof(System.Windows.Data.
RelativeSource
)), // DeclaringType
7312
SetDelegate = delegate (object target, object value) { ((System.Windows.Data.
RelativeSource
)target).AncestorType = (System.Type)value; },
7313
GetDelegate = delegate (object target) { return ((System.Windows.Data.
RelativeSource
)target).AncestorType; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9162
typeof(System.Windows.Data.
RelativeSource
),
System\Windows\Markup\KnownTypes.cs (1)
6064
case KnownElements.RelativeSource: t = typeof(System.Windows.Data.
RelativeSource
); break;