VisualStateManager.GoToState returns false and Visual State is not changed
问题 I have this XAML code: <Button x:Name="btnStartRecord" Visibility="Collapsed"> <Button.BorderBrush> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="Black" Offset="0"/> <GradientStop Color="#FFF3883E" Offset="1"/> </LinearGradientBrush> </Button.BorderBrush> </Button> <Button x:Name="btnStopRecord" Visibility="Collapsed"> <Button.BorderBrush> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="Black" Offset="0"/> <GradientStop Color="