Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PageContentAsyncResult.cs
- UnsafeNativeMethodsTablet.cs
- MILUtilities.cs
- ProjectionCamera.cs
- IsolatedStorageFilePermission.cs
- EnumConverter.cs
- DaylightTime.cs
- NamespaceList.cs
- SqlResolver.cs
- MenuItemBinding.cs
- WebPartActionVerb.cs
- TemplateGroupCollection.cs
- WebPageTraceListener.cs
- EntityReference.cs
- LocalizableAttribute.cs
- ViewGenerator.cs
- Privilege.cs
- lengthconverter.cs
- UnsignedPublishLicense.cs
- CopyNodeSetAction.cs
- BreakRecordTable.cs
- MetaChildrenColumn.cs
- StateChangeEvent.cs
- SQLByte.cs
- CodeObjectCreateExpression.cs
- HtmlValidatorAdapter.cs
- OperationCanceledException.cs
- XmlQualifiedNameTest.cs
- ContextMenuStrip.cs
- Itemizer.cs
- ClientScriptManagerWrapper.cs
- DataBindingCollection.cs
- SchemaReference.cs
- WSHttpSecurityElement.cs
- OutputCacheSettingsSection.cs
- DataBindingHandlerAttribute.cs
- DataGridColumnHeaderAutomationPeer.cs
- Point4DConverter.cs
- backend.cs
- UserControl.cs
- MainMenu.cs
- ArraySet.cs
- DBBindings.cs
- RSACryptoServiceProvider.cs
- Point4DValueSerializer.cs
- TraceContext.cs
- DefaultBindingPropertyAttribute.cs
- ListMarkerLine.cs
- SelectorAutomationPeer.cs
- TerminateWorkflow.cs
- HttpResponse.cs
- SystemWebSectionGroup.cs
- BuildProviderCollection.cs
- HtmlInputReset.cs
- TextDecorationLocationValidation.cs
- XmlTextEncoder.cs
- LambdaCompiler.Statements.cs
- WebServiceMethodData.cs
- CodeDomSerializationProvider.cs
- Rotation3DAnimation.cs
- Message.cs
- TraceProvider.cs
- TypeElementCollection.cs
- FamilyTypefaceCollection.cs
- WebReferenceCollection.cs
- SendAgentStatusRequest.cs
- Restrictions.cs
- XmlValidatingReader.cs
- Transform3DGroup.cs
- PolyLineSegment.cs
- DbCommandTree.cs
- SiteMap.cs
- RoutedEventValueSerializer.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- AxHost.cs
- Converter.cs
- webbrowsersite.cs
- MemberAccessException.cs
- ExceptionHandlerDesigner.cs
- Roles.cs
- DebugTracing.cs
- TypeLibConverter.cs
- DragDeltaEventArgs.cs
- FixedBufferAttribute.cs
- CTreeGenerator.cs
- DPCustomTypeDescriptor.cs
- CheckBoxStandardAdapter.cs
- Soap.cs
- LoginName.cs
- SecurityIdentifierElement.cs
- SpotLight.cs
- BamlTreeUpdater.cs
- InstanceDescriptor.cs
- DataGridViewCellLinkedList.cs
- XmlAttribute.cs
- SqlTrackingQuery.cs
- EntityDataReader.cs
- DataSetFieldSchema.cs
- ColorPalette.cs
- DoubleAnimationUsingKeyFrames.cs