On our application we have a clickable label which will pop up another window. I have been reading through the Microsoft Automation UI documentation, and can't find a way in which I'm able to click a label control.
I know that I can't use the Invoke Pattern as this only deals with Button controls.
Below is the code from the XAML that we have
<Label Name="LblCompleteOrdersCount" Content="{Binding CompleteOrders, Mode=OneWay}" Margin="434,45,0,0" Height="62" Width="170" Padding="0" HorizontalAlignment="Left" VerticalAlignment="Top" VerticalContentAlignment="Top" FontSize="56" FontWeight="Bold">
<Label.InputBindings>
<MouseBinding Command="{Binding Path=CompleteOrdersCommand}" MouseAction="LeftClick" />
</Label.InputBindings>
</Label>