Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
UltraFormattedTextEditor cursor change
posted

What is the property to set default the cursor and provide access to a link when hovering over the link without having to press the Ctrl key?

Parents
No Data
Reply
  • 53790
    posted

    Hello crabman,

    At that moment we have not such kind functionality in our UltraFormattedtextEditor. You could achieve desired behavior if you are using UltraFormattedLinkLabel. If it is not possible to use UltraFormattedLinkLabel in your scenario, then maybe you could try to code below:

    private void ultraFormattedTextEditor1_LinkClicked(object sender, Infragistics.Win.FormattedLinkLabel.LinkClickedEventArgs e)

    {

        MessageBox.Show("LinkClicked event fired");

    }

     

    private void ultraFormattedTextEditor1_MouseClick(object sender, MouseEventArgs e)

    {

        if (Cursor.Current == Cursors.Hand)

        {

            ultraFormattedTextEditor1_LinkClicked(sender, null);

        }

    }

    Let me know if you have any questions.

    Regards

Children