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
725
Hiding separation line in UltraCombo
posted

Hi, I have an UltraCombo that shows horizontal lines that separate each item from the others. How can I remove or hide these lines?

Thank you

Parents
  • 71886
    Verified Answer
    Offline posted

    Hi mariela77,

    You could achieve this through the following code:

            private void ultraCombo1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)

            {

                e.Layout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.None;

                e.Layout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.None;

            }

    Please try it out and let me know if you need any additional assistance.

Reply Children