We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to customize the TilePressBehavior of the SfHubTile control

TilePressBehavior:

While pressing the hub tile, the control will be flipped based on the pointer position. This behavior can be customized using following properties.

Rotation Depth:

Rotation depth can be used to customize the depth of the flip effect while pressing the edges of the hub tile.

Scale Depth:

Scale depth can be used to change the depth of the flip effect while pressing the center of the hub tile

Tile Press Duration:

Tile Press Duration can be used to change the time of the flip effect while pressing the center or edges of the hub tile

Example:

XAML

 

 

The following screenshots are the output of the code above:

 

C:\Users\rajkumar.ganesamoort\Music\Sp-2\normal.png

 

Figure 1: Normal State

C:\Users\rajkumar.ganesamoort\Music\Sp-2\Rotation Depth.png

Figure 2: Rotation Depth

 

C:\Users\rajkumar.ganesamoort\Music\Sp-2\Scale Depth.png

Figure 2: Scale Depth

Override Default States:

To disable tile press behavior, set the OverrideDefaultStates property to true.

Example:

XAML

 

 

                                                               

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5811 11/28/2015 11/28/2015 WinRT SfHubTile
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.