Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ComponentModel / COM2Interop / COM2ExtendedBrowsingHandler.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditorZoneBase.cs
- XmlToDatasetMap.cs
- SqlAggregateChecker.cs
- CompModHelpers.cs
- RMEnrollmentPage2.cs
- NamespaceQuery.cs
- HttpApplicationFactory.cs
- TraceHandler.cs
- CodeSnippetStatement.cs
- Matrix.cs
- GetCertificateRequest.cs
- TextTreeDeleteContentUndoUnit.cs
- DataColumnCollection.cs
- MetaDataInfo.cs
- Menu.cs
- webeventbuffer.cs
- BevelBitmapEffect.cs
- CacheVirtualItemsEvent.cs
- TargetPerspective.cs
- PipelineModuleStepContainer.cs
- CompiledQueryCacheKey.cs
- AccessViolationException.cs
- PropertyDescriptors.cs
- AccessibleObject.cs
- Bitmap.cs
- Material.cs
- AttributeExtensions.cs
- GetIndexBinder.cs
- ServiceErrorHandler.cs
- TextTabProperties.cs
- ColumnCollectionEditor.cs
- ToolStripSettings.cs
- MemberJoinTreeNode.cs
- Wildcard.cs
- NetworkAddressChange.cs
- EventEntry.cs
- CompositeControl.cs
- Mappings.cs
- TokenBasedSet.cs
- ButtonField.cs
- VirtualPathUtility.cs
- RoamingStoreFileUtility.cs
- ApplicationHost.cs
- RestHandler.cs
- CodeBinaryOperatorExpression.cs
- sqlpipe.cs
- FormsAuthenticationUserCollection.cs
- XmlAttributeCache.cs
- CookieParameter.cs
- ListViewItemEventArgs.cs
- SourceFileBuildProvider.cs
- RuntimeHandles.cs
- VScrollBar.cs
- SignatureToken.cs
- StylusPlugInCollection.cs
- ThaiBuddhistCalendar.cs
- XmlSchemas.cs
- DbParameterCollectionHelper.cs
- ProjectionPlanCompiler.cs
- ScriptDescriptor.cs
- LoginUtil.cs
- BooleanToVisibilityConverter.cs
- HtmlShimManager.cs
- TdsValueSetter.cs
- RoleGroupCollection.cs
- WSFederationHttpSecurityMode.cs
- TrustSection.cs
- _Semaphore.cs
- CommonServiceBehaviorElement.cs
- EntityKeyElement.cs
- ColumnResizeUndoUnit.cs
- Line.cs
- TextRunCacheImp.cs
- Config.cs
- HttpException.cs
- DetailsViewInsertedEventArgs.cs
- SemaphoreFullException.cs
- MethodImplAttribute.cs
- ListBoxItemAutomationPeer.cs
- wgx_exports.cs
- SessionChannels.cs
- RectAnimationClockResource.cs
- EventListenerClientSide.cs
- HtmlMeta.cs
- DynamicPropertyHolder.cs
- SlipBehavior.cs
- Quaternion.cs
- FontInfo.cs
- Track.cs
- LinearQuaternionKeyFrame.cs
- ReservationCollection.cs
- XmlTextEncoder.cs
- DbDataAdapter.cs
- GridItem.cs
- PersonalizationProviderCollection.cs
- TypeUsageBuilder.cs
- ObjectQueryState.cs
- SourceFilter.cs
- StateMachineDesignerPaint.cs
- X509CertificateValidator.cs