1 write to SourceName
PresentationFramework (1)
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7655
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.EventTrigger)target).
SourceName
= (System.String)value; };
8 references to SourceName
PresentationFramework (8)
System\Windows\EventTrigger.cs (1)
308
eventTrigger._source = FrameworkElement.FindNamedFrameworkElement( triggersHost, eventTrigger.
SourceName
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7656
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.EventTrigger)target).
SourceName
; };
System\Windows\Style.cs (3)
819
if( eventTrigger.
SourceName
!= null && eventTrigger.
SourceName
.Length > 0 )
821
throw new InvalidOperationException(SR.Format(SR.EventTriggerOnStyleNotAllowedToHaveTarget, eventTrigger.
SourceName
));
System\Windows\StyleHelper.cs (3)
1082
if( eventTrigger.
SourceName
== null )
1088
int childIndex = StyleHelper.QueryChildIndexFromChildName(eventTrigger.
SourceName
, childIndexFromChildName);
1092
throw new InvalidOperationException(SR.Format(SR.EventTriggerTargetNameUnresolvable, eventTrigger.
SourceName
));