do*ne*ba*

Posts 1–4 of 4 · Page 1 of 1
do*ne*ba*
Is there a way to disable the minimize/maximaze button on the ribbon control?

And that weird Quick Access thingy >_<
Code:
Dim SystemI As ArrayList = ribbonControl1.RibbonStrip.GetItems("", GetType(SystemCaptionItem))
Dim item As SystemCaptionItem
For Each item In systemI
   If Not item.IsSystemIcon Then
      item.Visible = False
   End If
Next
There is no such SystemCaptionItem

ahh..namespace

Imports DevComponents.DotNetBar

..btw

this removes all thingys not just maximize/minimize
I know that....

You can use a button to close

or try

Code:
Dim SystemI As ArrayList = ribbonControl1.RibbonStrip.GetItems("", GetType(SystemCaptionItem))
Dim item As SystemCaptionItem
For Each item In systemI -1 
   If Not item.IsSystemIcon Then
      item.Visible = False
   End If
Next
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us