Hi,
I was wondering why the ButtonElement of the RadButton is not available through the designer. I see that rootElement is, but if I add a screen tip to that, then the screen tip doesn't show, which is quite confusing.
I've had to add a shared method to our controls project to allow us to add screen tips to buttons like so..
It seems strange to have to add screen tips this way. Could a Screen Tip interface be added to the RadButton at it's root level please?
Thanks
Richard
I was wondering why the ButtonElement of the RadButton is not available through the designer. I see that rootElement is, but if I add a screen tip to that, then the screen tip doesn't show, which is quite confusing.
I've had to add a shared method to our controls project to allow us to add screen tips to buttons like so..
Public Shared Sub AddScreenTip(ByVal button As RadButton, ByVal headerText As String, ByVal bodyText As String) |
If Not button.ButtonElement.ScreenTip Is Nothing Then |
button.ButtonElement.ScreenTip.Items.Clear() |
End If |
Dim Tip As New RadOffice2007ScreenTipElement() |
Tip.CaptionLabel.Text = headerText |
Tip.MainTextLabel.Text = bodyText |
button.ButtonElement.ScreenTip = Tip |
End Sub |
It seems strange to have to add screen tips this way. Could a Screen Tip interface be added to the RadButton at it's root level please?
Thanks
Richard