Existe alguma maneira de obter o elemento XAML pela propriedade Tag?
Is there any way to get the XAML element by its tag value??
Meu código é assim:
<Grid Tap="StackPanel_Tap" Tag="{Binding Type}" >
<Border BorderThickness="0" CornerRadius="0" BorderBrush="White" Width="100" Height="100" HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="1" >
<Image Tag="{Binding Type}" Source="{Binding Location}" Opacity="1" Width="100" Height="100" Stretch="Fill" HorizontalAlignment="Center" VerticalAlignment="Center" UseLayoutRounding="True" >
</Image>
</Border>
</Grid>
Eu estou vinculando a propriedade Tag para Grid, existe alguma maneira de obter um objeto de grade usando Tag Propertty ??
Desculpe por menos informações a coisa é grade está em ListBox .. Como posso acessar o objeto de grade?
Obrigado e Reagrds Yashavantha