I have setup a StackPanel with a set of controls. Each control is an instance of the same class. The control is also a stack panel and has another custom control in it. So:
StackPanel:
CustomControl1:
StackPanel:
CustomControl2:
ListBox
CustomControl1:
StackPanel:
CustomControl2:
ListBox
CustomControl1:
StackPanel:
CustomControl2:
ListBox
The RenderTransform is applied at the top stack panel. As expected, all child controls scale accordingly. This is great until I get to this last Listbox control. In that case, I want the scale to either be ignored, or handled differently (likly in the inverse direction).
Is there any way to exclude a control from the transformation? Alternativly, can I evaluate the transformation from within the Listbox?
thanks