public ListBoxItemAccessibleObject(ListBox owningListBox, object itemEntry, ListBoxAccessibleObject owningAccessibleObject) { _owningListBox = owningListBox; _itemEntry = (ItemArray.Entry)itemEntry; _owningAccessibleObject = owningAccessibleObject; _systemIAccessible = owningAccessibleObject.GetSystemIAccessibleInternal(); }
public ListBoxItemAccessibleObject(ListBox owningListBox, ItemArray.Entry itemEntry, ListBoxAccessibleObject owningAccessibleObject) { _owningListBox = owningListBox ?? throw new ArgumentNullException(nameof(owningListBox)); _itemEntry = itemEntry ?? throw new ArgumentNullException(nameof(itemEntry)); _owningAccessibleObject = owningAccessibleObject ?? throw new ArgumentNullException(nameof(owningAccessibleObject)); _systemIAccessible = owningAccessibleObject.GetSystemIAccessibleInternal(); }