Mike Tsayper
Mike Tsayper

Reputation: 1802

UWP set background color for GridView item's CheckBox

I mean this gray square at the corner of 'Warlords':

enter image description here

Also i'd like to set one pixel border around it.

Thanks!

Upvotes: 0

Views: 479

Answers (1)

Archana
Archana

Reputation: 3221

Please refer GridViewItem style

In that look for MultiSelectSquare Border control. Below i have given background color of checkbox to Red

<Border x:Name="MultiSelectSquare"
                  Background="Red" BorderThickness="2" BorderBrush="Black"
                  Width="20"
                  Height="20"
                  Margin="0,2,2,0"
                  VerticalAlignment="Top"
                  HorizontalAlignment="Right"
                  Visibility="Collapsed" >

Upvotes: 1

Related Questions