با عرض سلام و خسته نباشید خدمت کاربران وب سایت پروگرم 98 😉 در این مطلب آموزش متصل کردن ProgressBar به Slider با wpf و سی شارپ را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
تصویر خروجی این کد:
کد متصل کردن ProgressBar به 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"/>