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
625
Close Button on Some Tabs, but Not Others?
posted

I'm using the following code to show the 'CloseButton' on my tabs:

Me.UltraTabbedMdiManager1.TabSettings.CloseButtonAlignment = Infragistics.Win.UltraWinTabs.TabCloseButtonAlignment.AfterContent
Me.UltraTabbedMdiManager1.TabSettings.CloseButtonVisibility = Infragistics.Win.UltraWinTabs.TabCloseButtonVisibility.WhenSelectedOrHotTracked

 

But, is there anyway for me to specify this per-tab?  I'd like to have some tabs that can not be closed/not have the close button visible. 

 

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    Yes. On each tab, there is a Settings.CloseButtonVisibility which you can set to Never. The TabSettings on the tabbed mdi manager just serve as defaults for tabs which don't have the corresponding properties set on their Settings object.

Children
No Data