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
- LinearKeyFrames.cs
- SQlBooleanStorage.cs
- SiteIdentityPermission.cs
- ZoneMembershipCondition.cs
- StreamGeometry.cs
- HttpCookiesSection.cs
- CommandID.cs
- RemoveStoryboard.cs
- AspNetRouteServiceHttpHandler.cs
- WindowsFont.cs
- InvalidEnumArgumentException.cs
- HostingEnvironmentWrapper.cs
- DataSourceHelper.cs
- ProxyAttribute.cs
- ChineseLunisolarCalendar.cs
- ImageMapEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- NameTable.cs
- ToggleButton.cs
- ChtmlLinkAdapter.cs
- InputProviderSite.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- DataSvcMapFileSerializer.cs
- WindowInteractionStateTracker.cs
- ItemCheckedEvent.cs
- storepermissionattribute.cs
- DurableOperationContext.cs
- Baml2006Reader.cs
- GCHandleCookieTable.cs
- UnhandledExceptionEventArgs.cs
- AlternateViewCollection.cs
- PropertyKey.cs
- MasterPageBuildProvider.cs
- RequestResizeEvent.cs
- mactripleDES.cs
- KnownTypesProvider.cs
- TdsParameterSetter.cs
- QuadraticEase.cs
- ServerValidateEventArgs.cs
- util.cs
- Viewport3DVisual.cs
- EnumType.cs
- OdbcParameterCollection.cs
- IntegerFacetDescriptionElement.cs
- GridItem.cs
- XmlTextAttribute.cs
- SymDocumentType.cs
- WebZone.cs
- Recipient.cs
- CharacterShapingProperties.cs
- ViewStateModeByIdAttribute.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- TypedReference.cs
- SqlServer2KCompatibilityCheck.cs
- InternalConfigRoot.cs
- CredentialManagerDialog.cs
- DynamicResourceExtension.cs
- DuplicateWaitObjectException.cs
- ComponentResourceKey.cs
- GridView.cs
- HtmlControlDesigner.cs
- ButtonChrome.cs
- QilTypeChecker.cs
- Block.cs
- PeerCollaborationPermission.cs
- WindowsAltTab.cs
- ServicesExceptionNotHandledEventArgs.cs
- XmlSchemaProviderAttribute.cs
- DataServiceExpressionVisitor.cs
- Border.cs
- AttachedPropertyInfo.cs
- SettingsPropertyWrongTypeException.cs
- StatusBarPanel.cs
- ScopedKnownTypes.cs
- HtmlInputImage.cs
- PropertyGridCommands.cs
- GregorianCalendar.cs
- InputQueueChannelAcceptor.cs
- NestPullup.cs
- MasterPage.cs
- Camera.cs
- HttpHeaderCollection.cs
- DataGridSortingEventArgs.cs
- UnsettableComboBox.cs
- CodeBinaryOperatorExpression.cs
- ViewStateException.cs
- _SslStream.cs
- RegexMatchCollection.cs
- Stack.cs
- SemaphoreSlim.cs
- InkPresenter.cs
- ModelItemImpl.cs
- ClientSideQueueItem.cs
- DispatcherSynchronizationContext.cs
- COM2FontConverter.cs
- Variable.cs
- Rect3DValueSerializer.cs
- ViewService.cs
- GeneralTransform3D.cs
- FontInfo.cs