method Window1.button1_Click(sender: System.Object; e: System.Windows.RoutedEventArgs);
begin
richTextBox1.RenderTransformOrigin := new Point(0.5, 0.5);
richTextBox1.RenderTransform := new ScaleTransform(-1, 1, 1, 1);
end;
The project is here if you need to do the same thing. Not sure I could ever charge for something that only takes a couple lines of code. :-)
<Grid>
<RichTextBox margin="12,41,12,12" name="richTextBox1">
<RichTextBox.RenderTransformOrigin>
<Point x="0.5" y="0.5" />
</RichTextBox.RenderTransformOrigin>
<RichTextBox.RenderTransform >
<ScaleTransform ScaleX="-1" />
</RichTextBox.RenderTransform>
</RichTextBox >
</Grid>
About The Author
Ron Grove draws on over ten years of training, network administration and development experience. He loves to work with new technology and see how that technology can be best utilized by his clients. You can find him through his company Evanoah, LLC and his LinkedIn profile is here.