예제 #1
0
                public override IUIControl TouchesEnded(PointF touch)
                {
                    RectangleF boundingBox = GetHitTarget( );

                    if (boundingBox.Contains(touch))
                    {
                        Revealed = !Revealed;

                        float targetFade = 1.0f - PlatformLabel.GetFade( );

                        PlatformLabel.AnimateToFade(targetFade);
                        return(this);
                    }

                    return(null);
                }