When set forecolor, text is cut off

2 posts, 0 answers
  1. willi
    willi avatar
    22 posts
    Member since:
    Oct 2006

    Posted 06 Jun 2013 Link to this post


    When I set 

    newNode.ForeColor = Color.FromArgb(0, 105, 210)

    in 2013.1.321.40 the Text is cut off Like this (see Attachement)

    "LASTNAME ..."

    Whats the problem?

    Kind regards


    Adding all nodes in a loop:
       Dim newNode As New RadTreeNode(String.Format("{0} {1}", row("kut_nachname").ToString.ToUpper, row("kut_vorname")))
                  newNode.ImageKey = keyName
                  If row("kb_freigegeben") = 0 Then
                      newNode.Font = New Font(newNode.Font.Name, New FontStyle() = FontStyle.Bold)
                  End If
                  If row("kut_metaid") > 0 Then
                      newNode.ForeColor = Color.FromArgb(0, 105, 210)
                  End If
                  newNode.Tag = New TreeNodeValue(row.Item("kb_id"), NodeValueType.KursTeilnehmerNode)

  2. Ivan Petrov
    Ivan Petrov avatar
    713 posts

    Posted 11 Jun 2013 Link to this post

    Hello Willi,

    Thank you for writing.

    I tried to reproduce the issue you have described, but I was unable to do so. Generally the ForeColor does not have anything to do with how the text is measured or with AutoEllipsis. I would kindly ask you to send me your project or a sample where you are able to reproduce the issue so I can investigate it further and provide you with an adequate response. To attach files you will have to open a new support ticket. If you decide to do so, please mention this thread so we can update it with any further useful information that might help others searching for a solution to similar problems.

    Looking forward to your reply.

    Ivan Petrov
    RadChart for WinForms is obsolete. Now what?
Back to Top