3 writes to TargetType
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6433
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Style)target).
TargetType
= (System.Type)value; };
src\Framework\System\Windows\Style.cs (2)
62
TargetType
= targetType;
74
TargetType
= targetType;
11 references to TargetType
PresentationFramework (11)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1473
if (style != null && !style.
TargetType
.IsAssignableFrom(typeof(GridViewColumnHeader)))
src\Framework\System\Windows\Controls\GroupItem.cs (2)
199
if (!style.
TargetType
.IsInstanceOfType(this))
200
throw new InvalidOperationException(SR.Get(SRID.StyleForWrongType, style.
TargetType
.Name, this.GetType().Name));
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
3447
if (!style.
TargetType
.IsInstanceOfType(container))
3448
throw new InvalidOperationException(SR.Get(SRID.StyleForWrongType, style.
TargetType
.Name, container.GetType().Name));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6434
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Style)target).
TargetType
; };
src\Framework\System\Windows\Style.cs (5)
490
if(DefaultTargetType ==
TargetType
)
494
if(!
TargetType
.IsAssignableFrom(elementType))
497
this.
TargetType
.Name,
525
if(DefaultTargetType != _basedOn.
TargetType
&&
526
!_basedOn.
TargetType
.IsAssignableFrom(_targetType))