Code:
/ DotNET / DotNET / 8.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
- CallbackValidatorAttribute.cs
- QuaternionKeyFrameCollection.cs
- Closure.cs
- OrderedDictionaryStateHelper.cs
- DataGridAddNewRow.cs
- Point3DAnimationBase.cs
- ExternalCalls.cs
- DBParameter.cs
- Marshal.cs
- AddInServer.cs
- _NtlmClient.cs
- Aes.cs
- DataGridViewImageColumn.cs
- HtmlElementErrorEventArgs.cs
- BrowserDefinition.cs
- M3DUtil.cs
- DoubleLinkListEnumerator.cs
- MetaDataInfo.cs
- TypeDelegator.cs
- AVElementHelper.cs
- FileSystemEventArgs.cs
- AttributeUsageAttribute.cs
- CustomAssemblyResolver.cs
- TableLayoutSettings.cs
- ControlCachePolicy.cs
- MexHttpBindingCollectionElement.cs
- TraceSection.cs
- WebDescriptionAttribute.cs
- MenuEventArgs.cs
- VisualBasicReference.cs
- TextComposition.cs
- itemelement.cs
- PostBackOptions.cs
- WmlLinkAdapter.cs
- NavigationEventArgs.cs
- MultiDataTrigger.cs
- CultureSpecificStringDictionary.cs
- HttpCachePolicy.cs
- PointConverter.cs
- UnionCodeGroup.cs
- IconEditor.cs
- BCLDebug.cs
- AnnotationComponentManager.cs
- CapabilitiesSection.cs
- EntityTypeEmitter.cs
- DbParameterCollectionHelper.cs
- RadioButton.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebServiceParameterData.cs
- SHA1.cs
- TimeoutValidationAttribute.cs
- CurrentChangingEventArgs.cs
- RegexBoyerMoore.cs
- FullTextLine.cs
- BaseAppDomainProtocolHandler.cs
- Walker.cs
- SerialPinChanges.cs
- XmlWhitespace.cs
- latinshape.cs
- ContainsRowNumberChecker.cs
- ConnectivityStatus.cs
- SoapIgnoreAttribute.cs
- PermissionSetTriple.cs
- XsdCachingReader.cs
- WindowProviderWrapper.cs
- MediaScriptCommandRoutedEventArgs.cs
- Knowncolors.cs
- ShaderRenderModeValidation.cs
- ParseElement.cs
- IPCCacheManager.cs
- DataGridPageChangedEventArgs.cs
- SafeCryptoHandles.cs
- IndexingContentUnit.cs
- DesignerForm.cs
- OdbcCommand.cs
- BitConverter.cs
- ScaleTransform3D.cs
- SmiContextFactory.cs
- TrustDriver.cs
- EncoderBestFitFallback.cs
- SafeRightsManagementQueryHandle.cs
- CompositionAdorner.cs
- VoiceChangeEventArgs.cs
- RuntimeConfigLKG.cs
- SkinIDTypeConverter.cs
- Mappings.cs
- IisTraceWebEventProvider.cs
- ReaderWriterLockWrapper.cs
- StorageEntityContainerMapping.cs
- IisTraceListener.cs
- SQLDecimalStorage.cs
- sqlpipe.cs
- XmlElementAttributes.cs
- SafeBitVector32.cs
- HttpHandlersSection.cs
- DtdParser.cs
- RequestStatusBarUpdateEventArgs.cs
- SSmlParser.cs
- SafeSecurityHandles.cs
- XsdBuildProvider.cs