Class MenuSection
A section inside a menu, with a heading.
Implements
Inherited Members
      VisualElement.ExecuteDefaultAction(EventBase)
    
    
      VisualElement.Focus()
    
    
    
    
    
    
    
      VisualElement.Overlaps(Rect)
    
    
    
      VisualElement.ToString()
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      VisualElement.GetFirstOfType<T>()
    
    
      VisualElement.GetFirstAncestorOfType<T>()
    
    
    
    
    
    
      VisualElement.canGrabFocus
    
    
      VisualElement.focusController
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      VisualElement.cacheAsBitmap
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    
    
      CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
    
    
      CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
    
    
      CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
    
    
    
    
    
    
    
    
    
    
    
  Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class MenuSection : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
  Constructors
| Name | Description | 
|---|---|
| MenuSection() | Default constructor.  | 
      
Fields
| Name | Description | 
|---|---|
| containerUssClassName | The MenuSection container styling class.  | 
      
| titleUssClassName | The MenuSection title styling class.  | 
      
| ussClassName | The MenuSection main styling class.  | 
      
Properties
| Name | Description | 
|---|---|
| contentContainer | The MenuSection container.  | 
      
| title | The text to display in the section heading.  |