Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ExpandableObjectConverter.cs / 1305376 / ExpandableObjectConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System.Collections; using System.ComponentModel.Design; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class ExpandableObjectConverter : TypeConverter { ///Provides /// a type converter to convert expandable objects to and from various /// other representations. ////// public ExpandableObjectConverter() { } ////// Initializes a new instance of the System.ComponentModel.ExpandableObjectConverter 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 object /// specified by the value /// parameter. ////// /// public override bool GetPropertiesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.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
- TdsParserHelperClasses.cs
- SqlCommand.cs
- ReferenceEqualityComparer.cs
- FontUnitConverter.cs
- CapabilitiesSection.cs
- Int32Rect.cs
- DirectoryInfo.cs
- ImageDrawing.cs
- Label.cs
- ImageClickEventArgs.cs
- DataContractSerializer.cs
- WsatConfiguration.cs
- PagerSettings.cs
- SplitterEvent.cs
- EnlistmentState.cs
- TypeConverterHelper.cs
- RadioButton.cs
- sapiproxy.cs
- UTF8Encoding.cs
- ZipIOExtraFieldZip64Element.cs
- DataGridViewRowStateChangedEventArgs.cs
- LabelInfo.cs
- CustomLineCap.cs
- XmlCodeExporter.cs
- BitmapFrameDecode.cs
- SvcMapFileLoader.cs
- Block.cs
- ProgressPage.cs
- StyleCollection.cs
- SqlXmlStorage.cs
- coordinatorfactory.cs
- OleServicesContext.cs
- EdmComplexTypeAttribute.cs
- SqlDataSource.cs
- QuaternionValueSerializer.cs
- InstanceContext.cs
- Int64KeyFrameCollection.cs
- Helper.cs
- TypeBinaryExpression.cs
- DataColumnCollection.cs
- TabControl.cs
- InfoCardTraceRecord.cs
- TabControlCancelEvent.cs
- IPAddressCollection.cs
- RelatedEnd.cs
- DynamicFilterExpression.cs
- TagPrefixCollection.cs
- XDeferredAxisSource.cs
- SqlOuterApplyReducer.cs
- XmlSchemaRedefine.cs
- BitmapCacheBrush.cs
- DateTimeOffsetStorage.cs
- FilterQuery.cs
- TraceListeners.cs
- XmlUnspecifiedAttribute.cs
- QueryPageSettingsEventArgs.cs
- FixedSOMContainer.cs
- DataGrid.cs
- counter.cs
- ConnectionsZone.cs
- TableLayoutColumnStyleCollection.cs
- GlyphRunDrawing.cs
- Matrix3D.cs
- CngKey.cs
- AlphaSortedEnumConverter.cs
- WindowsFormsHelpers.cs
- ControlBuilderAttribute.cs
- PrePostDescendentsWalker.cs
- PropertyItem.cs
- ComplexObject.cs
- ImageCodecInfo.cs
- WebPartTransformerAttribute.cs
- TreeViewItem.cs
- GroupQuery.cs
- AttributeCollection.cs
- Keyboard.cs
- WebPartUtil.cs
- PointAnimationUsingPath.cs
- ObjectKeyFrameCollection.cs
- ArglessEventHandlerProxy.cs
- TextTreeText.cs
- TileModeValidation.cs
- XmlCountingReader.cs
- CategoryGridEntry.cs
- HttpModule.cs
- RuntimeResourceSet.cs
- WindowsTreeView.cs
- XmlDocumentFragment.cs
- FontStyle.cs
- ReceiveParametersContent.cs
- ControlBuilderAttribute.cs
- safePerfProviderHandle.cs
- Math.cs
- EventHandlerList.cs
- Token.cs
- DataGridViewToolTip.cs
- ManagementEventWatcher.cs
- ElasticEase.cs
- PreviewPrintController.cs
- EventLogPermissionAttribute.cs