コード例 #1
0
 public SearchBar(
     SearchBarStyle style = SearchBarStyle.normal,
     DropDownOverlayType filterDropDownOverlayType = DropDownOverlayType.scrollable)
 {
     _style = style;
     _filterDropDownOverlayType = filterDropDownOverlayType;
 }
コード例 #2
0
        internal static FilterItemStylePack FilterItemStylePack(this SearchBarStyle style)
        {
            switch (style)
            {
            case SearchBarStyle.normal:
                return(Components.FilterItemStylePack.Normal);

            case SearchBarStyle.embed:
                return(Components.FilterItemStylePack.Embed);

            default:
                throw new ArgumentOutOfRangeException(nameof(style), style, null);
            }
        }