Code:
/ DotNET / DotNET / 8.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
- Activator.cs
- AppDomainFactory.cs
- MatrixConverter.cs
- EmptyReadOnlyDictionaryInternal.cs
- MemoryStream.cs
- XmlUtil.cs
- FixedHighlight.cs
- CompilationUtil.cs
- MasterPage.cs
- TrackingQuery.cs
- DeviceContext.cs
- NotFiniteNumberException.cs
- GridViewColumnHeaderAutomationPeer.cs
- SrgsToken.cs
- Margins.cs
- Font.cs
- SourceCollection.cs
- TargetException.cs
- RenamedEventArgs.cs
- ManagementEventWatcher.cs
- ActivationProxy.cs
- FormatControl.cs
- AbstractSvcMapFileLoader.cs
- CaretElement.cs
- ApplicationSecurityInfo.cs
- RequestDescription.cs
- TableCell.cs
- ValidationErrorEventArgs.cs
- PriorityRange.cs
- ObjectPersistData.cs
- documentation.cs
- RichTextBox.cs
- DropDownList.cs
- TableLayoutCellPaintEventArgs.cs
- Stack.cs
- SqlClientWrapperSmiStreamChars.cs
- EntitySqlQueryCacheEntry.cs
- ControlBindingsCollection.cs
- DataControlFieldCollection.cs
- SqlRemoveConstantOrderBy.cs
- DataGridViewImageCell.cs
- figurelengthconverter.cs
- DataGridRowHeader.cs
- EtwTrace.cs
- WorkItem.cs
- EventlogProvider.cs
- VersionConverter.cs
- DependencyObjectType.cs
- SelectionHighlightInfo.cs
- ExtensionWindowResizeGrip.cs
- PathFigureCollection.cs
- CodeNamespaceCollection.cs
- AttributeUsageAttribute.cs
- FatalException.cs
- Window.cs
- ProfileService.cs
- CornerRadiusConverter.cs
- ListViewItemSelectionChangedEvent.cs
- StickyNoteAnnotations.cs
- RegexParser.cs
- OletxTransactionFormatter.cs
- DeploymentSectionCache.cs
- ReturnEventArgs.cs
- LineSegment.cs
- CultureInfoConverter.cs
- CollectionViewProxy.cs
- MostlySingletonList.cs
- CryptographicAttribute.cs
- SymmetricAlgorithm.cs
- _FtpDataStream.cs
- SizeValueSerializer.cs
- DocumentScope.cs
- LateBoundBitmapDecoder.cs
- AdRotator.cs
- ComponentResourceKey.cs
- AnnotationComponentManager.cs
- AttributeInfo.cs
- Itemizer.cs
- NamedElement.cs
- __ConsoleStream.cs
- TextElementEnumerator.cs
- TimeBoundedCache.cs
- WebPartZoneBase.cs
- DateRangeEvent.cs
- SelectManyQueryOperator.cs
- Accessible.cs
- FileChangesMonitor.cs
- COM2Enum.cs
- EventDrivenDesigner.cs
- SplitterDesigner.cs
- Model3DCollection.cs
- Int64AnimationUsingKeyFrames.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Root.cs
- BufferModeSettings.cs
- MeshGeometry3D.cs
- PersonalizationDictionary.cs
- StylusPointDescription.cs
- InstanceHandleConflictException.cs
- OdbcPermission.cs