AD
Administrator
Syncfusion Team
June 3, 2008 12:27 PM UTC
Hi Yazan,
As per the current version of Essential Studio we could not set FontListComboBox Popup height explicitly using direct property. However WPF provides the facilty to access the internal controls object reference through Template.FindName property. So we can get the popup object reference like follows and wecould set height of popup control using height property of returned object.
Popup p = (Popup)fontListComboBox_Object.Template.FindName("PART_Popup", fontListComboBox_Object);
p.Height = 200;
Template.FindName will find the specified name only the visualTree gets loaded for the particular control. So we can find the name in Control.Loaded event
like follows.
void FontBox_Loaded(object sender, RoutedEventArgs e)
{
Popup p = (Popup)fontListComboBox_Object.Template.FindName("PART_Popup",fontListComboBox_Object);
p.Height = 200;
}
Direct property for this feature will be available in the next release.
Please let me know if you have further queries.
Thank you for your interest in Syncfusion products.
Thanks,
Bala Vasanth. M