首页 > 其他 > 详细

popupControlContainer控件

时间:2017-09-16 14:41:54      阅读:477      评论:0      收藏:0      [点我收藏+]

一 概述

1、A PopupControlContainer object represents a panel that can contain any controls.

2、This panel can be displayed as a dropdown for DropDownButton controls, bar buttons and the Ribbon Application Button.

二 用法

1、A PopupControlContainer object can be created at design time by dragging the PopupControlContainer component from the Toolbox onto the form.

2、After the panel has been created, you can add controls to it.

3、Bind the panel to a specific DropDownButton control, bar button or Ribbon Application button

        To associate a PopupControlContainer object with a DropDownButton control, use the DropDownButton.DropDownControl property. 

        To associate a PopupControlContainer object with a bar button, assign the container to the BarButtonItem.DropDownControl property.

        To associate a PopupControlContainer object with the Application Button within a Ribbon Form, assign the container tothe RibbonControl.ApplicationButtonDropDownControl property. 

popupControlContainer控件

原文:http://www.cnblogs.com/AngryZe/p/7531010.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!