![]()  | 
 
Markup Trigger affecting other objects | 
 
    Post Reply  
   | 
  
| Author | |
   
   Andrew666  
   
   Groupie  
   Joined: 15 October 2008 Status: Offline Points: 27  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Markup Trigger affecting other objectsPosted: 04 March 2011 at 1:36pm  | 
 
| 
   
    
   I'd like to have an 'IsMouseOver' trigger set properties in child objects of the target for the style.  Is this possible?
 
   
  For example,  
- Border object is TargetType of the Style 
- StackPanel contained within Border object with this Style 
- Images within that StackPanel 
- When a mouse hovers over a Border object with this style, I'd like certain objects (like images) contained within a StackPanel encompassed by the Border object to change properties. 
I can only get properties of the Border object itself to change. 
Thanks. 
--Andrew 
    | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 March 2011 at 5:01am | 
 
| 
   
    Hi, 
   No, can't change child objects. You can add handlers and process them in code.  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |