@namespace AntDesign @inherits AntDomComponentBase @{ var prefixCls = $"{RootPrefixCls}-options"; RenderFragment changeSelect = null; RenderFragment goInput = null; RenderFragment gotoButton = null; if (!ChangeSize.HasDelegate && !QuickGo.HasDelegate) { return; } var pageSizeOptions = GetPageSizeOptions(); if (ChangeSize.HasDelegate) { changeSelect = @; } if (QuickGo.HasDelegate) { if (GoButton.HasValue) { var goBtn = GoButton.Value; if (goBtn.IsT0 && goBtn.AsT0 == true) { gotoButton = @; } else if (goBtn.IsT1) { gotoButton = @ @goBtn.AsT1 ; } } goInput = @
@Locale.JumpTo @Locale.Page @gotoButton
; }
  • @changeSelect @goInput
  • }