Is it possible to remove the voice command for a Cell element on HoloLens with Xamarin ?

Guillaume Dewaghe 21 Reputation points
2023-01-03T14:05:17.717+00:00

Good afternoon !
I'm working on a Xamarin application for HoloLens which contains TableViews with Cells on them.
The structure of these Cells looks like this :

<ViewCell AutomationId="No command">  
   <Grid>  
      <Label Grid.Column="0" Text="Some text"/>  
      <Button Grid.Column="1" Text="A" AutomationProperties.Name="Click A"/>  
    </Grid>  
</ViewCell>  

I initialized AutomationId of ViewCell because I changed the CellTemplate base key on the "App.xaml" file on the UWP platform so I can change the AutomationProperties.Name's value which is by default

the namespace + class name
the namespace + class name

> the namespace + class name    

<DataTemplate x:Key="CellTemplate">

<uwp:CellControl HorizontalContentAlignment="Stretch" Height="{Binding Cell.RenderHeight,RelativeSource={RelativeSource Mode=Self},Converter={StaticResource HeightConverter}}" AutomationProperties.Name="{Binding Cell.AutomationId, RelativeSource={RelativeSource Mode=Self}}"/>  

</DataTemplate>

>  

The problem that I have is that most of them don't do something when they are called by voice command at the opposite of the elements in them (like Button, Switch, Entry).

The problem that I have is that most of them don't do something when they are called by voice command at the opposite of the elements in them (like Button, Switch, Entry).    
And that cause to not see the voice commands of the elements inside :     
>  

The problem that I have is that most of them don't do something when they are called by voice command at the opposite of the elements in them (like Button, Switch, Entry).
And that cause to not see the voice commands of the elements inside :
![275726-20230103-140517-hololens-2.jpg][1]

The problem that I have is that most of them don't do something when they are called by voice command at the opposite of the elements in them (like Button, Switch, Entry).    
And that cause to not see the voice commands of the elements inside :     
![275726-20230103-140517-hololens-2.jpg][1]    
Is that possible to remove the voice command of the Cell elements and only have the voice commands of the elements inside ?    
>  

The problem that I have is that most of them don't do something when they are called by voice command at the opposite of the elements in them (like Button, Switch, Entry).
And that cause to not see the voice commands of the elements inside :
![275726-20230103-140517-hololens-2.jpg][1]
Is that possible to remove the voice command of the Cell elements and only have the voice commands of the elements inside ?
Thanks in advance and have a good day !

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
385 questions
{count} votes