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
- ButtonChrome.cs
- InternalDispatchObject.cs
- GB18030Encoding.cs
- HtmlShimManager.cs
- Underline.cs
- RelationshipConstraintValidator.cs
- XPathDocumentIterator.cs
- ReadOnlyActivityGlyph.cs
- KoreanLunisolarCalendar.cs
- ExpandCollapseProviderWrapper.cs
- EntityContainerEntitySetDefiningQuery.cs
- TextTreeRootNode.cs
- InvokerUtil.cs
- CodeMemberProperty.cs
- ChannelServices.cs
- ModifierKeysValueSerializer.cs
- ExtendedPropertyDescriptor.cs
- GetWinFXPath.cs
- CompiledQuery.cs
- DSACryptoServiceProvider.cs
- CodeSnippetStatement.cs
- _ProxyRegBlob.cs
- MouseDevice.cs
- IndexOutOfRangeException.cs
- WebPartHeaderCloseVerb.cs
- ConfigurationValue.cs
- Emitter.cs
- GridLength.cs
- SQLInt32.cs
- FileVersionInfo.cs
- EntityConnectionStringBuilderItem.cs
- InputProviderSite.cs
- AuthenticateEventArgs.cs
- Transform.cs
- Lasso.cs
- PixelFormat.cs
- Geometry3D.cs
- SQLInt32Storage.cs
- DataTransferEventArgs.cs
- FlagsAttribute.cs
- ContentPropertyAttribute.cs
- TreeNodeStyleCollectionEditor.cs
- ConnectionStringSettings.cs
- SiteIdentityPermission.cs
- MetadataArtifactLoaderResource.cs
- UnaryExpressionHelper.cs
- MediaSystem.cs
- ComponentCollection.cs
- mongolianshape.cs
- ProcessInputEventArgs.cs
- FontStretch.cs
- CorrelationManager.cs
- PrintDialogException.cs
- SQLGuid.cs
- MultipleViewPatternIdentifiers.cs
- XmlEventCache.cs
- MenuCommand.cs
- UrlMappingsModule.cs
- PaintEvent.cs
- HitTestParameters.cs
- FolderBrowserDialog.cs
- BitmapDownload.cs
- DesignSurfaceManager.cs
- KeyValuePairs.cs
- cryptoapiTransform.cs
- dbenumerator.cs
- ApplicationProxyInternal.cs
- RichTextBox.cs
- OleDbPropertySetGuid.cs
- ValueSerializer.cs
- JsonEnumDataContract.cs
- MenuItem.cs
- AssociationSetMetadata.cs
- StreamUpdate.cs
- Deflater.cs
- SqlServer2KCompatibilityCheck.cs
- ComponentCommands.cs
- BoundColumn.cs
- ConfigPathUtility.cs
- MailAddress.cs
- MemoryPressure.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ContentElement.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DataTemplate.cs
- SmiEventStream.cs
- COM2FontConverter.cs
- DetailsViewUpdateEventArgs.cs
- ComboBoxAutomationPeer.cs
- DialogWindow.cs
- KeyConverter.cs
- DynamicDataRoute.cs
- ActiveDesignSurfaceEvent.cs
- LinkedResource.cs
- MailDefinition.cs
- CheckedPointers.cs
- DisplayToken.cs
- DbRetry.cs
- TemplateNodeContextMenu.cs
- sitestring.cs