Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / ExpandableObjectConverter.cs / 1 / 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. ///// 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
- DecoderFallbackWithFailureFlag.cs
- DataGridToolTip.cs
- _NegoStream.cs
- SafeNativeMethods.cs
- PeerNameRecord.cs
- PropertyCondition.cs
- AlgoModule.cs
- EventTask.cs
- FlowDocumentView.cs
- PlatformNotSupportedException.cs
- QueryOperatorEnumerator.cs
- ClientRuntimeConfig.cs
- AssemblyCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- HelpEvent.cs
- SrgsOneOf.cs
- ObjectAnimationUsingKeyFrames.cs
- URL.cs
- TreeViewItem.cs
- ManagementObject.cs
- FixedSOMLineRanges.cs
- ReflectEventDescriptor.cs
- TabControl.cs
- DayRenderEvent.cs
- SmiSettersStream.cs
- IPGlobalProperties.cs
- FontClient.cs
- XPathNodeInfoAtom.cs
- Normalization.cs
- ActivationArguments.cs
- SoapServerProtocol.cs
- DbConnectionClosed.cs
- MD5CryptoServiceProvider.cs
- ComboBox.cs
- TextEditorLists.cs
- ZipIOExtraFieldPaddingElement.cs
- GuidelineSet.cs
- DataControlField.cs
- UDPClient.cs
- XmlEncoding.cs
- DataSourceControlBuilder.cs
- DoubleLinkList.cs
- BrowserInteropHelper.cs
- SessionPageStateSection.cs
- AnalyzedTree.cs
- CreateUserWizardStep.cs
- Enum.cs
- rsa.cs
- GridViewDesigner.cs
- AdvancedBindingPropertyDescriptor.cs
- ImageConverter.cs
- BaseComponentEditor.cs
- CacheAxisQuery.cs
- LZCodec.cs
- fixedPageContentExtractor.cs
- WebBrowserNavigatingEventHandler.cs
- Figure.cs
- ChineseLunisolarCalendar.cs
- HtmlAnchor.cs
- HwndSourceKeyboardInputSite.cs
- SMSvcHost.cs
- DragCompletedEventArgs.cs
- SafeProcessHandle.cs
- InvalidDataException.cs
- DictionaryContent.cs
- DragDeltaEventArgs.cs
- CacheRequest.cs
- TraceProvider.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- StringPropertyBuilder.cs
- FontUnit.cs
- DBConnectionString.cs
- SchemaObjectWriter.cs
- NavigationEventArgs.cs
- UnsafeNativeMethodsMilCoreApi.cs
- InputLangChangeRequestEvent.cs
- GeneralTransform3D.cs
- SmiMetaDataProperty.cs
- ComponentResourceKey.cs
- HttpHandlerActionCollection.cs
- _AuthenticationState.cs
- XmlnsDefinitionAttribute.cs
- EditingCommands.cs
- BuildResult.cs
- DisposableCollectionWrapper.cs
- WebExceptionStatus.cs
- SchemaCollectionPreprocessor.cs
- Size.cs
- VerificationException.cs
- Pen.cs
- EventBuilder.cs
- PassportAuthenticationEventArgs.cs
- DataGridCellsPresenter.cs
- PageSetupDialog.cs
- SqlConnectionString.cs
- IHttpResponseInternal.cs
- LinqDataSource.cs
- Interlocked.cs
- StorageMappingFragment.cs
- PnrpPermission.cs