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
- RadioButtonStandardAdapter.cs
- Convert.cs
- CollectionType.cs
- ToolStripTextBox.cs
- InkCanvasSelectionAdorner.cs
- TextBreakpoint.cs
- WebPartEditVerb.cs
- WriteFileContext.cs
- FreezableCollection.cs
- addressfiltermode.cs
- FileEnumerator.cs
- NameValuePermission.cs
- Brushes.cs
- MasterPageCodeDomTreeGenerator.cs
- TableStyle.cs
- LinkButton.cs
- DataGridViewRow.cs
- CorrelationScope.cs
- MissingManifestResourceException.cs
- Stacktrace.cs
- BufferedOutputStream.cs
- Point3DAnimationUsingKeyFrames.cs
- WmlMobileTextWriter.cs
- Boolean.cs
- WCFServiceClientProxyGenerator.cs
- DataObjectSettingDataEventArgs.cs
- FileCodeGroup.cs
- HTMLTagNameToTypeMapper.cs
- TheQuery.cs
- RowBinding.cs
- ResolveNameEventArgs.cs
- RegexStringValidatorAttribute.cs
- CharEntityEncoderFallback.cs
- RequestCacheValidator.cs
- ParameterCollectionEditor.cs
- PtsHelper.cs
- NonClientArea.cs
- PlacementWorkspace.cs
- ArrayWithOffset.cs
- Part.cs
- KeySplineConverter.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- CompareValidator.cs
- SqlWriter.cs
- ProfileParameter.cs
- SymDocumentType.cs
- TextBoxDesigner.cs
- AssociatedControlConverter.cs
- ObjectQueryExecutionPlan.cs
- SystemFonts.cs
- TextRange.cs
- XamlVector3DCollectionSerializer.cs
- SignedXml.cs
- WebHttpDispatchOperationSelector.cs
- Pointer.cs
- DesignTimeVisibleAttribute.cs
- SessionParameter.cs
- XmlSignatureProperties.cs
- CustomAttributeBuilder.cs
- DetailsViewRow.cs
- SuppressMessageAttribute.cs
- WebUtil.cs
- ArrayWithOffset.cs
- ActiveXSite.cs
- Attributes.cs
- ServerValidateEventArgs.cs
- ButtonFieldBase.cs
- XsdValidatingReader.cs
- InkCanvasFeedbackAdorner.cs
- SectionRecord.cs
- HtmlTernaryTree.cs
- XmlBaseReader.cs
- PieceDirectory.cs
- StrokeCollection.cs
- Int64AnimationUsingKeyFrames.cs
- ManagementBaseObject.cs
- hwndwrapper.cs
- CursorConverter.cs
- PropertyIDSet.cs
- SqlConnectionHelper.cs
- CapabilitiesUse.cs
- _CommandStream.cs
- BrowserCapabilitiesCompiler.cs
- ServiceOperationParameter.cs
- ObjectDataSourceEventArgs.cs
- ProfileGroupSettingsCollection.cs
- ArrayHelper.cs
- SystemResourceKey.cs
- RegexTree.cs
- BoundColumn.cs
- ReadOnlyDictionary.cs
- WFItemsToSpacerVisibility.cs
- GradientStop.cs
- ReadContentAsBinaryHelper.cs
- DataColumnMappingCollection.cs
- ServicePrincipalNameElement.cs
- SignerInfo.cs
- RuntimeWrappedException.cs
- SystemFonts.cs
- OdbcEnvironmentHandle.cs