title: Add a right border to a label
body: <p>I'm trying to do add a right border to my label. In CSS, you can to this with a few lines of code:</p>
  
  <pre><code>label {
          border-right : 2px solid #000;
        }
  </code></pre>
  
  <p>This seems to be different in Xamarin.Forms XAML as there are no border properties on any of the elements. This is similar to what I'm trying to achieve:</p>
  
  <p><a href="https://i.stack.imgur.com/iRlFC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iRlFC.png" alt="please click the image"></a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;ListView x:Name="listview" SeparatorVisibility="None" 
            HasUnevenRows="True" &gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;ViewCell&gt;
                  &lt;StackLayout Padding="20, 10"&gt;
                      &lt;Label Text="{Binding LoremIpsum}"
                             HorizontalOptions="Start"/&gt;
                      &lt;Label Text="{Binding LoremIpsum1}" /&gt;
                      &lt;Label Text="{Binding LoremIpsum2}" /&gt;
                  &lt;/StackLayout&gt;
              &lt;/ViewCell&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>Is there any way I can add a right border to the label? I tried using a BoxView with <code>WidthRequest = 1</code> and <code>HeightRequest = 10</code> but it did not work. I even tried using an image but that is not good practice. Any help would be appreciated. </p>