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
- followingquery.cs
- PrintControllerWithStatusDialog.cs
- ResourcePool.cs
- WpfXamlType.cs
- SamlDelegatingWriter.cs
- DataGridTableCollection.cs
- PixelFormatConverter.cs
- PeerInputChannelListener.cs
- EditorZoneBase.cs
- ThreadNeutralSemaphore.cs
- HostingEnvironment.cs
- WebResourceUtil.cs
- BounceEase.cs
- AppDomainFactory.cs
- LayoutEngine.cs
- WindowsFormsSectionHandler.cs
- DataTableClearEvent.cs
- ServicePoint.cs
- ResourceType.cs
- DataGridPageChangedEventArgs.cs
- NonBatchDirectoryCompiler.cs
- TileBrush.cs
- SimpleTextLine.cs
- TypeLibConverter.cs
- DateTimeAutomationPeer.cs
- unitconverter.cs
- ViewPort3D.cs
- CodeTypeReferenceCollection.cs
- SparseMemoryStream.cs
- RadioButtonPopupAdapter.cs
- PageHandlerFactory.cs
- CreatingCookieEventArgs.cs
- BitmapEffectInput.cs
- DropShadowBitmapEffect.cs
- DesignerCommandAdapter.cs
- DataColumnChangeEvent.cs
- UriScheme.cs
- HtmlElementCollection.cs
- Style.cs
- Win32.cs
- BamlLocalizableResource.cs
- ProvidersHelper.cs
- FixedFlowMap.cs
- XmlSigningNodeWriter.cs
- PathGeometry.cs
- GregorianCalendarHelper.cs
- TransactionTraceIdentifier.cs
- DragEvent.cs
- SafeHandles.cs
- MatrixCamera.cs
- ConstraintEnumerator.cs
- NumericExpr.cs
- XmlLoader.cs
- DBSqlParserTable.cs
- WindowsAuthenticationModule.cs
- PasswordPropertyTextAttribute.cs
- ParserStack.cs
- Size.cs
- HybridObjectCache.cs
- StrokeCollection.cs
- ToolStripCodeDomSerializer.cs
- FactoryRecord.cs
- FrameworkElementFactoryMarkupObject.cs
- BinaryNegotiation.cs
- HttpListenerContext.cs
- RtType.cs
- BaseAppDomainProtocolHandler.cs
- RandomNumberGenerator.cs
- DataGridViewSelectedCellCollection.cs
- RC2.cs
- DataRecordObjectView.cs
- _ChunkParse.cs
- ProtocolsConfigurationEntry.cs
- GlobalProxySelection.cs
- Trace.cs
- PersonalizationProviderHelper.cs
- CompositeActivityTypeDescriptor.cs
- DataFormats.cs
- SchemaAttDef.cs
- CompoundFileReference.cs
- IdentityNotMappedException.cs
- QuotedPrintableStream.cs
- ClientTarget.cs
- FileUtil.cs
- RectValueSerializer.cs
- ResourceDisplayNameAttribute.cs
- SqlXml.cs
- URLAttribute.cs
- ResourceExpressionBuilder.cs
- SiteMapPath.cs
- SecurityMode.cs
- TextDecoration.cs
- AlternateViewCollection.cs
- SendActivityValidator.cs
- TraceHandler.cs
- TypeUtil.cs
- ParserContext.cs
- MarkupProperty.cs
- EditorZoneBase.cs
- LayoutUtils.cs