Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ArraySegment.cs
- ProxyGenerator.cs
- PropertyBuilder.cs
- SettingsAttributeDictionary.cs
- ResourceContainer.cs
- SspiSafeHandles.cs
- LocalizableResourceBuilder.cs
- DataGridViewRowsRemovedEventArgs.cs
- TemplateBindingExtension.cs
- XPathScanner.cs
- ResXResourceWriter.cs
- SoapAttributeAttribute.cs
- FrameworkElementFactoryMarkupObject.cs
- safePerfProviderHandle.cs
- CodeSnippetTypeMember.cs
- DataGridColumnHeaderCollection.cs
- CodeStatementCollection.cs
- LocatorPartList.cs
- ImageBrush.cs
- XmlSerializationReader.cs
- KeyValuePair.cs
- Font.cs
- GPRECTF.cs
- VerificationException.cs
- GlobalEventManager.cs
- Attributes.cs
- XmlILStorageConverter.cs
- DrawingDrawingContext.cs
- StringCollectionMarkupSerializer.cs
- TrimSurroundingWhitespaceAttribute.cs
- ListViewInsertEventArgs.cs
- NavigationWindowAutomationPeer.cs
- TextEditorCharacters.cs
- Form.cs
- StylusTip.cs
- TextCompositionEventArgs.cs
- DataGridViewRowPostPaintEventArgs.cs
- WebPartsPersonalization.cs
- Themes.cs
- SchemaCompiler.cs
- HierarchicalDataSourceControl.cs
- InputScopeAttribute.cs
- ProtocolsSection.cs
- DataSetMappper.cs
- PopupRootAutomationPeer.cs
- GenericPrincipal.cs
- KeyToListMap.cs
- BindingNavigator.cs
- TextTreeFixupNode.cs
- XsltLibrary.cs
- UserInitiatedNavigationPermission.cs
- OracleSqlParser.cs
- TransportDefaults.cs
- CodeDelegateInvokeExpression.cs
- WizardSideBarListControlItemEventArgs.cs
- GeometryDrawing.cs
- EmptyQuery.cs
- TextParaLineResult.cs
- BoundConstants.cs
- DetailsViewDesigner.cs
- FieldToken.cs
- TableLayoutPanelCellPosition.cs
- ValueTable.cs
- Options.cs
- GroupItemAutomationPeer.cs
- BindingManagerDataErrorEventArgs.cs
- BamlTreeNode.cs
- HMACSHA1.cs
- GeneralTransform3DGroup.cs
- DataControlFieldTypeEditor.cs
- PaperSize.cs
- TCEAdapterGenerator.cs
- XmlSchemaAll.cs
- parserscommon.cs
- X509UI.cs
- AccessViolationException.cs
- IRCollection.cs
- WizardStepBase.cs
- sqlpipe.cs
- SqlConnection.cs
- ByteRangeDownloader.cs
- InlineObject.cs
- PageBorderless.cs
- ReachDocumentPageSerializerAsync.cs
- XmlUrlResolver.cs
- BuildProvider.cs
- XamlSerializerUtil.cs
- EntityContainerAssociationSetEnd.cs
- LeftCellWrapper.cs
- AssociationEndMember.cs
- streamingZipPartStream.cs
- IgnoreSectionHandler.cs
- Avt.cs
- RequestTimeoutManager.cs
- TCEAdapterGenerator.cs
- RelatedPropertyManager.cs
- BitStack.cs
- ColumnReorderedEventArgs.cs
- FrameworkContentElement.cs
- EnumBuilder.cs