This question is locked. New answers and comments are not allowed.
Hi,
I would like to hide the maximizetogglebutton when the tile is in minimized state. For this purpose I am using Visual States. However this effect is not getting applied and I am still able to see this togglebutton (which I have customized to be a textblock) Can you please give me some pointers?
Thanks,
Madhu
I would like to hide the maximizetogglebutton when the tile is in minimized state. For this purpose I am using Visual States. However this effect is not getting applied and I am still able to see this togglebutton (which I have customized to be a textblock) Can you please give me some pointers?
<
VisualState
x:Name
=
"Minimized"
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetName
=
"MaximizeToggleButton"
Storyboard.TargetProperty
=
"Visibility"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
Thanks,
Madhu