سلام خدمت کاربران وب سایت پروگرم 98 😉 در این پست کد تغییر شکل TextBlock با LayoutTransform با wpf و c#.net را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد تغییر شکل TextBlock با LayoutTransform با wpf و c#.net :
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel>
<Button>
<TextBlock>
<TextBlock.LayoutTransform>
<ScaleTransform ScaleX="3" ScaleY="3" />
</TextBlock.LayoutTransform>
Foo bar
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel>
<Button>
<TextBlock>
<TextBlock.LayoutTransform>
<ScaleTransform ScaleX="3" ScaleY="3" />
</TextBlock.LayoutTransform>
Foo bar