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
- TokenBasedSetEnumerator.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- PropertyPathConverter.cs
- UseLicense.cs
- TreeIterators.cs
- FacetValues.cs
- serverconfig.cs
- SQLInt32Storage.cs
- EllipseGeometry.cs
- ReadOnlyNameValueCollection.cs
- LinqDataSourceView.cs
- PropertyInformation.cs
- AndCondition.cs
- MethodBuilderInstantiation.cs
- CancelEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- RestHandlerFactory.cs
- ImageButton.cs
- ReversePositionQuery.cs
- StringToken.cs
- SerializationBinder.cs
- DocumentPaginator.cs
- _DomainName.cs
- HtmlGenericControl.cs
- RequestStatusBarUpdateEventArgs.cs
- ClassicBorderDecorator.cs
- unsafeIndexingFilterStream.cs
- XomlCompiler.cs
- Int32KeyFrameCollection.cs
- TimeSpanStorage.cs
- InternalControlCollection.cs
- SetStoryboardSpeedRatio.cs
- DataGridToolTip.cs
- OrthographicCamera.cs
- MultiPageTextView.cs
- ClientFactory.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SID.cs
- Timeline.cs
- ConfigurationSection.cs
- ResourceProperty.cs
- VolatileEnlistmentState.cs
- TdsEnums.cs
- KeyInstance.cs
- ProtocolsConfigurationHandler.cs
- ManipulationPivot.cs
- DSACryptoServiceProvider.cs
- ToolStripSplitStackLayout.cs
- GeneratedCodeAttribute.cs
- SecurityDescriptor.cs
- QilPatternFactory.cs
- sqlpipe.cs
- Lease.cs
- FixedMaxHeap.cs
- XmlCDATASection.cs
- DataGridViewButtonCell.cs
- Predicate.cs
- LabelAutomationPeer.cs
- GPRECT.cs
- MimeParameterWriter.cs
- Regex.cs
- WindowsComboBox.cs
- AggregateException.cs
- CFStream.cs
- DataPointer.cs
- PersonalizationProvider.cs
- ObjectResult.cs
- DBProviderConfigurationHandler.cs
- ListViewInsertEventArgs.cs
- QilReplaceVisitor.cs
- NamespaceEmitter.cs
- DynamicMetaObjectBinder.cs
- SocketInformation.cs
- DataTrigger.cs
- SetIterators.cs
- ResourceAttributes.cs
- MdImport.cs
- SchemaTypeEmitter.cs
- TransactionFlowElement.cs
- MemberAccessException.cs
- XmlWriter.cs
- UnknownBitmapEncoder.cs
- RuleSettings.cs
- SqlInfoMessageEvent.cs
- ToolStripButton.cs
- ApplicationFileParser.cs
- _SecureChannel.cs
- ImageSourceConverter.cs
- Math.cs
- XsltLoader.cs
- TypeDescriptor.cs
- CodeDomDesignerLoader.cs
- LabelLiteral.cs
- Model3D.cs
- PassportAuthentication.cs
- SettingsAttributes.cs
- Resources.Designer.cs
- ServiceOperation.cs
- X509Certificate.cs
- ScrollBar.cs