OshimaGameModule/OshimaModes/UserControl/CustomProgressBar.xaml
2025-04-13 19:57:00 +08:00

13 lines
722 B
XML

<UserControl x:Class="Oshima.FunGame.OshimaModes.CustomProgressBar"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="20">
<ProgressBar x:Name="progressBar"
Value="50"
Minimum="0"
Maximum="100"
Height="{Binding Height, RelativeSource={RelativeSource AncestorType=UserControl}}"
BorderBrush="{Binding BorderBrush, RelativeSource={RelativeSource AncestorType=UserControl}}"
BorderThickness="{Binding BorderThickness, RelativeSource={RelativeSource AncestorType=UserControl}}"/>
</UserControl>