Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
733
Dropdown width of xamwebcomboeditor
posted

Is it possible to make the width of the dropped down list of items wider than the xamwebcomboeditor's width?

  • 760
    posted

    Hello,

    There is not a such public property. However, you can change the control's template in order to specify width of the dropped down list wider than the XamComboEditor's with. Here is an example:

     <Border x:Name="RootPopupElement"
                                            Height="Auto"
                                            MaxHeight="{TemplateBinding MaxDropDownHeight}"
                                            HorizontalAlignment="Stretch"
                                            BorderBrush="{TemplateBinding BorderBrush}"
                                            BorderThickness="{TemplateBinding BorderThickness}"
                                            CornerRadius="3"
                                            MinWidth="500"

    Regards,

     Doychin Dochev