Let's start with the MainPage.xaml file of our UWP application. At present, there is only one change here (we will have a second that we'll come back to later). What we need to do is make the quantity not visible when the user doesn't have access to view it. Locate the TextBox quantity within the XAML:
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Quantity, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Visibility="{Binding CanViewQuantity, Converter={StaticResource BooleanToVisibilityConverter}}"/>
Who would have thought that such a small amount of code would raise so many questions? However, the answer is simple: we don't have any of the new things referenced here yet – they're coming. However, we ...