Articles in this section
Category / Section

How to keep WPF SfMultiColumnDropDownControl stay open always?

1 min read

In SfMultiColumnDropDownControl, the drop-down control is displayed using Popup control. So, you can keep the drop-down control in an always open state by setting the StaysOpen property to True’ in the Popup control. Popup control can be accessed from the control template of SfMultiColumnDropDownControl, by using the FindName method.

C#

MultiColumnControl.Loaded += MultiColumnControl_Loaded;
void MultiColumnControl_Loaded(object sender, RoutedEventArgs e)
{
    var popup = MultiColumnControl.Template.FindName("PART_Popup", MultiColumnControl) as Popup;
    popup.StaysOpen = true;
}

 

Here, the Popup control is accessed by passing the SfMultiColumnDropDownControl name as MultiColumnControl and the Popup control name as PART_Popup to FindName method. By setting the StaysOpen property to True’, you can keep the drop-down in open state always.

You can refer to the sample from the following location.

WPF: MultiColumnDropDownDemo_WPF



Conclusion

I hope you enjoyed learning about how to keep WPF SfMultiColumnDropDownControl stay open always.

You can refer to our WPF DataGrid feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF DataGrid example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial
to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied