Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ComponentConverter.cs / 1305376 / ComponentConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using Microsoft.Win32; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Runtime.Serialization.Formatters; using System.Runtime.Remoting; using System.Runtime.InteropServices; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class ComponentConverter : ReferenceConverter { ///Provides a type converter to convert component objects to and /// from various other representations. ////// public ComponentConverter(Type type) : base(type) { } ////// Initializes a new instance of the ///class. /// /// /// public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) { return TypeDescriptor.GetProperties(value, attributes); } ///Gets a collection of properties for the type of component /// specified by the value /// parameter. ////// /// public override bool GetPropertiesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a value indicating whether this object supports properties using the /// specified context. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScrollContentPresenter.cs
- ModelPropertyDescriptor.cs
- MLangCodePageEncoding.cs
- infer.cs
- DropDownList.cs
- StrokeCollectionDefaultValueFactory.cs
- LockRecursionException.cs
- SchemaImporterExtensionElement.cs
- SystemDropShadowChrome.cs
- MiniConstructorInfo.cs
- ForeignConstraint.cs
- CollectionViewSource.cs
- Control.cs
- ColumnResult.cs
- ApplicationDirectory.cs
- SafeViewOfFileHandle.cs
- PerformanceCounterPermissionEntry.cs
- ObsoleteAttribute.cs
- CapabilitiesState.cs
- DataListItemEventArgs.cs
- PathFigureCollectionConverter.cs
- ImageCodecInfoPrivate.cs
- ClientFormsAuthenticationCredentials.cs
- RegexBoyerMoore.cs
- DataServiceResponse.cs
- WebPageTraceListener.cs
- MetaType.cs
- DataViewManager.cs
- CompositeFontParser.cs
- SimpleApplicationHost.cs
- ConnectionProviderAttribute.cs
- SizeAnimation.cs
- SinglePageViewer.cs
- ClientSettingsProvider.cs
- NetTcpSecurityElement.cs
- UserPreferenceChangedEventArgs.cs
- WinFormsSecurity.cs
- CollectionsUtil.cs
- OleAutBinder.cs
- securitymgrsite.cs
- RolePrincipal.cs
- FlowLayoutPanelDesigner.cs
- RenderContext.cs
- HtmlInputSubmit.cs
- SessionEndingEventArgs.cs
- ListBox.cs
- DocComment.cs
- DocumentReference.cs
- CuspData.cs
- MenuItemCollectionEditorDialog.cs
- ProfileBuildProvider.cs
- DesignerVerbCollection.cs
- ConsumerConnectionPointCollection.cs
- EmbossBitmapEffect.cs
- templategroup.cs
- DataGridViewIntLinkedList.cs
- MatrixConverter.cs
- FeatureSupport.cs
- EditingScopeUndoUnit.cs
- PageParserFilter.cs
- DataRowChangeEvent.cs
- IndividualDeviceConfig.cs
- CookielessHelper.cs
- Send.cs
- Policy.cs
- LayoutTableCell.cs
- BookmarkEventArgs.cs
- OrderedDictionaryStateHelper.cs
- Matrix.cs
- InstanceDataCollection.cs
- CheckBox.cs
- mediapermission.cs
- Ray3DHitTestResult.cs
- ToolStripItem.cs
- PriorityChain.cs
- UnionCodeGroup.cs
- AssociationSetEnd.cs
- MouseButton.cs
- JournalEntry.cs
- ErrorEventArgs.cs
- EncoderFallback.cs
- AssertHelper.cs
- XPathPatternParser.cs
- WebConfigurationFileMap.cs
- AgileSafeNativeMemoryHandle.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ToolStripArrowRenderEventArgs.cs
- IPipelineRuntime.cs
- GuidelineSet.cs
- InstancePersistenceCommandException.cs
- DependencyObjectCodeDomSerializer.cs
- StylusEventArgs.cs
- SchemaNames.cs
- TextTreeObjectNode.cs
- MetabaseSettings.cs
- RelationshipManager.cs
- WebPartMenu.cs
- DataRelation.cs
- Table.cs
- ProtocolsConfiguration.cs