با عرض سلام و خسته نباشید خدمت کاربران وب سایت پروگرم 98 😉 در این مطلب کد تنظیم Minimum و Maximum مقدار برای Slider با wpf و سی شارپ را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد تنظیم Minimum و Maximum مقدار برای Slider با wpf و سی شارپ :
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="120" Width="300">
<StackPanel>
<ProgressBar Width="200" Height="100" x:Name="progress" Value="30" HorizontalAlignment="Center" Margin="10"/>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="120" Width="300">
<StackPanel>
<ProgressBar Width="200" Height="100" x:Name="progress" Value="30" HorizontalAlignment="Center" Margin="10"/>