4 Answers, 1 is accepted
In the current version of RadComboBox this feature is not supported.
If you have any other questions do not hesitate to contact us again.
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I see there is no easy solution to this in Telerik WPF.
This can be done as below.
private void CmbRhythmStanding_OnLoaded(object sender, RoutedEventArgs e)
ControlTemplate ct = CmbRhythmStanding.Template;
System.Windows.Controls.Primitives.Popup pop = ct.FindName("PART_Popup", CmbRhythmStanding) as System.Windows.Controls.Primitives.Popup;
pop.Placement = System.Windows.Controls.Primitives.PlacementMode.Top;
You are right that if you want to change the Placement property of the Popup, you will need to set it directly to the element. What you can use instead of the FindName method is to use our ChildrenOfType<T>() extension method. Still, both approaches need to search in the visual tree to get the Popup element.
Thank you Dinko, I tried it with ChildrenOfType<T>() extension and it works.