locked
How ways to binding by Visibility="Visible"???

    Question

  • <ListView x:Name="lstShowResults" IsItemClickEnabled="False" IsRightTapEnabled="False"> <ListView.ItemTemplate> <DataTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="auto"></RowDefinition> </Grid.RowDefinitions>

    <Grid Grid.Row="0">

    <TextBlock Text="{Binding NameUS}" FontSize="15" Foreground="Black" Margin="5"></TextBlock>

    </grid>

    If the "<TextBlock Text="{Binding NameUS}"" get data then "Grid.Row="0"" will be Visible what else is Collapsed(NameUs ==null). How ways to resolve it???

    Monday, March 30, 2015 5:25 AM

All replies