add AutoComplete for ComboBox

This commit is contained in:
NaBian committed 2019-05-11 19:14:55 +08:00
1 parent da38306a0a
commit 832513af6f
8 files changed
+1152 -17

No files matched your search

@@ -164,11 +164,11 @@ namespace HandyControl.Controls
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
_headerPanel = Template.FindName(HeaderPanelKey, this) as TabPanel;
_headerPanel = GetTemplateChild(HeaderPanelKey) as TabPanel;
if (IsEnableTabFill) return;
_buttonOverflow = Template.FindName(OverflowButtonKey, this) as ContextMenuToggleButton;
_buttonOverflow = GetTemplateChild(OverflowButtonKey) as ContextMenuToggleButton;
if (_buttonOverflow != null)
{
_itemShowCount = (int)(ActualWidth / TabItemWidth);