protected override void Dispose(bool disposing) { if (disposing) { if (registeredButtons != null) { registeredButtons.Clear(); registeredButtons = null; } dropdownMenu = null; dropdownToggle = null; } base.Dispose(disposing); }
internal void Hook(BaseDropdownToggle dropdownToggle) { this.dropdownToggle = dropdownToggle; }