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
- SQLDecimal.cs
- VectorAnimation.cs
- ThreadAbortException.cs
- LayoutInformation.cs
- CopyNamespacesAction.cs
- Thread.cs
- MarkupExtensionReturnTypeAttribute.cs
- LineBreakRecord.cs
- Method.cs
- BuildProviderUtils.cs
- DelayDesigner.cs
- ContractCodeDomInfo.cs
- ProfileGroupSettings.cs
- BinaryFormatterWriter.cs
- ModuleElement.cs
- ObjectItemConventionAssemblyLoader.cs
- assertwrapper.cs
- UICuesEvent.cs
- ObjectStateManager.cs
- ResXResourceSet.cs
- EventlogProvider.cs
- CodeConditionStatement.cs
- SByteStorage.cs
- ServiceX509SecurityTokenProvider.cs
- CounterCreationDataCollection.cs
- PlanCompiler.cs
- StateMachineSubscriptionManager.cs
- MachinePropertyVariants.cs
- RuntimeComponentFilter.cs
- LambdaCompiler.Logical.cs
- XmlWriterTraceListener.cs
- RuleCache.cs
- TableItemProviderWrapper.cs
- documentation.cs
- SessionEndingEventArgs.cs
- WebOperationContext.cs
- XmlSchemaInferenceException.cs
- TablePattern.cs
- AttributeQuery.cs
- WindowsToolbar.cs
- ModelPerspective.cs
- List.cs
- SchemaImporter.cs
- TriggerAction.cs
- TCPClient.cs
- SubMenuStyleCollection.cs
- RemotingConfiguration.cs
- CustomErrorCollection.cs
- SqlClientMetaDataCollectionNames.cs
- ObjectPersistData.cs
- HttpValueCollection.cs
- MasterPageBuildProvider.cs
- LabelLiteral.cs
- DataGridHelper.cs
- ScriptingWebServicesSectionGroup.cs
- DropDownList.cs
- ReflectPropertyDescriptor.cs
- DataStreams.cs
- ControlTemplate.cs
- WebPartMinimizeVerb.cs
- KeyConverter.cs
- TextShapeableCharacters.cs
- SmiRequestExecutor.cs
- Suspend.cs
- Transform.cs
- DataGridColumnCollectionEditor.cs
- RenderOptions.cs
- ObjectReaderCompiler.cs
- ElementHostPropertyMap.cs
- SQLBoolean.cs
- DesignerCapabilities.cs
- AbstractSvcMapFileLoader.cs
- DiscoveryServerProtocol.cs
- NavigationEventArgs.cs
- InvariantComparer.cs
- ProfileServiceManager.cs
- ComboBox.cs
- AsmxEndpointPickerExtension.cs
- ConsoleKeyInfo.cs
- RelationshipNavigation.cs
- WebPartMenu.cs
- Imaging.cs
- CorrelationManager.cs
- ReflectPropertyDescriptor.cs
- AlternateViewCollection.cs
- StackSpiller.Temps.cs
- EntityDataSourceDataSelection.cs
- ToolStripItemClickedEventArgs.cs
- PageParserFilter.cs
- TrackingDataItem.cs
- DataGridViewSelectedRowCollection.cs
- MetaChildrenColumn.cs
- RowSpanVector.cs
- CodePropertyReferenceExpression.cs
- DbgUtil.cs
- ColorContextHelper.cs
- TreeNodeSelectionProcessor.cs
- Trigger.cs
- SettingsAttributes.cs
- GetPolicyDetailsRequest.cs