Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / DataBindingCollectionConverter.cs / 1 / DataBindingCollectionConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System; using System.ComponentModel; using System.Globalization; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] [Obsolete("Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid. http://go.microsoft.com/fwlink/?linkid=14202")] public class DataBindingCollectionConverter : TypeConverter { ////// Provides conversion functions for data binding collections. /// ////// /// public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { if (destinationType == typeof(string)) { return String.Empty; } else { return base.ConvertTo(context, culture, value, destinationType); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Converts a data binding collection to the specified type. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartActionVerb.cs
- GlobalizationSection.cs
- NotifyParentPropertyAttribute.cs
- XmlIlTypeHelper.cs
- Point3D.cs
- SslStream.cs
- RepeatBehavior.cs
- SelectionGlyph.cs
- Hash.cs
- SortQueryOperator.cs
- PortCache.cs
- ColumnMapProcessor.cs
- CodeNamespace.cs
- EntryWrittenEventArgs.cs
- CryptoSession.cs
- PathNode.cs
- SqlStream.cs
- XmlHierarchicalEnumerable.cs
- XmlTextReaderImplHelpers.cs
- ReadOnlyHierarchicalDataSource.cs
- ResourceSet.cs
- HttpException.cs
- DbTransaction.cs
- Stream.cs
- SlipBehavior.cs
- DesignerVerbCollection.cs
- CompositeCollection.cs
- OletxTransactionManager.cs
- BigInt.cs
- XmlSchemaElement.cs
- MaskedTextBoxDesigner.cs
- TypeLoadException.cs
- SqlCrossApplyToCrossJoin.cs
- PasswordTextContainer.cs
- ACE.cs
- CryptoKeySecurity.cs
- sortedlist.cs
- QuinticEase.cs
- ReadWriteControlDesigner.cs
- InputProcessorProfilesLoader.cs
- KeyValueConfigurationElement.cs
- VectorConverter.cs
- Module.cs
- DomainConstraint.cs
- AssociationType.cs
- XmlSchemas.cs
- TableCellAutomationPeer.cs
- fixedPageContentExtractor.cs
- JoinGraph.cs
- Int64Converter.cs
- SuppressMergeCheckAttribute.cs
- DataSourceViewSchemaConverter.cs
- versioninfo.cs
- SettingsPropertyCollection.cs
- RowCache.cs
- CreatingCookieEventArgs.cs
- DataControlCommands.cs
- XmlResolver.cs
- HtmlTable.cs
- UIHelper.cs
- DataBoundControl.cs
- HwndSource.cs
- HtmlListAdapter.cs
- OracleException.cs
- SmtpFailedRecipientsException.cs
- DataGridCaption.cs
- CacheSection.cs
- LinqMaximalSubtreeNominator.cs
- FixedPageStructure.cs
- X509UI.cs
- _TimerThread.cs
- DataSourceSerializationException.cs
- CommandField.cs
- TemplateEditingVerb.cs
- FixedPageAutomationPeer.cs
- DataListItemCollection.cs
- FrameworkElement.cs
- WebOperationContext.cs
- SecurityState.cs
- ModelFunctionTypeElement.cs
- DataRowCollection.cs
- SplitterCancelEvent.cs
- ImmutableCommunicationTimeouts.cs
- NameSpaceExtractor.cs
- InternalTypeHelper.cs
- SerializerDescriptor.cs
- WhitespaceRule.cs
- LineUtil.cs
- CurrentChangingEventManager.cs
- DocumentViewerConstants.cs
- IDQuery.cs
- GC.cs
- FolderBrowserDialog.cs
- VisualStyleRenderer.cs
- ModelFactory.cs
- ToolStripOverflow.cs
- PasswordRecoveryAutoFormat.cs
- XmlChildEnumerator.cs
- CorrelationKeyCalculator.cs
- ImageList.cs