سلام بر تمامی برنامه نویسان عزیز 😉 در این مطلب کد افزودن کنترل های slider و border به محتوای StackPanel با wpf و سی شارپ #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
خروجی این کد:
کد افزودن کنترل های slider و border به محتوای StackPanel با wpf و سی شارپ #C :
<Window x:Class="ScaleInCustomSystem"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Scale In Custom System" Height="310" Width="260">
<StackPanel Height="280" Width="250">
<Border BorderBrush="Black" BorderThickness="1" Height="200"
Width="200" Margin="20">
<Canvas Height="200" Width="200">
<Canvas.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleY="-1" />
<TranslateTransform Y="200" />
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Scale In Custom System" Height="310" Width="260">
<StackPanel Height="280" Width="250">
<Border BorderBrush="Black" BorderThickness="1" Height="200"
Width="200" Margin="20">
<Canvas Height="200" Width="200">
<Canvas.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleY="-1" />
<TranslateTransform Y="200" />