ColorPicker / Tooltip Control

Hello Syncfusion Team,

are there any plans for implementing a ColorPicker and a Tooltip Control in Xamarin.Forms?

Thanks and regards,
Dirk

1 Reply

SG Sivaram Ganesan Syncfusion Team May 7, 2018 01:45 PM UTC

Hi Dirk, 
  
Thanks for contacting Syncfusion support. 
  
Query 1: Is there any plans for implementing a ColorPicker in Xamarin.Forms? 
  
We have checked your requirement from our side. We have created a color picker sample using SfRadialMenu. Please find the sample from below link. 
  
  
Could you please check whether this will fulfil your requirement. 
  
Query 2: Is there any plans for implementing a Tooltip in Xamarin.Forms? 
  
You can use the SfPopupLayout control to display as a tool tip.
Click https://help.syncfusion.com/xamarin/sfpopuplayout/getting-started  to refer the UG of SfPopupLayout.
 
  
To display popup as the tool tip, you need to set the SfPopupLayout.PopupView.HeightRequest and SfPopupLayout.PopupView.WidthRequest and Call SfPopupLayout.ShowRelativeToView(relativeView,relativePosition)  or ShowPopupAtTouchPoint() or Show(x,y).  
  
Please find the code snippet below to display popup:

 
//MainPage.xaml  
<ContentPage.Content>  
    <sfPopup:SfPopupLayout x:Name="popupLayout">  
        <sfPopup:SfPopupLayout.PopupView>  
            <sfPopup:PopupView ShowHeader="False" ShowFooter="False" HeightRequest="100"WidthRequest="100">  
                <sfPopup:PopupView.ContentTemplate>  
                    <DataTemplate>  
                        <!-- Content to be displayed in popup -->  
                        <Label Text="Tool tip" BackgroundColor="White"TextColor="Black"/>  
                    </DataTemplate>  
                </sfPopup:PopupView.ContentTemplate>  
            </sfPopup:PopupView>  
        </sfPopup:SfPopupLayout.PopupView>  
        <sfPopup:SfPopupLayout.Content>  
            <!--View on which the popup should be displayed-->  
            <StackLayout>  
                <Button x:Name="showPopupButton" Text="Click to show popup" />  
            </StackLayout>  
        </sfPopup:SfPopupLayout.Content>  
    </sfPopup:SfPopupLayout>  
</ContentPage.Content>  
  
// MainPage.xaml.cs  
  
showPopupButton.Clicked += ShowPopupButton_Clicked;  
  
private void ShowPopupButton_Clicked(object sender, EventArgs e)  
{  
     // Displays popup to the bottom of the button.  
     popupLayout.ShowRelativeToView(sender as View, RelativePosition.AlignBottom);  
     // Displays popup at touch point  
     //popupLayout.ShowAtTouchPoint();  
     // Displays popup at given x and y position  
     //popupLayout.Show(50, 50);  
}  
  
We have prepared a sample to display popup as the tool tip, you can download the same from the below link: 
  
Please get back to us on further assistance on this. 
  
Regards, 
Sivaram G



Loader.
Up arrow icon