Code:
/ 4.0 / 4.0 / 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. ///// 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
- Pointer.cs
- ObjectReferenceStack.cs
- HandledMouseEvent.cs
- TemplateComponentConnector.cs
- SynchronizationHandlesCodeDomSerializer.cs
- ImportContext.cs
- ActivityBindForm.cs
- WebPartActionVerb.cs
- SamlDoNotCacheCondition.cs
- HttpRuntimeSection.cs
- UIPermission.cs
- AnnotationResourceChangedEventArgs.cs
- ProvideValueServiceProvider.cs
- RuleProcessor.cs
- ApplicationCommands.cs
- CounterSampleCalculator.cs
- ToolStripOverflowButton.cs
- ProfilePropertyNameValidator.cs
- XmlWrappingWriter.cs
- EventHandlerList.cs
- PackageRelationship.cs
- ScrollData.cs
- EdmScalarPropertyAttribute.cs
- KnownIds.cs
- ObjectAnimationUsingKeyFrames.cs
- DtcInterfaces.cs
- LinqDataView.cs
- TagPrefixAttribute.cs
- StreamMarshaler.cs
- CardSpaceException.cs
- SqlCommandSet.cs
- AxisAngleRotation3D.cs
- SQLDouble.cs
- TextLineBreak.cs
- ContentOperations.cs
- Underline.cs
- FontEmbeddingManager.cs
- TrackingSection.cs
- Point4DValueSerializer.cs
- SystemWebCachingSectionGroup.cs
- contentDescriptor.cs
- SystemInfo.cs
- PlanCompilerUtil.cs
- HyperLinkField.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- RayHitTestParameters.cs
- RangeExpression.cs
- VisualTreeUtils.cs
- SqlHelper.cs
- SafeNativeMemoryHandle.cs
- MsmqInputSessionChannelListener.cs
- FontStyleConverter.cs
- GuidelineCollection.cs
- ToolboxItem.cs
- RSAPKCS1SignatureDeformatter.cs
- sortedlist.cs
- _LocalDataStoreMgr.cs
- ProvideValueServiceProvider.cs
- BitmapEffectDrawingContent.cs
- UiaCoreProviderApi.cs
- DataGridViewElement.cs
- FlowchartSizeFeature.cs
- ConfigXmlWhitespace.cs
- ParseHttpDate.cs
- InlineUIContainer.cs
- PhysicalFontFamily.cs
- ExceptionHelpers.cs
- DelimitedListTraceListener.cs
- VisualState.cs
- IPHostEntry.cs
- ExceptionNotification.cs
- SqlBooleanizer.cs
- GestureRecognitionResult.cs
- _StreamFramer.cs
- PageCatalogPart.cs
- ResXDataNode.cs
- TextBoxRenderer.cs
- SHA1CryptoServiceProvider.cs
- SystemInfo.cs
- DataGridViewUtilities.cs
- ZoneLinkButton.cs
- CroppedBitmap.cs
- ComplexTypeEmitter.cs
- ParameterInfo.cs
- SecureConversationVersion.cs
- DataGridViewUtilities.cs
- RijndaelCryptoServiceProvider.cs
- TdsParserStateObject.cs
- MailDefinitionBodyFileNameEditor.cs
- ListViewTableRow.cs
- Size3D.cs
- ReadOnlyDataSource.cs
- BrowserDefinition.cs
- CursorConverter.cs
- StatusBarPanel.cs
- CodeMethodReturnStatement.cs
- AsymmetricCryptoHandle.cs
- BuildProviderUtils.cs
- NoResizeHandleGlyph.cs
- SQLInt64.cs