<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="GaugeSamples.C1VolumeGaugePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:local="clr-namespace:GaugeSamples" xmlns:helpers="clr-namespace:Helpers">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/GaugeSamples.4;component/CommonResources.xaml" />
            </ResourceDictionary.MergedDictionaries>
			<!--***************** SCROLL *****************-->

		<Style x:Key="ScrollBarThumb" TargetType="{x:Type Thumb}">
    		<Setter Property="OverridesDefaultStyle" Value="true" />
    		<Setter Property="IsTabStop" Value="false" />
    		<Setter Property="Template">
    			<Setter.Value>
    				<ControlTemplate TargetType="{x:Type Thumb}">
    					<Rectangle x:Name="Background" Fill="#FFA8A8A8" StrokeThickness="1" Stroke="White" Opacity="0.6" />
    					<!--<Microsoft_Windows_Themes:ScrollChrome x:Name="Chrome" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsDragging}" SnapsToDevicePixels="true" Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph="{TemplateBinding Microsoft_Windows_Themes:ScrollChrome.ScrollGlyph}"/>-->
    				</ControlTemplate>
    			</Setter.Value>
    		</Setter>
    	</Style>

        <Style x:Key="GralScrollBar" TargetType="{x:Type ScrollBar}">
    		<Setter Property="Background" Value="Transparent" />
    		<Setter Property="Stylus.IsPressAndHoldEnabled" Value="false" />
    		<Setter Property="Stylus.IsFlicksEnabled" Value="false" />
    		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />
    		<Setter Property="Width" Value="8" />
    		<Setter Property="MinWidth" Value="8" />
    		<Setter Property="Template">
    			<Setter.Value>
    				<ControlTemplate TargetType="{x:Type ScrollBar}">
    					<Grid x:Name="Bg" Background="Transparent" SnapsToDevicePixels="true">
    						<Grid.RowDefinitions>
    							<RowDefinition Height="Auto" />
    							<RowDefinition Height="0.00001*" />
    							<RowDefinition Height="Auto" />
    						</Grid.RowDefinitions>
    						<RepeatButton Command="{x:Static ScrollBar.LineUpCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Visibility="Collapsed" />
    						<Track x:Name="PART_Track" IsDirectionReversed="true" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="1">
    							<Track.DecreaseRepeatButton>
    								<RepeatButton Command="{x:Static ScrollBar.PageUpCommand}" Opacity="0" />
    							</Track.DecreaseRepeatButton>
    							<Track.IncreaseRepeatButton>
    								<RepeatButton Command="{x:Static ScrollBar.PageDownCommand}" Opacity="0" />
    							</Track.IncreaseRepeatButton>
    							<Track.Thumb>
    								<Thumb Cursor="Hand" Style="{StaticResource ScrollBarThumb}" />
    							</Track.Thumb>
    						</Track>
    						<RepeatButton Command="{x:Static ScrollBar.LineDownCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Grid.Row="2" Visibility="Collapsed" />
    					</Grid>
    				</ControlTemplate>
    			</Setter.Value>
    		</Setter>
    		<Style.Triggers>
    			<Trigger Property="Orientation" Value="Horizontal">
    				<Setter Property="Width" Value="Auto" />
    				<Setter Property="MinWidth" Value="0" />
    				<Setter Property="Height" Value="8" />
    				<Setter Property="MinHeight" Value="8" />
    				<Setter Property="Background" Value="Transparent" />
    				<Setter Property="Template">
    					<Setter.Value>
    						<ControlTemplate TargetType="{x:Type ScrollBar}">
    							<Grid x:Name="Bg" Background="Transparent" SnapsToDevicePixels="true">
    								<Grid.ColumnDefinitions>
    									<ColumnDefinition Width="Auto" />
    									<ColumnDefinition Width="0.00001*" />
    									<ColumnDefinition Width="Auto" />
    								</Grid.ColumnDefinitions>
    								<RepeatButton Command="{x:Static ScrollBar.LineLeftCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Visibility="Collapsed" />
    								<Track x:Name="PART_Track" Grid.Column="1" IsEnabled="{TemplateBinding IsMouseOver}">
    									<Track.DecreaseRepeatButton>
    										<RepeatButton Command="{x:Static ScrollBar.PageLeftCommand}" Opacity="0" />
    									</Track.DecreaseRepeatButton>
    									<Track.IncreaseRepeatButton>
    										<RepeatButton Command="{x:Static ScrollBar.PageRightCommand}" Opacity="0" />
    									</Track.IncreaseRepeatButton>
    									<Track.Thumb>
    										<Thumb Cursor="Hand" Style="{StaticResource ScrollBarThumb}" />
    									</Track.Thumb>
    								</Track>
    								<RepeatButton Grid.Column="2" Command="{x:Static ScrollBar.LineRightCommand}" IsEnabled="{TemplateBinding IsMouseOver}" Visibility="Collapsed" />
    							</Grid>
    						</ControlTemplate>
    					</Setter.Value>
    				</Setter>
    			</Trigger>
    		</Style.Triggers>
    	</Style>

        <Style x:Key="GralScrollViewer" TargetType="{x:Type ScrollViewer}">
            <Setter Property="HorizontalContentAlignment" Value="Left" />
            <Setter Property="VerticalContentAlignment" Value="Top" />
            <Setter Property="Padding" Value="10 5" />
            <Setter Property="BorderThickness" Value="0" />
			<Setter Property="Margin" Value="0 -8 -8 -8" />
        	<Setter Property="Template">
        		<Setter.Value>
        			<ControlTemplate TargetType="{x:Type ScrollViewer}">
        				<Grid x:Name="Grid" Background="{TemplateBinding Background}">
        					<Grid.ColumnDefinitions>
        						<ColumnDefinition Width="*" />
        						<ColumnDefinition Width="Auto" />
        					</Grid.ColumnDefinitions>
        					<Grid.RowDefinitions>
        						<RowDefinition Height="*" />
        						<RowDefinition Height="Auto" />
        					</Grid.RowDefinitions>
        					<Rectangle x:Name="Corner" Grid.Column="1" Fill="Transparent" Grid.Row="1" />
        					<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" Grid.Row="0" />
        					<ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Style="{DynamicResource GralScrollBar}" />
        					<ScrollBar x:Name="PART_HorizontalScrollBar" AutomationProperties.AutomationId="HorizontalScrollBar" Cursor="Arrow" Grid.Column="0" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Style="{DynamicResource GralScrollBar}" />
        				</Grid>
        			</ControlTemplate>
        		</Setter.Value>
        	</Setter>
		</Style>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="280" />
        </Grid.ColumnDefinitions>
        <!-- Property Editors -->
        <Border Style="{DynamicResource control_Border}" Grid.Column="1">
            <ScrollViewer VerticalScrollBarVisibility="Auto" VerticalAlignment="Center" Style="{StaticResource GralScrollViewer}">
                <WrapPanel ItemWidth="260">
                    <!-- Value property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Margin="0 0 5 0" Text="Value:" Style="{DynamicResource captionStyle}" />
                        <c1:C1NumericBox Value="{Binding Value, ElementName=radialGauge, Mode=TwoWay,                                                      UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" AllowNull="True" />
                    </StackPanel>

                    <!-- Minimum property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="Minimum:" Style="{DynamicResource captionStyle}" />
                        <c1:C1NumericBox Value="{Binding Minimum, ElementName=radialGauge, Mode=TwoWay}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- Maximum property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="Maximum:" Style="{DynamicResource captionStyle}" />
                        <c1:C1NumericBox Value="{Binding Maximum, ElementName=radialGauge, Mode=TwoWay}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- StartAngle property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="StartAngle:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding StartAngle, ElementName=radialGauge,                                                 StringFormat=0}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding StartAngle, ElementName=radialGauge, Mode=TwoWay}" Minimum="-360" Maximum="360" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- SweepAngle property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="SweepAngle:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding SweepAngle, ElementName=radialGauge,                                                 StringFormat=0}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding SweepAngle, ElementName=radialGauge, Mode=TwoWay}" Minimum="-360" Maximum="360" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- Radius property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="Radius:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding Radius, ElementName=radialGauge,                                                 StringFormat=0.00}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding Radius, ElementName=radialGauge, Mode=TwoWay}" Minimum="0" Maximum="1.3" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- OffAngle property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="OffAngle:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding OffAngle, ElementName=radialGauge,                                                 StringFormat=0}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding OffAngle, ElementName=radialGauge, Mode=TwoWay}" Minimum="-360" Maximum="360" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- IsLogarithmic property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="IsLogarithmic:" Style="{DynamicResource captionStyle}" />
                        <CheckBox IsChecked="{Binding IsLogarithmic, ElementName=radialGauge, Mode=TwoWay}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- LogarithmicBase property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="LogarithmicBase:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding LogarithmicBase, ElementName=radialGauge,                                                 StringFormat=0}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding LogarithmicBase, ElementName=radialGauge, Mode=TwoWay}" Minimum="2" Maximum="100" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- DecoratorsVisibility property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="DecoratorsVisibility:" Style="{DynamicResource captionStyle}" />
                        <ComboBox SelectedItem="{Binding DecoratorsVisibility, ElementName=radialGauge, Mode=TwoWay}" ItemsSource="{Binding DecoratorsVisibility, ElementName=radialGauge, Mode=OneWay,                                     Converter={x:Static helpers:GetEnumMembersConverter.Default}}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- AutoDetectMarkTemplates property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="AutoDetectMarkTemplates:" Style="{DynamicResource captionStyle}" />
                        <CheckBox IsChecked="{Binding AutoDetectMarkTemplates, ElementName=radialGauge, Mode=TwoWay}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- Background property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="Background:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding Background, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- BorderBrush property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="BorderBrush:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding BorderBrush, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- BorderThickness property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="BorderThickness:" Style="{DynamicResource captionStyle}" />
                        <TextBox Text="{Binding BorderThickness, ElementName=radialGauge, Mode=TwoWay,                                         Converter={x:Static helpers:ThicknessToStringConverter.Default},                                         UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- PointerLength property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerLength:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding PointerLength, ElementName=radialGauge,                                                 StringFormat=0.00}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding PointerLength, ElementName=radialGauge, Mode=TwoWay}" Minimum="0" Maximum="2" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- PointerWidth property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerWidth:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding PointerWidth, ElementName=radialGauge,                                                 StringFormat=0.00}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding PointerWidth, ElementName=radialGauge, Mode=TwoWay}" Minimum="0" Maximum="2" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>


                    <!-- PointerOffset property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerOffset:" Style="{DynamicResource captionStyle}" />
                        <DockPanel Style="{DynamicResource inputStyle}">
                            <TextBlock VerticalAlignment="Center" Width="148" Text="{Binding PointerOffset, ElementName=radialGauge,                                                 StringFormat=0.00}" Style="{DynamicResource sliderValueStyle}" />
                            <Slider Value="{Binding PointerOffset, ElementName=radialGauge, Mode=TwoWay}" Minimum="-2" Maximum="2" Style="{DynamicResource sliderStyle}" />
                        </DockPanel>
                    </StackPanel>

                    <!-- PointerVisibility property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerVisibility:" Style="{DynamicResource captionStyle}" />
                        <ComboBox SelectedItem="{Binding PointerVisibility, ElementName=radialGauge, Mode=TwoWay}" ItemsSource="{Binding PointerVisibility, ElementName=radialGauge, Mode=OneWay,                                     Converter={x:Static helpers:GetEnumMembersConverter.Default}}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- PointerFill property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerFill:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding PointerFill, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- PointerStroke property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerStroke:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding PointerStroke, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- PointerStrokeThickness property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerStrokeThickness:" Style="{DynamicResource captionStyle}" />
                        <c1:C1NumericBox Value="{Binding PointerStrokeThickness, ElementName=radialGauge, Mode=TwoWay,                                                 UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- PointerOrigin property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerOrigin:" Style="{DynamicResource captionStyle}" />
                        <TextBox Text="{Binding PointerOrigin, ElementName=radialGauge, Mode=TwoWay,                                         Converter={x:Static helpers:PointToStringConverter.Default},                                         UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- PointerCapSize property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerCapSize:" Style="{DynamicResource captionStyle}" />
                        <TextBox Text="{Binding PointerCapSize, ElementName=radialGauge, Mode=TwoWay,                                         Converter={x:Static helpers:SizeToStringConverter.Default},                                         UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                    <!-- PointerCapFill property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerCapFill:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding PointerCapFill, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- PointerCapStroke property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerCapStroke:" Style="{DynamicResource captionStyle}" />
                        <ComboBox Style="{DynamicResource colorComboStyle}" SelectedItem="{Binding PointerCapStroke, ElementName=radialGauge, Mode=TwoWay}" />
                    </StackPanel>

                    <!-- PointerCapStrokeThickness property editor -->
                    <StackPanel Style="{DynamicResource captionInputContainer}">
                        <TextBlock VerticalAlignment="Center" Width="148" Text="PointerCapStrokeThickness:" Style="{DynamicResource captionStyle}" />
                        <c1:C1NumericBox Value="{Binding PointerCapStrokeThickness, ElementName=radialGauge, Mode=TwoWay,                                                 UpdateSourceTrigger=PropertyChanged}" Style="{DynamicResource inputStyle}" />
                    </StackPanel>

                </WrapPanel>
            </ScrollViewer>
        </Border>

        <Border Style="{DynamicResource control_Border}" Padding="10">
            <c1:C1VolumeGauge x:Name="radialGauge" Height="400" Value="0" StartAngle="10" SweepAngle="160">
                <c1:C1VolumeGauge.FaceTemplate>
                    <DataTemplate>
                        <Grid Margin="10">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="0.15*" />
                                <RowDefinition />
                                <RowDefinition Height="0.15*" />
                            </Grid.RowDefinitions>
                            <TextBlock VerticalAlignment="Center" Width="148" Text="F" FontSize="25" FontFamily="Arial" Foreground="Black" FontWeight="Bold" />
                            <!-- Fuel Icon -->
                            <Path Height="40" Width="40" Grid.Row="1" Data="M7.0000005,3.0050032 C6.4477415,3.0050032 6.000001,3.4527071 6.000001,4.005003 L6.000001,14.005003 C6.000001,14.557169 6.4475465,15.005003 7.0000005,15.005003 L20,15.005003 C20.552301,15.005003 21,14.557275 21,14.005003 L21,4.005003 C21,3.4525788 20.552227,3.0050032 20,3.0050032 z M27.755436,0.00028914632 C28.495354,-0.016514905 29.794043,0.7009427 31.201189,1.6764078 C32.344528,2.4689984 33.559528,3.4319692 34.604687,4.3099251 C37.177437,6.4711437 38.412182,10.690466 37.794823,11.513642 C37.64043,11.719504 37.460331,11.809512 37.277069,11.828805 C37.231243,11.833628 37.185219,11.83403 37.139339,11.830715 C36.772396,11.804184 36.414997,11.539693 36.247337,11.397367 C36.205433,11.361786 36.175381,11.333851 36.160007,11.319179 C36.152321,11.311842 36.1483,11.307822 36.1483,11.307822 C36.1483,11.307822 36.045406,12.285447 36.032528,13.687622 C36.029308,14.038166 36.031731,14.415233 36.042778,14.810188 C36.048309,15.007668 36.055996,15.20962 36.066219,15.414962 C36.107128,16.23634 36.188622,17.111977 36.334846,17.972744 C36.407951,18.403131 36.49831,18.826811 36.604675,19.250301 C37.030174,20.944275 37.695244,22.631779 38.252693,24.467325 C38.53141,25.385077 38.783199,26.339832 38.964684,27.350826 C39.055428,27.856335 39.12859,28.375927 39.17873,28.911987 C39.203808,29.180021 39.223133,29.452175 39.236027,29.728754 C39.313969,31.400984 39.082863,32.706581 38.652042,33.72937 C38.54435,33.985023 38.424183,34.223026 38.293228,34.444633 C37.245674,36.217476 35.509064,36.941998 33.959427,37.286957 C33.57198,37.373203 33.196251,37.435719 32.845871,37.48497 C32.670689,37.509598 32.501835,37.530903 32.341034,37.550198 C29.768539,37.858883 25.75477,35.389519 25.75477,30.552256 C25.75477,28.738462 25.783726,26.736513 25.760197,24.91004 C25.728855,22.474806 25.604212,20.351408 25.193386,19.401888 C25.090685,19.164522 24.970089,19.0005 24.828577,18.923311 C24.545589,18.768948 24.269035,18.76893 24.013334,18.855778 L24,18.860909 L24,38.004997 L27,38.004997 L27,42.004997 L0,42.004997 L0,38.004997 L3.0000007,38.004997 L3.0000007,2.0049994 C2.9999893,0.90056473 3.8953815,0.0050031939 5.0000005,0.0049985927 L22,0.0049985927 C23.104679,0.0050031939 24,0.90043807 24,2.0049994 L24,14.854666 L24.238474,14.839113 C26.166895,14.772465 27.572838,15.691495 28.39201,17.866755 C28.801527,18.954315 29.064346,20.355766 29.172379,22.105011 C29.226393,22.979597 29.241722,23.941156 29.217354,24.993845 C29.20517,25.520189 29.183058,26.069315 29.1509,26.641764 C28.893612,31.221786 29.974562,33.048023 31.222088,33.678131 C31.378071,33.756912 31.536663,33.816998 31.695583,33.861431 C32.331322,34.039185 32.972206,33.966454 33.47197,33.837887 C33.721882,33.773598 33.936504,33.695354 34.097546,33.627457 C34.17807,33.593517 34.245205,33.562157 34.296665,33.536427 C35.119778,33.124931 36.663822,30.860832 34.811211,25.406099 C32.958721,19.951729 32.444397,14.909475 32.547298,13.262984 C32.650208,11.616405 32.547699,9.9700193 31.827284,8.735157 C31.647167,8.4264212 31.331963,7.9568949 30.944387,7.4117856 C30.314539,6.5259657 29.49366,5.4406085 28.750799,4.5213928 C28.293657,3.9557228 27.866068,3.4529479 27.530729,3.0983014 C27.446896,3.0096405 27.368832,2.9302397 27.297518,2.8614302 C27.26186,2.8270245 27.227888,2.7952664 27.195726,2.7663224 C26.938457,2.5347924 26.758305,2.2903709 26.648922,2.044323 C26.594234,1.9213079 26.557224,1.7978911 26.537106,1.6754751 C26.527046,1.6142684 26.521206,1.5533118 26.519485,1.4927813 C26.505737,1.008553 26.755676,0.55161005 27.217943,0.2119958 C27.275726,0.16954438 27.336826,0.12892602 27.401142,0.090316311 C27.465458,0.051707689 27.539827,0.025965234 27.623362,0.012159782 C27.665131,0.0052574514 27.709192,0.0013392377 27.755436,0.00028914632 z" Fill="White" Stretch="Fill" SnapsToDevicePixels="False" />
                            <TextBlock VerticalAlignment="Center" Width="148" Text="E" FontSize="25" FontFamily="Arial" FontWeight="Bold" Foreground="Black" Grid.Row="2" />
                        </Grid>
                    </DataTemplate>
                </c1:C1VolumeGauge.FaceTemplate>
                <c1:C1GaugeMark Interval="20" Location="0.9" />
                <c1:C1GaugeMark Interval="5" Location="0.9" />
                <c1:C1GaugeLabel Interval="20" Alignment="Out" AlignmentOffset="15" Location="0.9" />
            </c1:C1VolumeGauge>
        </Border>

    </Grid>
</UserControl>