Skip to content

Instantly share code, notes, and snippets.

@Sa1Gur
Created August 16, 2019 23:23
Show Gist options
  • Save Sa1Gur/b91fe3f1577f9fce04c11fe998b62327 to your computer and use it in GitHub Desktop.
Save Sa1Gur/b91fe3f1577f9fce04c11fe998b62327 to your computer and use it in GitHub Desktop.
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="50" />
<ColumnDefinition Width="50" />
<ColumnDefinition Width="50" />
</Grid.ColumnDefinitions>
<Entry Grid.Column="0" Text="{Binding Name, Source={x:Reference _nameAndRate}}" HorizontalOptions="FillAndExpand" />
<ffsvg:SvgCachedImage Grid.Column="1" Source="{Binding Level, Source={x:Reference _nameAndRate}, Converter={StaticResource SVGStatusConverter}, ConverterParameter = 1}" />
<ffsvg:SvgCachedImage Grid.Column="2" Source="{Binding Level, Source={x:Reference _nameAndRate}, Converter={StaticResource SVGStatusConverter}, ConverterParameter = 2}" />
<ffsvg:SvgCachedImage Grid.Column="3" Source="{Binding Level, Source={x:Reference _nameAndRate}, Converter={StaticResource SVGStatusConverter}, ConverterParameter = 3}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment