سلام بر تمامی برنامه نویسان عزیز 😉 در این مطلب کد تغییر شکل TextBlock با RenderTransform با wpf و سی شارپ را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
تصاویر خروجی نهایی این کد:
کد تغییر شکل TextBlock با RenderTransform با wpf و سی شارپ :
<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>
this is a test
</TextBlock>
</Button>
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel>
<Button>
<TextBlock>
this is a test
</TextBlock>
</Button>