public SearchBar( SearchBarStyle style = SearchBarStyle.normal, DropDownOverlayType filterDropDownOverlayType = DropDownOverlayType.scrollable) { _style = style; _filterDropDownOverlayType = filterDropDownOverlayType; }
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); } }