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
- DeclarativeCatalogPartDesigner.cs
- ServiceOperationParameter.cs
- GridViewUpdateEventArgs.cs
- DbCommandDefinition.cs
- StrongNameKeyPair.cs
- DataGridLinkButton.cs
- XNameTypeConverter.cs
- ContainerParagraph.cs
- CookieProtection.cs
- util.cs
- SafeArrayTypeMismatchException.cs
- JsonCollectionDataContract.cs
- AuditLevel.cs
- SQLInt64Storage.cs
- EventLogSession.cs
- FixedFlowMap.cs
- TrackBar.cs
- BindingSource.cs
- TextFormatter.cs
- EncryptedXml.cs
- FacetValueContainer.cs
- StrokeNodeOperations2.cs
- CharacterMetricsDictionary.cs
- CryptoKeySecurity.cs
- DocumentViewerHelper.cs
- TextServicesCompartmentContext.cs
- EntityDataSourceWrapper.cs
- NewArray.cs
- ScrollProviderWrapper.cs
- AnnotationObservableCollection.cs
- ObjectListFieldsPage.cs
- PersonalizationAdministration.cs
- PermissionSet.cs
- CodeAttachEventStatement.cs
- GZipStream.cs
- EntityDesignerBuildProvider.cs
- QilSortKey.cs
- MtomMessageEncodingElement.cs
- TextRangeEditTables.cs
- InkCollectionBehavior.cs
- ViewCellSlot.cs
- GPPOINT.cs
- DecoderReplacementFallback.cs
- Misc.cs
- ComponentChangingEvent.cs
- DataTransferEventArgs.cs
- ContainerUtilities.cs
- UIElement3D.cs
- SqlParameter.cs
- QuaternionRotation3D.cs
- NodeLabelEditEvent.cs
- StyleCollection.cs
- ClientScriptManagerWrapper.cs
- ListBindingHelper.cs
- EmptyCollection.cs
- AssemblyUtil.cs
- xmlsaver.cs
- Helpers.cs
- ColumnMapProcessor.cs
- KnownBoxes.cs
- UnsafeMethods.cs
- InProcStateClientManager.cs
- HasCopySemanticsAttribute.cs
- Win32PrintDialog.cs
- AngleUtil.cs
- DSACryptoServiceProvider.cs
- PipelineModuleStepContainer.cs
- DSACryptoServiceProvider.cs
- WmlValidationSummaryAdapter.cs
- XPathDescendantIterator.cs
- DataService.cs
- OdbcDataAdapter.cs
- mansign.cs
- _DisconnectOverlappedAsyncResult.cs
- StubHelpers.cs
- Update.cs
- DataTableTypeConverter.cs
- ViewBox.cs
- ToolZone.cs
- BuiltInExpr.cs
- ToolStripButton.cs
- ComplexObject.cs
- login.cs
- ServiceHostFactory.cs
- WorkflowMarkupSerializationProvider.cs
- StringDictionary.cs
- TimelineCollection.cs
- CodeStatement.cs
- XmlIlGenerator.cs
- PointAnimationUsingPath.cs
- ListViewSortEventArgs.cs
- QilFactory.cs
- FacetValueContainer.cs
- PersistenceTask.cs
- Formatter.cs
- NamedElement.cs
- NumericExpr.cs
- odbcmetadatacollectionnames.cs
- UnsafeNativeMethods.cs
- OdbcInfoMessageEvent.cs