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
- ResourceDisplayNameAttribute.cs
- UriParserTemplates.cs
- HttpProfileGroupBase.cs
- DataTrigger.cs
- SynchronizationContext.cs
- SchemaConstraints.cs
- LongPath.cs
- TransactionTable.cs
- MetadataHelper.cs
- EndOfStreamException.cs
- ExpressionVisitor.cs
- PrintPreviewControl.cs
- WaitForChangedResult.cs
- StylusPointProperty.cs
- PersonalizationEntry.cs
- _OverlappedAsyncResult.cs
- ChannelPoolSettings.cs
- TransactedBatchingBehavior.cs
- LogicalExpressionEditor.cs
- DecimalFormatter.cs
- HexParser.cs
- _HeaderInfoTable.cs
- WebPartDisplayMode.cs
- TableStyle.cs
- DataGridViewElement.cs
- PasswordDeriveBytes.cs
- TextTreeExtractElementUndoUnit.cs
- SQLByteStorage.cs
- FragmentQueryProcessor.cs
- UnmanagedMarshal.cs
- GridItemProviderWrapper.cs
- HttpCapabilitiesEvaluator.cs
- Polygon.cs
- HtmlProps.cs
- RotateTransform.cs
- X509CertificateStore.cs
- SqlNode.cs
- AesCryptoServiceProvider.cs
- DebuggerService.cs
- COSERVERINFO.cs
- TraceData.cs
- PrinterSettings.cs
- TextSelectionProcessor.cs
- Table.cs
- MenuStrip.cs
- IpcPort.cs
- EventLogEntry.cs
- WpfSharedBamlSchemaContext.cs
- RegistryConfigurationProvider.cs
- VersionPair.cs
- Converter.cs
- PeerEndPoint.cs
- TextParaClient.cs
- X500Name.cs
- PreProcessor.cs
- SystemKeyConverter.cs
- ExpressionVisitor.cs
- BitmapEffect.cs
- coordinatorscratchpad.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ConstNode.cs
- PropertyGeneratedEventArgs.cs
- GenericXmlSecurityTokenAuthenticator.cs
- MimeFormImporter.cs
- RuntimeIdentifierPropertyAttribute.cs
- SqlCrossApplyToCrossJoin.cs
- ScaleTransform.cs
- TypeUtil.cs
- UnaryQueryOperator.cs
- OleDbConnectionFactory.cs
- SafeReversePInvokeHandle.cs
- RangeValidator.cs
- HtmlEncodedRawTextWriter.cs
- DataSourceControlBuilder.cs
- SelectedCellsChangedEventArgs.cs
- CompressionTransform.cs
- BamlReader.cs
- CancellableEnumerable.cs
- GroupBox.cs
- TextTreeText.cs
- MenuItem.cs
- ToggleButton.cs
- BinHexDecoder.cs
- SqlDataSourceView.cs
- SelectionEditingBehavior.cs
- RelationshipWrapper.cs
- UnsafeNativeMethods.cs
- safesecurityhelperavalon.cs
- RunInstallerAttribute.cs
- XmlSerializer.cs
- SQLDecimal.cs
- XmlAnyAttributeAttribute.cs
- Stackframe.cs
- ComponentResourceKeyConverter.cs
- UserNamePasswordServiceCredential.cs
- PreservationFileWriter.cs
- InfoCardBaseException.cs
- ConfigXmlCDataSection.cs
- X509PeerCertificateAuthentication.cs
- StatusBarAutomationPeer.cs