Introduction
The popup window, as a lightweight alternative of dialog box, is widely used in many kinds of software applications. The Popup class is a UI container that can hold any UI elements and can be popped up in another UI container. This article shows you how to use the Popup to create your own dropdown-like window.
Background
Functionally, the Popup is a lightweight alternative of the modal or modeless dialog box. Probably the most well-known example of the Popup is the ComboBox, aka dropdown. If you use the Expression Blend to examine theComboBox, you can find it consists of a ToggleButton and a Popup hosting an ItemsPresenter. You can certainly replace the ItemsPresenter to something else so that you can customize the ComboBox. And you can create your own dropdown-like Popup to host any UI elements.
The popup window, as a lightweight alternative of dialog box, is widely used in many kinds of software applications. The Popup class is a UI container that can hold any UI elements and can be popped up in another UI container. This article shows you how to use the Popup to create your own dropdown-like window.
Background
Functionally, the Popup is a lightweight alternative of the modal or modeless dialog box. Probably the most well-known example of the Popup is the ComboBox, aka dropdown. If you use the Expression Blend to examine theComboBox, you can find it consists of a ToggleButton and a Popup hosting an ItemsPresenter. You can certainly replace the ItemsPresenter to something else so that you can customize the ComboBox. And you can create your own dropdown-like Popup to host any UI elements.
Read More...
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
No comments:
Post a Comment