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
- Point3D.cs
- Compilation.cs
- ParseElementCollection.cs
- IgnoreSectionHandler.cs
- RegexCompiler.cs
- ConfigXmlCDataSection.cs
- SiteMapNodeItemEventArgs.cs
- LayoutUtils.cs
- WinFormsComponentEditor.cs
- TabControlDesigner.cs
- HttpHandlerActionCollection.cs
- SqlNamer.cs
- SmtpNegotiateAuthenticationModule.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XmlSchemaAnnotated.cs
- TraceEventCache.cs
- ToolStripPanel.cs
- RelationshipDetailsRow.cs
- SingleAnimationBase.cs
- RegexTree.cs
- RegexFCD.cs
- FamilyCollection.cs
- MaskDescriptors.cs
- TimeManager.cs
- XmlText.cs
- webeventbuffer.cs
- CalendarModeChangedEventArgs.cs
- FilteredDataSetHelper.cs
- NativeMethods.cs
- EntityDataSource.cs
- VirtualPath.cs
- SelectorAutomationPeer.cs
- XmlTextReader.cs
- HtmlImage.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- AnonymousIdentificationModule.cs
- ServiceContractViewControl.Designer.cs
- DisposableCollectionWrapper.cs
- VarRemapper.cs
- PersonalizationStateInfo.cs
- SerializationEventsCache.cs
- WorkflowQueueInfo.cs
- WorkflowOperationErrorHandler.cs
- QueryReaderSettings.cs
- FontInfo.cs
- FrugalMap.cs
- ToolStripGripRenderEventArgs.cs
- SendActivityEventArgs.cs
- StrokeSerializer.cs
- FrugalMap.cs
- Rect3DConverter.cs
- DBNull.cs
- StylusPlugin.cs
- Pen.cs
- AtomContentProperty.cs
- XmlSchemaComplexContent.cs
- KeyInterop.cs
- SecurityTokenProvider.cs
- TextDocumentView.cs
- OrderedParallelQuery.cs
- DecimalConstantAttribute.cs
- EdmProperty.cs
- ControlDesignerState.cs
- hresults.cs
- codemethodreferenceexpression.cs
- FrameworkContentElement.cs
- DesignBindingEditor.cs
- HtmlElementCollection.cs
- TdsEnums.cs
- CommandCollectionEditor.cs
- ProgressBarBrushConverter.cs
- ConsumerConnectionPoint.cs
- WebBodyFormatMessageProperty.cs
- Tablet.cs
- ClusterRegistryConfigurationProvider.cs
- FixedDocument.cs
- ConnectionManagementElementCollection.cs
- XmlProcessingInstruction.cs
- NativeWrapper.cs
- HebrewCalendar.cs
- DataContractFormatAttribute.cs
- DisableDpiAwarenessAttribute.cs
- FormClosedEvent.cs
- ToolStripDropDownClosingEventArgs.cs
- WindowsStartMenu.cs
- WebPartDisplayMode.cs
- OracleInternalConnection.cs
- TreeNodeEventArgs.cs
- PropertyIDSet.cs
- ColorPalette.cs
- BitStack.cs
- CopyNodeSetAction.cs
- StatusCommandUI.cs
- Encoder.cs
- EventWaitHandle.cs
- HttpContextServiceHost.cs
- ExpandSegment.cs
- XmlMtomWriter.cs
- PropertyIdentifier.cs
- XmlBoundElement.cs