Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }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
- ToolStripItemTextRenderEventArgs.cs
- CommandConverter.cs
- AttributeProviderAttribute.cs
- StringSource.cs
- MembershipValidatePasswordEventArgs.cs
- HuffCodec.cs
- ExpressionSelection.cs
- SystemInformation.cs
- ForwardPositionQuery.cs
- FilteredReadOnlyMetadataCollection.cs
- AnonymousIdentificationModule.cs
- AnimationClock.cs
- CodeAttributeDeclaration.cs
- TextCollapsingProperties.cs
- DesignerTransactionCloseEvent.cs
- JpegBitmapEncoder.cs
- ApplicationProxyInternal.cs
- SqlProviderManifest.cs
- FreezableDefaultValueFactory.cs
- CompressEmulationStream.cs
- JournalEntryStack.cs
- NotImplementedException.cs
- Thread.cs
- Math.cs
- SimpleFieldTemplateUserControl.cs
- EdmItemError.cs
- Matrix3D.cs
- EntitySetDataBindingList.cs
- IODescriptionAttribute.cs
- SoapConverter.cs
- DbExpressionVisitor.cs
- WebBrowser.cs
- PointConverter.cs
- fixedPageContentExtractor.cs
- ListDataHelper.cs
- CapabilitiesPattern.cs
- XmlMembersMapping.cs
- EdmProviderManifest.cs
- CellParaClient.cs
- AspNetPartialTrustHelpers.cs
- InputBuffer.cs
- DrawingAttributes.cs
- FileDialog.cs
- WCFBuildProvider.cs
- WindowsFormsHelpers.cs
- ISessionStateStore.cs
- ManagementObjectCollection.cs
- BindingBase.cs
- localization.cs
- RMEnrollmentPage1.cs
- MultitargetUtil.cs
- TypeExtensionConverter.cs
- CodeCommentStatementCollection.cs
- Msec.cs
- XmlSchemaSimpleTypeUnion.cs
- _SslStream.cs
- UrlMappingsModule.cs
- OleDbStruct.cs
- OracleColumn.cs
- CompositeActivityCodeGenerator.cs
- Panel.cs
- VersionedStream.cs
- NestPullup.cs
- SafeFreeMibTable.cs
- DataSourceListEditor.cs
- TextRangeBase.cs
- StoreConnection.cs
- DurableTimerExtension.cs
- CleanUpVirtualizedItemEventArgs.cs
- _NegoState.cs
- Line.cs
- ConsumerConnectionPointCollection.cs
- AlignmentYValidation.cs
- TextEffectCollection.cs
- Int32Rect.cs
- LongMinMaxAggregationOperator.cs
- PerspectiveCamera.cs
- Point3DAnimation.cs
- ActiveXContainer.cs
- xsdvalidator.cs
- RegisteredDisposeScript.cs
- WebRequestModuleElementCollection.cs
- UseAttributeSetsAction.cs
- TextServicesDisplayAttributePropertyRanges.cs
- _IPv6Address.cs
- ColumnHeader.cs
- PatternMatcher.cs
- SamlConstants.cs
- RelationshipManager.cs
- CodeCommentStatementCollection.cs
- CmsInterop.cs
- Signature.cs
- DialogResultConverter.cs
- LineInfo.cs
- SecurityDescriptor.cs
- ConversionHelper.cs
- ParenthesizePropertyNameAttribute.cs
- TextFindEngine.cs
- TextServicesCompartment.cs
- ThemeDirectoryCompiler.cs