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