Silverlight RenderTransforms available to children? -
I have set up a StackPanel with a set of controls, each control is an example of the same class. Control is also a stack panel and it has another custom control. Then:
StackPanel: Custom Control 1: StackPanel: Custom Control 2: List Box Custom Control 1: StackPanel: Custom Control2: ListBox Custom Control 1: StackPanel: Custom Control2: List Box < / Code>
Render transforms have been applied on the top stack panel as expected, all children accordingly control the scale. It's great as long as I do not come under control of this last list box. In that case, I want to either ignore the scale or be handled in a different way (evenly in the opposite direction).
Is there a way to exclude control from the conversion? Alternatively, can I evaluate changes from within the listbox?
Thank you
You can apply the exact reversal of the change, though it's okay It may take some time to do so.
If by doing this in code, you can use the VisualTreeHelper
to raise the tree Read the correct value.
Alternatively, you can do some types of creative:
StackPanel: StackPanel: Make the changes here for the first two Custom Controls: StackPanel: Custom Control 2 : List Box Custom Controller 1: StackPanel: Custom Control 2: List Box Custom Control 1: StackPanel: Custom Control 2: List Box
Comments
Post a Comment