Posted 8 years ago by Bruno Vermeersch
Version: 16.1.0632
Platform: .NET 4.5
Environment: Windows 8 (64-bit)


I'm in the process of applying the theming on my application and I encounter an issue. Minimalistic application:

<Window x:Class="WpfApplication2.MainWindow"
        Title="MainWindow" Height="350" Width="525">
		<Expander Grid.Column="0" ExpandDirection="Right">
				<TextBlock Text="Conditions">
						<RotateTransform Angle="-90"/>

 and in code behind:

namespace WpfApplication2
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
		public MainWindow()
			ActiproSoftware.Windows.Themes.ThemeManager.AreNativeThemesEnabled = true;

 The text ends up upside down. If the 'AreNativeThemesEnabled' line is commented out you can see what the result should be.

Anyone knows how this can be fixed?

many thanks,


Comments (2)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Bruno,

Our custom style/template for that control is a little different than the native one, as we build in the rotation into our template.  You don't need to do a layout transform at all when using ours.

Actipro Software Support

Posted 8 years ago by Bruno Vermeersch

Perfect, even better :-D

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.