1 write to ownerItem
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
809
ownerItem
= item;
11 references to ownerItem
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (11)
822
if (
ownerItem
!= null) {
831
if (patternId == NativeMethods.UIA_ExpandCollapsePatternId &&
ownerItem
.HasDropDownItems) {
844
if (
ownerItem
!= null &&
ownerItem
.DropDown != null &&
ownerItem
.DropDown.Visible) {
845
ownerItem
.DropDown.Close();
851
return
ownerItem
.DropDown.Visible ? UnsafeNativeMethods.ExpandCollapseState.Expanded : UnsafeNativeMethods.ExpandCollapseState.Collapsed;
858
return DropDownItemsCount > 0 ?
ownerItem
.DropDown.Items[0].AccessibilityObject : null;
860
return DropDownItemsCount > 0 ?
ownerItem
.DropDown.Items[
ownerItem
.DropDown.Items.Count - 1].AccessibilityObject : null;
874
return
ownerItem
.DropDownItems.Count;