Czy istnieje sposób na uzyskanie elementu XAML według właściwości Tag?

Is there any way to get the XAML element by its tag value??

Mój kod jest taki:

<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>

Wiążę Tag Property dla Grid, czy jest jakiś sposób na uzyskanie obiektu Grid za pomocą Tag Propertty?

Przepraszam za mniej informacji, że siatka jest w ListBox .. Jak mogę uzyskać dostęp do obiektu siatki?

Dzięki i Reagrds Yashavantha

questionAnswers(1)

yourAnswerToTheQuestion