Share

Autodesk.Windows.RibbonItemResizeStyles Enumeration

Description

This enum is used to specify how the ribbon item should be resized to recover space when there is insufficient space in a ribbon to fit all the panels. One or more flags can be combined to control the style. Not all the values are applicable to all the types of ribbon items.

C#

public enum RibbonItemResizeStyles {
  ChangeSize = 1,
  Collapse = 0x10,
  HideText = 2,
  NoResize = 0,
  ResizeWidth = 4
}

Visual Basic

Public Enum RibbonItemResizeStyles
  ChangeSize = 1
  Collapse = &H10
  HideText = 2
  NoResize = 0
  ResizeWidth = 4
End Enum

Members

Members Description
ChangeSize = 1 The ribbon item changes from large to standard size if there is insufficient space. Only the ribbon items which support a display in different sizes (example RibbonButton) use this value.
Collapse = 0x10 The ribbon item collapses to a button if there is insufficient space. This value is used only by RibbonGallery.
HideText = 2 The ribbon item hides the text if there is insufficient space.
NoResize = 0 The ribbon item remains constant and does not change regardless of available space.
ResizeWidth = 4 The ribbon item resizes in the range from Width to MinWidth if there is insufficient space. Only resizeable ribbon items (example RibbonList) use this value.

Was this information helpful?