)
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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the TilePressBehavior of the SfHubTile control

Platform: WinRT |
Control: SfHubTile |
Published Date: November 28, 2015 |
Last Revised Date: November 28, 2015

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

 

 

                                                               

 

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon