public static TView Menu <TView>(this TView view, Menu value) where TView : View { FlexLayout.SetMenu(view, value); return(view); }