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
- RegexGroupCollection.cs
- CreateUserErrorEventArgs.cs
- SplitterEvent.cs
- TriggerAction.cs
- MetaType.cs
- TextMarkerSource.cs
- ListViewTableRow.cs
- CodeTypeParameter.cs
- StringFormat.cs
- ToolboxItem.cs
- DataBinder.cs
- Ipv6Element.cs
- ByteKeyFrameCollection.cs
- SubtreeProcessor.cs
- AttributeUsageAttribute.cs
- HttpCacheVaryByContentEncodings.cs
- Transform.cs
- PropertyTabChangedEvent.cs
- DataGridAutoFormatDialog.cs
- Positioning.cs
- ToolStripSettings.cs
- TextEditorCopyPaste.cs
- BStrWrapper.cs
- DataSourceExpression.cs
- BmpBitmapEncoder.cs
- BridgeDataReader.cs
- figurelengthconverter.cs
- HScrollBar.cs
- MasterPageBuildProvider.cs
- XamlBuildTaskServices.cs
- ToolStripStatusLabel.cs
- Console.cs
- ToolStripLabel.cs
- ProviderIncompatibleException.cs
- SqlStatistics.cs
- StylusEventArgs.cs
- EntitySetDataBindingList.cs
- IconConverter.cs
- DoubleCollectionConverter.cs
- DataGridViewTextBoxEditingControl.cs
- AutomationIdentifierGuids.cs
- StatusBarPanel.cs
- CompositeControlDesigner.cs
- ZipPackagePart.cs
- RelationshipDetailsCollection.cs
- XmlSchemaAny.cs
- LoadedOrUnloadedOperation.cs
- ImageInfo.cs
- OperationResponse.cs
- Calendar.cs
- BindingsCollection.cs
- EventEntry.cs
- XPathNodeIterator.cs
- TabControlEvent.cs
- PageBreakRecord.cs
- PrivateFontCollection.cs
- Button.cs
- ProfileProvider.cs
- Avt.cs
- MaskInputRejectedEventArgs.cs
- SQLInt64Storage.cs
- NativeWrapper.cs
- autovalidator.cs
- ObjectAnimationBase.cs
- BrowserTree.cs
- DES.cs
- GeneralTransform3DCollection.cs
- WindowsScrollBar.cs
- EventHandlerList.cs
- ReflectPropertyDescriptor.cs
- EntityStoreSchemaFilterEntry.cs
- DesignDataSource.cs
- DataDocumentXPathNavigator.cs
- EncoderNLS.cs
- KeyValuePairs.cs
- AddInToken.cs
- sqlinternaltransaction.cs
- BooleanConverter.cs
- UpdateDelegates.Generated.cs
- ProcessHost.cs
- PhonemeEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- ExtensionCollection.cs
- Console.cs
- GeometryCombineModeValidation.cs
- PropertyPath.cs
- HashHelpers.cs
- ParseElement.cs
- ThicknessAnimation.cs
- AddressHeaderCollection.cs
- FixedTextContainer.cs
- EntityContainer.cs
- SafeCoTaskMem.cs
- ServiceBusyException.cs
- Query.cs
- SchemaNamespaceManager.cs
- BindToObject.cs
- SHA256Managed.cs
- ClientSettingsStore.cs
- TransactionInformation.cs