ToolTip
14 Jun 2019 / 1 minute to read
Tooltip provides additional information about objects that are unfamiliar to users and are not directly displayed in UI. In the Xamarin.iOS SfRating control, tooltip shows the data of Value
. It will be displayed when a rating item is selected and will be disappeared when the rating item is unselected.
Set Tooltip Placement
Rating control provides ToolTip support with rating value using TooltipPlacement
property.
NOTE
By default, this property value is set to None.
TopLeft
The ToolTip will display on top of the SfRating control.
rating.TooltipPlacement = SFRatingTooltipPlacement.TopLeft;
BottomRight
The tooltip will display on bottom of the SfRating control.
rating.TooltipPlacement = SFRatingTooltipPlacement.BottomRight;
None
It is used to invisible the tool tip in the SfRating control.
rating.TooltipPlacement = SFRatingTooltipPlacement.None;
Set ToolTip Precision
The ToolTipPrecision
property sets the number precisions to be displayed after decimal point in ToolTip.
NOTE
The default value of ToolTip precision is 1.
rating.TooltipPrecision = 6;