Rotating controls in a DataWindow object
224 DataWindow .NET
If you are using a conditional expression for rotation
If you are specifying different rotations depending on particular conditions,
you might need to add conditions to the x and y properties for the control to
move the control conditionally to match the various amounts of rotation. An
alternative to moving the control around is to have multiple controls positioned
exactly as you want them, taking into account the different amounts of rotation.
Then you can add a condition to the visible property of each control to ensure
that the correctly rotated control shows.