3 writes to TargetType
PresentationFramework (3)
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6475
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Style)target).
TargetType
= (System.Type)value; };
System\Windows\Style.cs (2)
62
TargetType
= targetType;
74
TargetType
= targetType;
11 references to TargetType
PresentationFramework (11)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1470
if (style != null && !style.
TargetType
.IsAssignableFrom(typeof(GridViewColumnHeader)))
System\Windows\Controls\GroupItem.cs (2)
197
if (!style.
TargetType
.IsInstanceOfType(this))
198
throw new InvalidOperationException(SR.Format(SR.StyleForWrongType, style.
TargetType
.Name, this.GetType().Name));
System\Windows\Controls\ItemsControl.cs (2)
3516
if (!style.
TargetType
.IsInstanceOfType(container))
3517
throw new InvalidOperationException(SR.Format(SR.StyleForWrongType, style.
TargetType
.Name, container.GetType().Name));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6476
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Style)target).
TargetType
; };
System\Windows\Style.cs (5)
484
if(DefaultTargetType ==
TargetType
)
488
if(!
TargetType
.IsAssignableFrom(elementType))
491
this.
TargetType
.Name,
519
if(DefaultTargetType != _basedOn.
TargetType
&&
520
!_basedOn.
TargetType
.IsAssignableFrom(_targetType))