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
100
Hide tooltip in Wingrid
posted

I have Wingrid and have added a UltraComboEditor is one of the cells. I need to display the line patterns in dropdown for which  the following code is workin fin

For Each de As DictionaryEntry In supportedLineStyles

 

Dim lineStyleKeyValue As DictionaryEntry = CType(de.Value, DictionaryEntry)

infraItem =

New Infragistics.Win.ValueListItem

 

 

infraItem.DisplayText =

" "

 

 

 

 

 

infraItem.DataValue =

 

CType(lineStyleKeyValue.Key, Integer

)

 

App =

 

New

Infragistics.Win.Appearance

 

 

App.Image = GetImage(

 

CType

(lineStyleKeyValue.Key.ToString, LineStyles))

 

Next

Issue

 

1: ucmbShape.text = selectedItem And when I do mouse over a tooltip appears, Is there any way to hide the tooltip.

2: In the dropdown, the images size is reduced and a grey background is visible (refer to GreyBackground)

However if i add the same control with same code directly on WinForms, it works fine.

Why does the same control behave in different manner?

Thanks

SHipra

 

 

 

 

  • 48586
    posted

    Hello, ­­­­­

     

    I am just checking about the progress of this issue. Let me know If you need my further assistance on this  issue?

     

    Thank you for using Infragistics Components.

  • 48586
    posted

    Hello ,

     

    I am  not exactly sure what is the data in your UltraComboEditor, but if you are set an Pen objects as data of the items, then you could use Draw filter  in order to display the a line for the specific pen. I have implement this suggestion in a small sample. I hope this help.

     

    Please let me know if you have any  further questions or I am missing something.

     

    Sincerely,

    Hristo

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    WindowsFormsApplication22.zip