Unplanned
Last Updated: 22 Jun 2023 12:16 by Volker
Volker
Created on: 22 Jun 2023 12:16
Category: TabView
Type: Bug Report
0
ListView: Grid Margin is not respected in TemplateCell

When wrapping the cell in a Grid with Margin, the margin does not respect. 

<telerik:RadListView.ItemTemplate>
    <DataTemplate>
        <telerik:ListViewTemplateCell>
            <telerik:ListViewTemplateCell.View>
                <Grid Margin="0,5,0,0" BackgroundColor="LightBlue">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <Label Text="{Binding Title}" FontSize="16"/>
                    <Label Text="{Binding Author}" FontSize="13" 
                        Grid.Row="1" FontAttributes="Italic" TextColor="Gray" />
                </Grid>
            </telerik:ListViewTemplateCell.View>
        </telerik:ListViewTemplateCell>
    </DataTemplate>
</telerik:RadListView.ItemTemplate>

 

 

Attached Files:
0 comments