Print Page | Close Window

Markup Trigger affecting other objects

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18000
Printed Date: 14 May 2024 at 3:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Trigger affecting other objects
Posted By: Andrew666
Subject: Markup Trigger affecting other objects
Date Posted: 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net