'Declaration Public Property PopupItem As Infragistics.Win.IPopupItem
public Infragistics.Win.IPopupItem PopupItem {get; set;}
The PopupItem property specifies the object that will display the dropdown window. This can be any object that implements the Infragistics.Win.IPopupItem interface including the UltraPopupControlContainer or any PopupToolBase type tool from an UltraToolbarsManager component (e.g. PopupMenuTool, PopupColorPickerTool, PopupControlContainer type tools).
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.Misc Private Sub frmUltraDropDownButton_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'The PopupItem property may be set to any object that implements the IPopupItem 'interface. Currently that includes the UltraPopupControlContainer component 'and several tools from the UltraToolbarsManager include PopupMenuTool, 'PopupControlContainerTool, and PopupColorPickerTool ' ' initialize the PopupItem to the object ' that will provide the dropdown window Me.ultraDropDownButton1.PopupItem = Me.ultraPopupControlContainer1 'The following UltraToolbarsManager tools also implement 'the IPopupItem interface and may be used to provide the 'dropdown window for an UltraDropDownButton control. ' 'Dim popupMenu As Infragistics.Win.UltraWinToolbars.PopupMenuTool 'popupMenu = CType(Me.UltraToolbarsManager1.Tools("PopupMenuTool1"), Infragistics.Win.UltraWinToolbars.PopupMenuTool) 'Me.ultraDropDownButton1.PopupItem = popupMenu 'Dim popupContainer As Infragistics.Win.UltraWinToolbars.PopupControlContainerTool 'popupContainer = CType(Me.UltraToolbarsManager1.Tools("PopupControlContainerTool1"), Infragistics.Win.UltraWinToolbars.PopupControlContainerTool) 'Me.ultraDropDownButton1.PopupItem = popupContainer 'Dim popupColor As Infragistics.Win.UltraWinToolbars.PopupColorPickerTool 'popupColor = CType(Me.UltraToolbarsManager1.Tools("PopupColorPickerTool1"), Infragistics.Win.UltraWinToolbars.PopupColorPickerTool) 'Me.ultraDropDownButton1.PopupItem = popupColor End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.Misc; private void frmUltraDropDownButton_Load(object sender, System.EventArgs e) { //The PopupItem property may be set to any object that implements the IPopupItem //interface. Currently that includes the UltraPopupControlContainer component //and several tools from the UltraToolbarsManager include PopupMenuTool, //PopupControlContainerTool, and PopupColorPickerTool // // initialize the PopupItem to the object // that will provide the dropdown window this.ultraDropDownButton1.PopupItem = this.ultraPopupControlContainer1; //The following UltraToolbarsManager tools also implement //the IPopupItem interface and may be used to provide the //dropdown window for an UltraDropDownButton control. // //Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenu; //popupMenu = this.UltraToolbarsManager1.Tools["PopupMenuTool1"] as Infragistics.Win.UltraWinToolbars.PopupMenuTool; //this.ultraDropDownButton1.PopupItem = popupMenu; // //Infragistics.Win.UltraWinToolbars.PopupControlContainerTool popupContainer; //popupContainer = this.UltraToolbarsManager1.Tools["PopupControlContainerTool1"] as Infragistics.Win.UltraWinToolbars.PopupControlContainerTool; //this.ultraDropDownButton1.PopupItem = popupContainer; // //Infragistics.Win.UltraWinToolbars.PopupColorPickerTool popupColor; //popupColor = this.UltraToolbarsManager1.Tools["PopupColorPickerTool1"] as Infragistics.Win.UltraWinToolbars.PopupColorPickerTool; //this.ultraDropDownButton1.PopupItem = popupColor; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2