Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / ComponentConverter.cs / 1 / 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; } } }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
- RegistryKey.cs
- SimpleHandlerBuildProvider.cs
- FontSourceCollection.cs
- SQLDecimalStorage.cs
- WsatTransactionHeader.cs
- PropertyChangedEventManager.cs
- WMIGenerator.cs
- BigInt.cs
- XmlNodeChangedEventManager.cs
- ColumnReorderedEventArgs.cs
- TextBoxAutomationPeer.cs
- NeutralResourcesLanguageAttribute.cs
- TextOnlyOutput.cs
- ControlParser.cs
- Label.cs
- InstanceCompleteException.cs
- ExpressionEvaluator.cs
- AsymmetricAlgorithm.cs
- Animatable.cs
- DataGridGeneralPage.cs
- RelationHandler.cs
- ImportCatalogPart.cs
- AppSecurityManager.cs
- StaticResourceExtension.cs
- NativeMethods.cs
- EntityContainerAssociationSetEnd.cs
- DataBindEngine.cs
- RegistryPermission.cs
- WinEventHandler.cs
- XmlSchemaComplexContentExtension.cs
- Argument.cs
- DefaultObjectSerializer.cs
- TextLineBreak.cs
- ElementMarkupObject.cs
- SpotLight.cs
- ToolStripComboBox.cs
- DocumentViewerBase.cs
- TextViewElement.cs
- Point.cs
- ListViewInsertedEventArgs.cs
- SignatureHelper.cs
- ResourceManagerWrapper.cs
- ProcessModuleCollection.cs
- DataColumnMapping.cs
- BridgeDataRecord.cs
- WebPartAddingEventArgs.cs
- TrustLevelCollection.cs
- InitialServerConnectionReader.cs
- RemotingAttributes.cs
- WebPartsPersonalization.cs
- UntypedNullExpression.cs
- NameScopePropertyAttribute.cs
- ChannelSinkStacks.cs
- Light.cs
- BrowserInteropHelper.cs
- HeaderUtility.cs
- PrimaryKeyTypeConverter.cs
- GridView.cs
- Char.cs
- BulletedListEventArgs.cs
- ChtmlTextBoxAdapter.cs
- Label.cs
- DbConvert.cs
- IgnoreFileBuildProvider.cs
- SmuggledIUnknown.cs
- SQLInt64Storage.cs
- StateBag.cs
- CompilerTypeWithParams.cs
- CqlErrorHelper.cs
- BaseCollection.cs
- BinaryFormatterWriter.cs
- IPPacketInformation.cs
- Page.cs
- SecurityDocument.cs
- SingleAnimationBase.cs
- EntitySetDataBindingList.cs
- CornerRadius.cs
- EventLogSession.cs
- SqlCacheDependency.cs
- EventItfInfo.cs
- UnsafeMethods.cs
- InputDevice.cs
- CryptoHelper.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- TablePatternIdentifiers.cs
- InvokeHandlers.cs
- KnowledgeBase.cs
- DynamicMethod.cs
- FixedPage.cs
- PageAsyncTask.cs
- StyleTypedPropertyAttribute.cs
- Resources.Designer.cs
- BuilderPropertyEntry.cs
- ObjectStateEntry.cs
- CatalogZoneAutoFormat.cs
- MLangCodePageEncoding.cs
- AddressAccessDeniedException.cs
- GridViewRow.cs
- JournalNavigationScope.cs
- ScrollBarRenderer.cs