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
- CodeCommentStatement.cs
- Font.cs
- XamlPathDataSerializer.cs
- NotSupportedException.cs
- XmlSchemaResource.cs
- ImageIndexEditor.cs
- GregorianCalendar.cs
- InputReportEventArgs.cs
- ControlSerializer.cs
- KnownTypeAttribute.cs
- XmlArrayItemAttributes.cs
- Rfc2898DeriveBytes.cs
- webeventbuffer.cs
- SqlSelectClauseBuilder.cs
- RowCache.cs
- HtmlInputFile.cs
- CompositeCollectionView.cs
- ClosableStream.cs
- SoapFault.cs
- SoapSchemaImporter.cs
- LineSegment.cs
- MetadataCache.cs
- MachineKeySection.cs
- EditableTreeList.cs
- TextOutput.cs
- ActivityInstanceReference.cs
- TTSVoice.cs
- TextTreePropertyUndoUnit.cs
- DurableRuntimeValidator.cs
- HtmlTextArea.cs
- Timer.cs
- ColorInterpolationModeValidation.cs
- ListParagraph.cs
- RightsController.cs
- FileDialog_Vista_Interop.cs
- FontDialog.cs
- DependencyObject.cs
- Utilities.cs
- DataGridViewSelectedColumnCollection.cs
- OpacityConverter.cs
- DesignerAutoFormat.cs
- FunctionParameter.cs
- ArrayExtension.cs
- BlurEffect.cs
- Int64Animation.cs
- SqlDependencyUtils.cs
- Matrix.cs
- PeerInputChannelListener.cs
- MonitoringDescriptionAttribute.cs
- _ConnectionGroup.cs
- FragmentQueryKB.cs
- SmtpAuthenticationManager.cs
- Activator.cs
- SizeValueSerializer.cs
- MLangCodePageEncoding.cs
- DataGridViewColumn.cs
- XPathNodeList.cs
- BCryptNative.cs
- SafeEventLogWriteHandle.cs
- TimeZoneNotFoundException.cs
- Expander.cs
- PopupControlService.cs
- TemplatePropertyEntry.cs
- DataBoundLiteralControl.cs
- MasterPageCodeDomTreeGenerator.cs
- __TransparentProxy.cs
- ExtensionMethods.cs
- ModelUIElement3D.cs
- PropertyValueChangedEvent.cs
- ListSurrogate.cs
- ConfigXmlAttribute.cs
- DataPagerField.cs
- DiscoveryReferences.cs
- RelatedEnd.cs
- QilLiteral.cs
- CounterSample.cs
- BaseParaClient.cs
- RenderData.cs
- LiteralControl.cs
- LinkButton.cs
- ObjectQuery.cs
- TextAutomationPeer.cs
- Item.cs
- AdornedElementPlaceholder.cs
- ConnectionConsumerAttribute.cs
- CroppedBitmap.cs
- AffineTransform3D.cs
- WebPartDisplayMode.cs
- UnsafeNativeMethods.cs
- ObservableDictionary.cs
- UnsafeNativeMethods.cs
- EntitySetRetriever.cs
- PropagatorResult.cs
- DiscardableAttribute.cs
- NativeActivityAbortContext.cs
- XamlTreeBuilder.cs
- COM2FontConverter.cs
- EntityDataSourceDataSelection.cs
- ZipPackage.cs
- InheritanceService.cs