narrator is reading WPF controls that are hidden or collapsed. How to stop reading controls which are not vissible in WPF? RRS feed

  • Question

  • Hi ,

    I have a WPF form in which few controls are hidden using setting Visibility="Hidden"  or Visibility="Collapsed".

    So end user will not see this controls on Form but using Narrator this controls are getting read.

    How to skip this controls from reading using Narrator.  CAPS + Right Arrow key will go control by control on hidden controls also.

    Windows 8 Narrator .....

    <Window x:Class="WpfApplicationHidden.MainWindow"



            Title="MainWindow" Height="350" Width="525">


            <Label Content="Hello label" Height="28" HorizontalAlignment="Left" Margin="174,79,0,0" Name="label1" VerticalAlignment="Top" />

            <TextBlock Height="23" HorizontalAlignment="Left" Margin="174,126,0,0" Name="textBlock1" Text="Hello Text block" VerticalAlignment="Top" Visibility="Collapsed" />

            <TextBlock Height="23" HorizontalAlignment="Left" Margin="146,231,0,0" Name="textBlock2" Text="bye bye" VerticalAlignment="Top" Visibility="Hidden" />



    Thanks in Advance......

    Vijayanand Gawle +91-9866492976

    Thursday, July 4, 2013 8:55 AM


All replies