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
- ObjectDataSourceDisposingEventArgs.cs
- DataTableReaderListener.cs
- MatrixStack.cs
- GridViewCancelEditEventArgs.cs
- SQLBytesStorage.cs
- OpenTypeMethods.cs
- ConfigurationSectionGroupCollection.cs
- SqlDataSource.cs
- SplitterEvent.cs
- WmiPutTraceRecord.cs
- StateMachineWorkflow.cs
- IteratorFilter.cs
- StrokeCollectionDefaultValueFactory.cs
- EpmSourcePathSegment.cs
- While.cs
- filewebrequest.cs
- SessionStateItemCollection.cs
- DbConnectionPoolIdentity.cs
- ControlParameter.cs
- NonSerializedAttribute.cs
- VisualStateChangedEventArgs.cs
- AlignmentYValidation.cs
- TypedDatasetGenerator.cs
- AssertSection.cs
- BinaryReader.cs
- ClosableStream.cs
- EnumValidator.cs
- FixedSchema.cs
- webbrowsersite.cs
- ControlIdConverter.cs
- FileDataSourceCache.cs
- DatatypeImplementation.cs
- DataBoundControlAdapter.cs
- CalendarDay.cs
- HtmlMobileTextWriter.cs
- ConstructorNeedsTagAttribute.cs
- ManagedCodeMarkers.cs
- XAMLParseException.cs
- XPathAncestorQuery.cs
- FieldCollectionEditor.cs
- MemberInfoSerializationHolder.cs
- MediaCommands.cs
- MonthChangedEventArgs.cs
- ManagementEventArgs.cs
- GregorianCalendar.cs
- ControlValuePropertyAttribute.cs
- DbConnectionPoolCounters.cs
- TransformPattern.cs
- MatrixKeyFrameCollection.cs
- MissingManifestResourceException.cs
- DiagnosticTraceSchemas.cs
- CodeTypeReferenceExpression.cs
- SafeNativeMethods.cs
- X509ClientCertificateAuthenticationElement.cs
- RemoteCryptoDecryptRequest.cs
- CommentEmitter.cs
- ManipulationDeltaEventArgs.cs
- SqlTriggerAttribute.cs
- SID.cs
- _NegotiateClient.cs
- InspectionWorker.cs
- DesigntimeLicenseContext.cs
- ToolBarButtonClickEvent.cs
- Lease.cs
- PhysicalOps.cs
- GlobalProxySelection.cs
- MatrixValueSerializer.cs
- SynchronizationValidator.cs
- TraceHandler.cs
- ScrollableControl.cs
- EllipticalNodeOperations.cs
- SQLInt64.cs
- SqlDependencyUtils.cs
- ConfigDefinitionUpdates.cs
- WebPartEditorApplyVerb.cs
- ServerTooBusyException.cs
- XmlSchemaCompilationSettings.cs
- BaseServiceProvider.cs
- UpdatePanelTrigger.cs
- UidManager.cs
- FaultCode.cs
- ComponentCollection.cs
- VersionedStreamOwner.cs
- DetailsViewInsertEventArgs.cs
- OdbcInfoMessageEvent.cs
- RoutedCommand.cs
- ObjectQuery.cs
- XmlSchemaNotation.cs
- HttpModuleAction.cs
- CredentialSelector.cs
- Normalizer.cs
- ContentPlaceHolder.cs
- AdornerDecorator.cs
- PageTheme.cs
- SamlAudienceRestrictionCondition.cs
- ControlAdapter.cs
- TextTreeObjectNode.cs
- IsolatedStorageFile.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- XsltCompileContext.cs