Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ComponentModel / COM2Interop / COM2ExtendedBrowsingHandler.cs / 1 / COM2ExtendedBrowsingHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms.ComponentModel.Com2Interop { using System.ComponentModel; using System.Diagnostics; using System; ////// /// This is the base class for handlers for COM2 extended browsing interface /// such as IPerPropertyBrowsing, etc. /// /// These handlers should be stateless. That is, they should keep no refs to object /// and should only work on a give object and dispid. That way all objects that /// support a give interface can share a handler. /// /// See COM2Properties for the array of handler classes to interface classes /// where handlers should be registered. /// internal abstract class Com2ExtendedBrowsingHandler{ ////// /// The interface that this handler managers /// such as IPerPropertyBrowsing, IProvidePropertyBuilder, etc. /// public abstract Type Interface{ get; } ////// /// Called to setup the property handlers on a given property /// In this method, the handler will add listeners to the events that /// the COM2PropertyDescriptor surfaces that it cares about. /// public virtual void SetupPropertyHandlers(Com2PropertyDescriptor propDesc){ SetupPropertyHandlers(new Com2PropertyDescriptor[]{propDesc}); } ////// /// Called to setup the property handlers on a given properties /// In this method, the handler will add listeners to the events that /// the Com2PropertyDescriptor surfaces that it cares about. /// public abstract void SetupPropertyHandlers(Com2PropertyDescriptor[] propDesc); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataPagerFieldCommandEventArgs.cs
- ParserStack.cs
- ResourceSetExpression.cs
- WebBrowser.cs
- XmlSchemaException.cs
- SelectionWordBreaker.cs
- TagElement.cs
- Menu.cs
- MemberExpression.cs
- HttpListenerException.cs
- CodeDirectiveCollection.cs
- DataGridViewMethods.cs
- StructuredTypeEmitter.cs
- Privilege.cs
- SecureUICommand.cs
- DataGridViewRowConverter.cs
- DbRetry.cs
- ContentControl.cs
- MenuCommandService.cs
- DataGridViewSelectedCellCollection.cs
- GPRECTF.cs
- HttpCachePolicy.cs
- _NetRes.cs
- SelectionEditingBehavior.cs
- ValidationHelper.cs
- storepermission.cs
- ClientTarget.cs
- UnsafeNativeMethods.cs
- SharedHttpTransportManager.cs
- WebPartsPersonalizationAuthorization.cs
- TextBox.cs
- OdbcPermission.cs
- CodeNamespaceCollection.cs
- ContainerActivationHelper.cs
- FixedMaxHeap.cs
- CompilationUtil.cs
- MetadataArtifactLoaderCompositeResource.cs
- WebRequest.cs
- _HelperAsyncResults.cs
- ImportContext.cs
- SchemaCollectionPreprocessor.cs
- TextSelection.cs
- XmlLanguageConverter.cs
- ToolStripDropDownItem.cs
- DataGridViewCellLinkedList.cs
- DefaultEventAttribute.cs
- ColumnCollectionEditor.cs
- HwndAppCommandInputProvider.cs
- GeometryCombineModeValidation.cs
- UpWmlPageAdapter.cs
- TextSchema.cs
- ImportOptions.cs
- DispatcherHooks.cs
- BitmapImage.cs
- WCFBuildProvider.cs
- AvTraceFormat.cs
- CallbackValidatorAttribute.cs
- DataGridViewIntLinkedList.cs
- RadioButtonAutomationPeer.cs
- LinqDataSourceUpdateEventArgs.cs
- CustomErrorCollection.cs
- PropertyBuilder.cs
- Base64WriteStateInfo.cs
- StrongNameSignatureInformation.cs
- CqlLexer.cs
- SessionStateItemCollection.cs
- ScriptingProfileServiceSection.cs
- DataGridViewAdvancedBorderStyle.cs
- CurrencyManager.cs
- PageBreakRecord.cs
- AudioStateChangedEventArgs.cs
- Models.cs
- WebZone.cs
- HtmlShim.cs
- MenuItemBinding.cs
- OperationAbortedException.cs
- SafeArrayTypeMismatchException.cs
- WebPartEventArgs.cs
- UpdateRecord.cs
- TextChangedEventArgs.cs
- DataServiceRequestException.cs
- oledbmetadatacolumnnames.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ToolStripStatusLabel.cs
- RestHandlerFactory.cs
- EntityKeyElement.cs
- ListViewItemMouseHoverEvent.cs
- ProtocolsConfigurationHandler.cs
- PathData.cs
- QuestionEventArgs.cs
- Binding.cs
- Adorner.cs
- ClrPerspective.cs
- DataBindingHandlerAttribute.cs
- Span.cs
- FormsAuthenticationUser.cs
- ScriptMethodAttribute.cs
- MultidimensionalArrayItemReference.cs
- CategoryGridEntry.cs
- SoapSchemaImporter.cs