ExhaustPipe.xaml 1.3 KB

1234567891011121314151617181920212223
  1. <UserControl x:Class="CyberX8_Themes.UserControls.ExhaustPipe"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
  7. mc:Ignorable="d" Name="self"
  8. d:DesignHeight="8" d:DesignWidth="100">
  9. <Border CornerRadius="{Binding ElementName=self,Path=FCornerRadius}" BorderBrush="Gray" BorderThickness="0"
  10. Width="{Binding ElementName=self,Path=Width}" Height="{Binding ElementName=self,Path=Height}">
  11. <Border.Background>
  12. <LinearGradientBrush StartPoint="0.5 0" EndPoint="0.5 1" >
  13. <!--<GradientStop Color="Gray" Offset="0"/>-->
  14. <GradientStop Color="{Binding ElementName=self,Path=FlowColor}" Offset="0"/>
  15. <GradientStop Color="White" Offset="0.5"/>
  16. <GradientStop Color="{Binding ElementName=self,Path=FlowColor}" Offset="1"/>
  17. <!--<GradientStop Color="Gray" Offset="1"/>-->
  18. </LinearGradientBrush>
  19. </Border.Background>
  20. </Border>
  21. </UserControl>