1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:rolling_counter_line"
mc:Ignorable="d"
x:Class="rolling_counter_line.Rolling"
x:Name="UserControl"
Height="30" Width="150"
Background="Aqua"
>
<UserControl.Resources>
<local:RollingHeightConverter x:Key="RollingHeightConverter" />
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="Aqua">
<Grid x:Name="grid1" Background="Black" Margin="0,-50,0,0"
Height="330" Width="50"
>
<!--Height="{Binding Path=ActualHeight,
RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},
ConverterParameter={RelativeSource Self},
Converter={StaticResource RollingHeightConverter},
Mode=OneWay}"
>-->
<Grid.RowDefinitions>
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
<RowDefinition Height="9.09*" />
</Grid.RowDefinitions>
<Path Fill="#Ffffffff" Stretch="Fill" RenderTransformOrigin="5.59591876001424,0.500000023337269" Data="M8.8558664,4.1399999 C6.8397879,4.1399999 5.4717297,6.6960023 5.5077309,12.132001 5.4717298,17.495997 6.7677708,20.052 8.8918676,20.052 11.015953,20.052 12.168,17.388007 12.168,12.06 12.168,6.8759981 11.051957,4.1399999 8.8558664,4.1399999 z M8.9279995,0 C15.191993,0 17.639999,5.5799904 17.639999,11.988001 17.639999,19.224 14.724009,24.191999 8.7479992,24.191999 2.700038,24.191999 0.036000677,18.756006 0,12.132 3.9354936E-07,5.3640065 2.8800096,0 8.9279995,0 z" x:Name="ch0" Margin="8.68,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="1" RenderTransformOrigin="7.1610748031713,0.500000012063573" Data="M6.1919994,9.241603E-09 L10.727999,9.241603E-09 L10.727999,23.4 L5.4360008,23.4 L5.4360008,4.8599988 L5.3640003,4.8599988 L0.89999973,6.9839994 L1.3072017E-07,2.8799992 z" x:Name="ch1" Margin="12.136,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="2" RenderTransformOrigin="3.51843805392523,0.508320736276984" Data="M7.9560011,0 C9.2789991,0 10.453502,0.19349957 11.471061,0.55012513 C12.488624,0.90674975 13.349251,1.4264994 14.044502,2.0789996 C14.73975,2.7314997 15.269626,3.5167495 15.62569,4.4043742 C15.98175,5.2919999 16.164001,6.2819997 16.164001,7.344 C16.164001,8.324999 15.986251,9.2565005 15.666752,10.149187 C15.347252,11.041874 14.886001,11.89575 14.319,12.721501 C13.751999,13.547249 13.07925,14.344876 12.33675,15.125063 C11.594249,15.905251 10.781997,16.668 9.9359968,17.424 L7.7760008,19.223999 L7.7760008,19.296 L16.596,19.296 L16.596,23.796 L-1.4210854E-14,23.796 L-1.4210854E-14,20.484 L3.0239982,17.748 C4.301998,16.605 5.4157485,15.5835 6.3686217,14.651438 C7.3214987,13.719374 8.1134985,12.876749 8.7479971,12.0915 C9.3824995,11.30625 9.8595007,10.578375 10.182373,9.8758109 C10.505249,9.1732485 10.674,8.4959986 10.692001,7.8119985 C10.692001,7.3349993 10.620003,6.8827497 10.469814,6.4726869 C10.319626,6.0626241 10.091251,5.69475 9.7784994,5.3864995 C9.4657514,5.07825 9.0686262,4.8296252 8.5809362,4.658063 C8.0932501,4.4864999 7.5149992,4.3920003 6.84,4.3920003 C6.3359984,4.3920003 5.8477477,4.455 5.3797492,4.5641252 C4.9117469,4.6732503 4.4639968,4.8284999 4.0409965,5.0130006 C3.1949996,5.3820001 2.447998,5.8680002 1.8359985,6.3360006 L0.28799819,2.4119988 C0.72899626,2.0789986 1.2307472,1.7617493 1.7848091,1.4731875 C2.3388748,1.1846247 2.9452476,0.9247494 3.5954971,0.70650007 C4.2457503,0.48824979 4.9398726,0.31162453 5.6694373,0.1895628 C6.3989981,0.067500116 7.1640013,0 7.9560011,0 z" x:Name="ch2" Margin="9.202,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="3" RenderTransformOrigin="2.33333314741573,0.500000011668634" Data="M7.9560011,0 C9.2070005,0 10.318496,0.16425038 11.282066,0.46068765 C12.245628,0.75712492 13.061249,1.18575 13.720504,1.7144995 C14.379753,2.2432499 14.882629,2.8721247 15.220688,3.5690623 C15.558754,4.2659999 15.732002,5.0309993 15.732002,5.831999 C15.732002,6.4529993 15.644249,7.040249 15.467628,7.5875627 C15.291,8.1348745 15.025505,8.6422503 14.670005,9.1035006 C14.314499,9.5647509 13.869003,9.9798758 13.332374,10.342688 C12.795753,10.7055 12.167999,11.016001 11.447998,11.268 L11.447998,11.339999 C12.149994,11.465998 12.818245,11.693249 13.42575,12.011063 C14.033249,12.328875 14.580002,12.73725 15.039001,13.2255 C15.498001,13.713751 15.869247,14.281876 16.125747,14.919188 C16.382248,15.5565 16.524002,16.263001 16.524002,17.028 C16.524002,18.063 16.296753,19.02825 15.863067,19.893937 C15.429374,20.759625 14.789253,21.525752 13.963501,22.162501 C13.137748,22.79925 12.126373,23.306624 10.950187,23.654814 C9.7740019,24.003001 8.4329985,24.192 6.9479979,24.192 C5.4359969,24.192 4.0410003,23.994002 2.8529968,23.687998 C2.2589988,23.535002 1.7167472,23.355002 1.2374992,23.159251 C0.75825117,22.9635 0.34199905,22.752001 1.4210855E-14,22.536002 L1.1160011,18.432 C1.3590011,18.557999 1.6807518,18.710999 2.0615615,18.869626 C2.4423751,19.02825 2.8822479,19.1925 3.3615035,19.341 C4.3199996,19.637999 5.4360045,19.872 6.5520018,19.872 C7.2630003,19.872 7.8862456,19.786499 8.4211882,19.630688 C8.9561232,19.474875 9.4027479,19.248751 9.7604978,18.967499 C10.118248,18.686251 10.387123,18.349875 10.566559,17.973563 C10.746002,17.59725 10.835998,17.181 10.835998,16.74 C10.835998,16.164 10.692001,15.66675 10.438308,15.244875 C10.184624,14.823 9.8212507,14.4765 9.3824995,14.202 C8.9437483,13.9275 8.4296263,13.725001 7.8744353,13.591126 C7.3192519,13.457251 6.7229994,13.392001 6.1200026,13.392001 L3.8880004,13.392001 L3.8880004,9.4680006 L6.0120009,9.4680006 C6.4710005,9.4589999 6.9615019,9.4095003 7.4390639,9.309376 C7.9166258,9.2092497 8.3812483,9.0585005 8.7884977,8.8470003 C9.1957548,8.6355002 9.5456236,8.363249 9.7936933,8.0201246 C10.041755,7.6770002 10.188003,7.2629988 10.188003,6.7679998 C10.188003,6.417 10.116005,6.0884992 9.9719999,5.7931882 C9.8280027,5.4978753 9.6119993,5.2357503 9.3240049,5.0175 C9.0360029,4.7992498 8.6760023,4.6248752 8.2440031,4.5050622 C7.8120039,4.3852502 7.3079985,4.3199998 6.7320021,4.3199998 C5.7779998,4.3199998 4.796997,4.5269996 3.9329986,4.8059989 C3.5009994,4.9454995 3.0982513,5.1029989 2.742752,5.2616245 C2.3872489,5.4202491 2.0789985,5.5800001 1.8359985,5.7239992 L0.72000121,1.764 C1.0709991,1.5389996 1.5097503,1.3162499 2.0176887,1.1086874 C2.5256271,0.90112498 3.1027526,0.70874979 3.7304992,0.54450036 C4.986,0.21599961 6.4440001,0 7.9560011,0 z" x:Name="ch3" Margin="9.238,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="4" RenderTransformOrigin="1.04117647306766,0.500000020214636" Data="M10.404002,4.1760001 C9.6479978,5.6880012 9.0359983,7.0560007 8.2439975,8.5320005 L5.1119999,13.644 5.1119999,13.716001 10.367999,13.716001 10.367999,8.5320005 C10.367999,7.1280012 10.439998,5.6880012 10.548,4.1760001 z M8.8559942,0 L15.551993,0 15.551993,13.716 18.359999,13.716 18.359999,17.82 15.551993,17.82 15.551993,23.4 10.367995,23.4 10.367995,17.82 0,17.82 0,14.255999 z" x:Name="ch4" Margin="8.32,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="5" RenderTransformOrigin="-0.0934784036503163,0.49167928744865" Data="M2.736,9.241603E-09 L15.624,9.241603E-09 L15.624,4.5000001 L6.5520018,4.5000001 L6.0479964,8.1000006 C6.5520018,8.0280001 6.984001,8.0280001 7.5599974,8.0280001 C8.6759947,8.0280001 9.8009947,8.1539995 10.853996,8.4284994 C11.906997,8.7029993 12.888,9.1259997 13.715995,9.7199995 C14.597992,10.313999 15.308998,11.096998 15.799499,12.0735 C16.044746,12.561749 16.234871,13.098374 16.363685,13.683937 C16.4925,14.269499 16.559997,14.904 16.559997,15.588 C16.559997,16.677 16.325996,17.734499 15.876564,18.708188 C15.427124,19.681876 14.762252,20.571751 13.900497,21.325499 C13.038749,22.079249 11.980125,22.696875 10.743187,23.126063 C10.124717,23.340655 9.4616697,23.508139 8.7563704,23.621977 C8.0510634,23.735812 7.3034972,23.796 6.5159987,23.796 C5.093994,23.796 3.7890014,23.634001 2.6774978,23.3865 C2.1217498,23.262751 1.6143722,23.117625 1.1649399,22.960688 C0.71549986,22.803752 0.32399749,22.635001 4.8704394E-21,22.463999 L0.9720001,18.359999 C1.2330017,18.485999 1.5615005,18.621001 1.940628,18.752625 C2.3197479,18.884249 2.7494964,19.012499 3.2129974,19.125 C4.1399993,19.350001 5.2019957,19.512 6.2639998,19.512 C6.8310011,19.512 7.4069975,19.4445 7.9520643,19.304438 C8.4971235,19.164374 9.0112455,18.95175 9.4544981,18.661499 C9.8977506,18.371251 10.270126,18.003375 10.531685,17.552813 C10.793251,17.10225 10.944,16.569001 10.944,15.948 C10.944,15.345 10.824753,14.800499 10.572746,14.322937 C10.320747,13.845375 9.9359968,13.43475 9.4049986,13.099499 C8.8740004,12.76425 8.1967467,12.504374 7.3597487,12.328312 C6.5227507,12.152251 5.5260009,12.06 4.3560027,12.06 C3.7080001,12.06 3.1589965,12.077999 2.6504974,12.114001 C2.1419982,12.15 1.6739959,12.204001 1.1879959,12.275999 z" x:Name="ch5" Margin="9.22,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="6" RenderTransformOrigin="-1.17670719115428,0.498998678251557" Data="M8.8919945,11.94 C7.4159831,11.94 6.1920135,12.839997 5.6520033,14.027998 5.5079985,14.316 5.4359999,14.747999 5.4359999,15.395998 5.5440023,17.880015 6.732037,20.112001 9.2159996,20.112001 L9.2519951,20.112001 C11.160035,20.112001 12.384,18.348008 12.384,15.971998 12.384,13.81198 11.231973,11.94 8.8919945,11.94 z M14.4495,0.0011469547 C14.804999,-0.003353505 15.101996,0.0056464501 15.372001,0.023646478 L15.372001,4.2357097 C14.760001,4.2357097 14.111991,4.2357097 13.247993,4.3077092 8.3880637,4.7037102 6.2279993,7.1877388 5.6159969,9.92379 L5.7239986,9.92379 C6.8759962,8.7357681 8.4959875,8.0517654 10.691993,8.0517654 14.615959,8.0517654 17.928,10.82379 17.928,15.683876 17.928,20.327917 14.364017,24.143999 9.2880011,24.143999 7.7309863,24.143999 6.3719952,23.85374 5.209312,23.331175 2.8839292,22.28603 1.3438095,20.311628 0.57543954,17.871469 0.19124604,16.65139 2.4083747E-08,15.314872 0,13.91985 9.6335017E-08,9.5277896 1.6200035,5.85574 4.1399989,3.5156977 6.479974,1.391686 9.503972,0.23965306
13.176002,0.059647944 13.679999,0.023647316 14.094001,0.0056464501 14.4495,0.0011469547 z" x:Name="ch6" Margin="8.536,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="7" RenderTransformOrigin="-2.52723513919824,0.500000012063573" Data="M5.239087E-06,9.241603E-09 L16.523992,9.241603E-09 L16.523992,3.4559995 L6.8759969,23.4 L1.0799918,23.4 L10.728002,4.5720006 L10.728002,4.5000001 L5.239087E-06,4.5000001 z" x:Name="ch7" Margin="9.238,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="8" RenderTransformOrigin="0.467,0.581" Data="M8.4238547,13.644 C6.62374,14.148009 5.5797313,15.444032 5.5797313,17.136002 5.5437206,18.828003 6.8397692,20.412001 8.8918761,20.412001 10.835905,20.412001 12.096,19.15199 12.096,17.496002 12.096,15.444012 10.583883,14.219995 8.4238547,13.644 z M8.7840069,3.7079999 C6.9119999,3.7079999 5.9399999,4.932001 5.9399999,6.408 5.9399999,7.9919547 7.3799658,8.9999927 9.2520092,9.5760002 10.511989,9.2159996 11.628,8.0640009 11.628,6.5880003 11.628,5.1479743 10.799936,3.7079999 8.7840069,3.7079999 z M9.0360058,0 C14.508046,0 16.775991,3.1680202 16.775991,6.0119991 16.775991,8.0279673 15.695978,10.007991 13.392006,11.16 L13.392006,11.268 C15.659975,12.131984 17.675999,14.075968 17.675999,17.1 17.675999,21.347986 14.112003,24.191999 8.6760052,24.191999 2.7360636,24.191999 -5.9666332E-07,20.844017 1.7053026E-13,17.676001 -5.9667158E-07,14.867948 1.6200437,12.92397 4.1760076,11.808001 L4.1760076,11.699999 C1.9079992,10.547996 0.79200634,8.6399996 0.79200706,6.5879993 0.79200634,2.6280672 4.3559231,0 9.0360058,0 z" x:Name="ch8" Margin="8.662,3.15"/>
<Path Fill="#Ffffffff" Stretch="Fill"
Grid.Row="9" RenderTransformOrigin="-4.58452262595924,0.500629753322053" Data="M8.639843,3.9960001 C6.8037783,3.9960001 5.4356826,5.6520264 5.4716949,8.1000004 5.4716949,10.115996 6.551746,11.844 8.7838468,11.844 10.2599,11.844 11.303969,11.123999 11.807992,10.296 11.98799,9.972003 12.096,9.6120078 12.096,8.9279995 12.096,6.4439955 11.159939,3.9960001 8.6758404,3.9960001 z M8.8199949,0 C10.323003,0 11.628008,0.28801127 12.740055,0.8055144 14.9642,1.8405285 16.416553,3.7935588 17.137686,6.196609 17.498251,7.3981323 17.676001,8.7121544 17.676001,10.080179 17.676001,14.940274 16.128041,18.504338 13.57201,20.84437 11.340027,22.860393 8.2799719,23.976426 4.6439986,24.12043 3.7079775,24.19243 2.7719931,24.156425 2.1600044,24.12043 L2.1600044,19.836353 C2.8440086,19.908353 3.4560015,19.90835 4.5359969,19.836353 6.1920195,19.728347 7.8840023,19.260335 9.144,18.396326 10.656,17.3523 11.663992,15.840272 12.095997,14.076248 L11.987995,14.040248 C10.943989,15.120271 9.4319953,15.73228 7.308001,15.73228 3.3479368,15.73228 -4.398181E-08,12.960231 0,8.4241495 -4.3981895E-08,3.8520622 3.6719602,0 8.8199949,0 z" x:Name="ch9" Margin="8.662,3.15"/>
<Path Fill="#Ffffffff" Grid.Row="10" Stretch="Fill" RenderTransformOrigin="5.59591876001424,0.500000023337269" Data="M8.8558664,4.1399999 C6.8397879,4.1399999 5.4717297,6.6960023 5.5077309,12.132001 5.4717298,17.495997 6.7677708,20.052 8.8918676,20.052 11.015953,20.052 12.168,17.388007 12.168,12.06 12.168,6.8759981 11.051957,4.1399999 8.8558664,4.1399999 z M8.9279995,0 C15.191993,0 17.639999,5.5799904 17.639999,11.988001 17.639999,19.224 14.724009,24.191999 8.7479992,24.191999 2.700038,24.191999 0.036000677,18.756006 0,12.132 3.9354936E-07,5.3640065 2.8800096,0 8.9279995,0 z" x:Name="ch02" Margin="8.68,3.15"/>
</Grid>
</Grid>
</UserControl> |
Partager