Completed
Last Updated: 14 Sep 2018 11:10 by ADMIN
ADMIN
Dilyan Traykov
Created on: 05 Sep 2018 11:13
Category: UI for Silverlight
Type: Bug Report
0
AutoCompleteBox: MinDropDownWidth is not respected in Office2013 theme
The current workaround is to edit the control template of the control and set the MinWidth of the PART_ListBox element:

                   <Popup x:Name="PART_Popup">
						<Grid x:Name="PopupRoot">
							<telerik:RadListBox x:Name="PART_ListBox"
												 MinWidth="{TemplateBinding MinDropDownWidth}"
												MaxHeight="{TemplateBinding MaxDropDownHeight}"
                            ItemsSource="{TemplateBinding FilteredItems}"
                            ItemTemplate="{TemplateBinding DropDownItemTemplate}"
                            FontFamily="{TemplateBinding FontFamily}"
                            FontSize="{TemplateBinding FontSize}"/>
							<Border
                            Background="{Binding Background, ElementName=PART_ListBox}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="1"
                            Width="{Binding ElementName=PART_ListBox, Path=Width}"
                            Visibility="{Binding ElementName=PART_NoResultsContentPresenter, Path=Visibility}">
								<ContentPresenter x:Name="PART_NoResultsContentPresenter"
                                MinWidth="{TemplateBinding MinDropDownWidth}"
                                MaxHeight="{TemplateBinding MaxDropDownHeight}"
                                Content="{TemplateBinding NoResultsContent}"
                                ContentTemplate="{TemplateBinding NoResultsContentTemplate}"
                                Visibility="Collapsed"
                                Margin="5 4"/>
							</Border>
						</Grid>
                   </Popup>
1 comment
ADMIN
Ralitsa
Posted on: 14 Sep 2018 11:09
Hi,

The fix for the issue will be available in next LIB version (2018.3.917). It will also be included in our official version – R3 2018 SP1, scheduled for the mid of October, 2018.

Best regards,
Ralitsa Kumanova