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
- CodeEventReferenceExpression.cs
- XmlDataSourceView.cs
- GridEntry.cs
- IListConverters.cs
- _SslSessionsCache.cs
- LinearKeyFrames.cs
- BreakRecordTable.cs
- DbConnectionClosed.cs
- TypeUtils.cs
- SQLMembershipProvider.cs
- ListChangedEventArgs.cs
- XmlNodeList.cs
- ConnectionManagementSection.cs
- CompatibleIComparer.cs
- EventBookmark.cs
- FormatterServices.cs
- ArgumentException.cs
- ProtectedConfiguration.cs
- NodeFunctions.cs
- TextLineResult.cs
- RewritingPass.cs
- ViewManager.cs
- Propagator.cs
- ToolStripMenuItem.cs
- ManagedWndProcTracker.cs
- XmlTextReader.cs
- RegexReplacement.cs
- _AuthenticationState.cs
- shaper.cs
- EntityDataSourceDesigner.cs
- SoapHttpTransportImporter.cs
- HandleCollector.cs
- ObjectDataSourceView.cs
- LambdaCompiler.Generated.cs
- EventProviderBase.cs
- DataRecord.cs
- StructureChangedEventArgs.cs
- ExceptionNotification.cs
- ImageAutomationPeer.cs
- PopupEventArgs.cs
- XmlSchemaInclude.cs
- PathParser.cs
- SizeKeyFrameCollection.cs
- CommonBehaviorsSection.cs
- CombinedGeometry.cs
- IndexOutOfRangeException.cs
- AnnotationObservableCollection.cs
- Constants.cs
- XPathSingletonIterator.cs
- FreezableDefaultValueFactory.cs
- ResourceContainer.cs
- ApplicationDirectory.cs
- NativeMethodsCLR.cs
- NodeLabelEditEvent.cs
- MaterialCollection.cs
- QilBinary.cs
- BoundColumn.cs
- WebPartConnectionsCancelVerb.cs
- CollectionEditorDialog.cs
- mil_commands.cs
- Random.cs
- AddInController.cs
- GreenMethods.cs
- HttpHandler.cs
- EndpointDiscoveryMetadataCD1.cs
- ToolStripSplitButton.cs
- SHA384Managed.cs
- SHA1.cs
- XmlnsCache.cs
- RoleManagerModule.cs
- HttpException.cs
- WinFormsSecurity.cs
- ImageFormat.cs
- COMException.cs
- DataGridRowHeaderAutomationPeer.cs
- ContextDataSourceContextData.cs
- XmlExpressionDumper.cs
- XsdBuildProvider.cs
- TraceContextRecord.cs
- SmtpException.cs
- AutomationPatternInfo.cs
- RSATokenProvider.cs
- EncodingDataItem.cs
- IncrementalHitTester.cs
- AssemblyUtil.cs
- SingleAnimationUsingKeyFrames.cs
- UnsafeNativeMethodsCLR.cs
- Base64Decoder.cs
- DataGridRow.cs
- SuppressedPackageProperties.cs
- Bezier.cs
- MatrixTransform3D.cs
- WebPartMinimizeVerb.cs
- SaveFileDialog.cs
- xmlglyphRunInfo.cs
- BindingWorker.cs
- StateDesigner.Helpers.cs
- DataGridViewRowStateChangedEventArgs.cs
- ToolBar.cs
- ListBoxChrome.cs