1 write to SourceName
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7615
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.EventTrigger)target).
SourceName
= (System.String)value; };
8 references to SourceName
PresentationFramework (8)
src\Framework\System\Windows\EventTrigger.cs (1)
313
eventTrigger._source = FrameworkElement.FindNamedFrameworkElement( triggersHost, eventTrigger.
SourceName
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7616
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.EventTrigger)target).
SourceName
; };
src\Framework\System\Windows\Style.cs (3)
835
if( eventTrigger.
SourceName
!= null && eventTrigger.
SourceName
.Length > 0 )
837
throw new InvalidOperationException(SR.Get(SRID.EventTriggerOnStyleNotAllowedToHaveTarget, eventTrigger.
SourceName
));
src\Framework\System\Windows\StyleHelper.cs (3)
1088
if( eventTrigger.
SourceName
== null )
1094
int childIndex = StyleHelper.QueryChildIndexFromChildName(eventTrigger.
SourceName
, childIndexFromChildName);
1098
throw new InvalidOperationException(SR.Get(SRID.EventTriggerTargetNameUnresolvable, eventTrigger.
SourceName
));