3 types derived from ToolStripDropDown
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
24
public class ToolStripDropDownMenu :
ToolStripDropDown
{
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
26
public class ToolStripOverflow :
ToolStripDropDown
, IArrangedElement {
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
817
private class FeedbackDropDown :
ToolStripDropDown
{
1 instantiation of ToolStripDropDown
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
307
return new
ToolStripDropDown
(this, true);
88 references to ToolStripDropDown
System.Windows.Forms (88)
winforms\Managed\System\WinForms\ToolStrip.cs (8)
1245
get { return (this is
ToolStripDropDown
); }
1678
ToolStripDropDown
dropDown = this as
ToolStripDropDown
;
2284
ToolStripDropDown
dropDown = this as
ToolStripDropDown
;
2305
else if (AccessibilityImprovements.Level3 && !(this is
ToolStripDropDown
)) {
2334
ToolStripDropDown
dropDown = this as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (18)
1284
ToolStripDropDown
topmost = GetFirstDropDown();
1289
ToolStripDropDown
topmost = GetFirstDropDown();
2182
ToolStripDropDown
toplevel = this.GetFirstDropDown();
2195
ToolStripDropDown
dropDown = ActiveDropDowns[0] as
ToolStripDropDown
;
2206
ToolStripDropDown
dropDown = dropDowns[i] as
ToolStripDropDown
;
2256
return ((OwnerToolStrip as
ToolStripDropDown
) == null);
2263
internal
ToolStripDropDown
GetFirstDropDown() {
2265
ToolStripDropDown
topmost = this;
2267
ToolStripDropDown
ownerDropDown = topmost.OwnerToolStrip as
ToolStripDropDown
;
2270
ownerDropDown = topmost.OwnerToolStrip as
ToolStripDropDown
;
2275
internal static
ToolStripDropDown
GetFirstDropDown(ToolStrip start) {
2280
ToolStripDropDown
startDropDown = (start as
ToolStripDropDown
);
2290
private
ToolStripDropDown
owner;
2293
public ToolStripDropDownAccessibleObject(
ToolStripDropDown
owner) : base(owner) {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
109
protected override
ToolStripDropDown
CreateDefaultDropDown() {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (8)
24
private
ToolStripDropDown
dropDown = null;
62
public
ToolStripDropDown
DropDown {
305
protected virtual
ToolStripDropDown
CreateDefaultDropDown() {
606
ToolStripDropDown
parent = GetCurrentParentDropDown();
830
if (AccessibilityImprovements.Level3 && propertyID == NativeMethods.UIA_IsOffscreenPropertyId && owner != null && owner.Owner is
ToolStripDropDown
) {
831
return !((
ToolStripDropDown
)owner.Owner).Visible;
943
ToolStripDropDown
dropDown = owner.Owner as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
231
if (e.ToolStrip is
ToolStripDropDown
) {
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
1757
ToolStripDropDown
currentParent = null;
1760
currentParent = ParentInternal as
ToolStripDropDown
;
1764
currentParent = Owner as
ToolStripDropDown
;
2703
internal
ToolStripDropDown
GetCurrentParentDropDown() {
2705
return ParentInternal as
ToolStripDropDown
;
2708
return Owner as
ToolStripDropDown
;
3982
ToolStripDropDown
dropDown = this.parent as
ToolStripDropDown
;
4422
ToolStripDropDown
dropDown = Owner.GetCurrentParentDropDown();
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (2)
238
ToolStripDropDown
dropDown = owner as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripManager.cs (15)
1004
internal static void CloseActiveDropDown(
ToolStripDropDown
activeToolStripDropDown, ToolStripDropDownCloseReason reason) {
1052
ToolStripDropDown
activeToolStripDropDown = activeToolStrip as
ToolStripDropDown
;
1088
ToolStripDropDown
activeDropDown = this.GetActiveToolStripInternal() as
ToolStripDropDown
;
1120
ToolStripDropDown
dropDown = toolStrip as
ToolStripDropDown
;
1149
&& (
ToolStripDropDown
.GetFirstDropDown(toolStrip)
1150
!=
ToolStripDropDown
.GetFirstDropDown(currentActiveToolStrip))) {
1155
ToolStripDropDown
currentActiveToolStripDropDown = currentActiveToolStrip as
ToolStripDropDown
;
1257
else if (!(Control.FromChildHandleInternal(hwndCurrentActiveWindow.Handle) is
ToolStripDropDown
) // its NOT a dropdown
1284
if (control == null || !(control.TopLevelControlInternal is
ToolStripDropDown
)) {
1611
ToolStripDropDown
dropDown = toolStrip as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (10)
164
protected override
ToolStripDropDown
CreateDefaultDropDown() {
530
ToolStripDropDown
parent = this.ParentInternal as
ToolStripDropDown
;
562
ToolStripDropDown
parent = this.ParentInternal as
ToolStripDropDown
;
579
return (this.ParentInternal as
ToolStripDropDown
== null);
960
ToolStripDropDown
dropDown = GetCurrentParentDropDown() as
ToolStripDropDown
;
1412
ToolStripDropDown
dropDown = toolStrip.ActiveDropDowns[0] as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
100
protected override
ToolStripDropDown
CreateDefaultDropDown() {
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (2)
18
if( e.ToolStrip is
ToolStripDropDown
) {
31
else if (e.ToolStrip is
ToolStripDropDown
) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (5)
124
if (toolStrip is
ToolStripDropDown
) {
366
if (toolStrip is
ToolStripDropDown
) {
726
if (toolStrip is
ToolStripDropDown
|| toolStrip is MenuStrip || toolStrip is StatusStrip) {
1032
ToolStripDropDown
toolStripDropDown = e.ToolStrip as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (3)
66
if (toolStrip is
ToolStripDropDown
) {
103
ToolStripDropDown
dropDown = toolStrip as
ToolStripDropDown
;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
412
protected override
ToolStripDropDown
CreateDefaultDropDown() {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (4)
190
FillBackground(g, bounds, (toolStrip is
ToolStripDropDown
) ? SystemColors.ControlLight : e.BackColor);
226
else if (toolStrip is
ToolStripDropDown
) {
227
ToolStripDropDown
toolStripDropDown = toolStrip as
ToolStripDropDown
;