Hi
we are trying to override RadAutoComplete default style. (right click on the control in Document outline window=> Edit Template => Edit A copy)
We would like that the RadListBox Popup that appears when a text is being typed in the RadAutoCompleteBox will have a different style.
(The new popup template will be => TextBlock as a Header than the RadListBox then TextBlock as a footer).
The RadAutoCompleteBox is binded the to a ObservableCollection.
The problem is that the when we try to override the default style (we haven't change it yet, we just use it) no values appear in the ListBox.
If we don't override the default style the RadAutoComplete works fine.
Can you help us solve the problem?
(this section will be overrided to achieve the desired behavior:
<Popup x:Name="PART_Popup">
<Grid x:Name="PopupRoot">
<telerik:RadListBox x:Name="PART_ListBox" CanKeyboardNavigationSelectItems="{x:Null}" IsTabStop="False" ItemTemplate="{TemplateBinding DropDownItemTemplate}" IsTextSearchEnabled="True" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding MinDropDownWidth}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" SelectedValueBinding="{x:Null}" TextBinding="{x:Null}" KeyboardNavigation.TabNavigation="Once">
<telerik:StyleManager.Theme>
<telerik:Office_BlackTheme/>
</telerik:StyleManager.Theme>
</telerik:RadListBox>
</Grid>
</Popup>
)
we are trying to override RadAutoComplete default style. (right click on the control in Document outline window=> Edit Template => Edit A copy)
We would like that the RadListBox Popup that appears when a text is being typed in the RadAutoCompleteBox will have a different style.
(The new popup template will be => TextBlock as a Header than the RadListBox then TextBlock as a footer).
The RadAutoCompleteBox is binded the to a ObservableCollection.
The problem is that the when we try to override the default style (we haven't change it yet, we just use it) no values appear in the ListBox.
If we don't override the default style the RadAutoComplete works fine.
Can you help us solve the problem?
(this section will be overrided to achieve the desired behavior:
<Popup x:Name="PART_Popup">
<Grid x:Name="PopupRoot">
<telerik:RadListBox x:Name="PART_ListBox" CanKeyboardNavigationSelectItems="{x:Null}" IsTabStop="False" ItemTemplate="{TemplateBinding DropDownItemTemplate}" IsTextSearchEnabled="True" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding MinDropDownWidth}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" SelectedValueBinding="{x:Null}" TextBinding="{x:Null}" KeyboardNavigation.TabNavigation="Once">
<telerik:StyleManager.Theme>
<telerik:Office_BlackTheme/>
</telerik:StyleManager.Theme>
</telerik:RadListBox>
</Grid>
</Popup>
)