popupControlContainer控件

Posted AngryZe

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了popupControlContainer控件相关的知识,希望对你有一定的参考价值。

一 概述

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控件的主要内容,如果未能解决你的问题,请参考以下文章

Vue日历控件

c# winform 中循环控件

wpf控件设计时支持

C#winform动态添加控件

delphi 渐变颜色进度条 控件

Android控件使用 — 12个Material Design风格控件的使用