BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
From: Durendal Huynh
Sent: 11/02/2015 07:42 PM
To: Syncfusion Support
Subject: RE: Syncfusion support community forum 120972, CardView Border Removal, has been updated.
Thank you for getting back to me. I need to have each card to have 1 color. The added code below painted the Header and the Item brown, but the white sections/borders remain. How do I make each card solid color please.
<syncfusion:CardView ItemsSource="{Binding Persons}" >
<syncfusion:CardView.HeaderTemplate >
<DataTemplate>
<TextBlock Background="#FF6A2B2B" Foreground="White" >
<TextBlock.Text>
<MultiBinding StringFormat="{}{0} {1}">
<Binding Path="FirstName" />
<Binding Path="LastName" />
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</syncfusion:CardView.HeaderTemplate>
<syncfusion:CardView.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Background="#FF6A2B2B" Foreground="White" Text="Gender :" Grid.Row="0" Grid.Column="0"/>
<TextBlock Background="#FF6A2B2B" Foreground="White" Text="{Binding Gender}" Grid.Row="0" Grid.Column="1"/>
</Grid>
</DataTemplate>
</syncfusion:CardView.ItemTemplate>
</syncfusion:CardView>