Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / HierarchicalDataSourceConverter.cs / 1 / HierarchicalDataSourceConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.ComponentModel; using System.Web.UI; ////// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class HierarchicalDataSourceConverter : DataSourceConverter { protected override bool IsValidDataSource(IComponent component) { Control control = component as Control; if (control == null) { return false; } if (String.IsNullOrEmpty(control.ID)) { return false; } return (component is IHierarchicalEnumerable); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides design-time support for a component's data source property. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataColumnPropertyDescriptor.cs
- FieldTemplateUserControl.cs
- BufferBuilder.cs
- ConnectionStringsSection.cs
- XmlCharCheckingReader.cs
- CommonDialog.cs
- WebBrowserSiteBase.cs
- DBSchemaRow.cs
- ScriptResourceAttribute.cs
- Utils.cs
- DisplayInformation.cs
- TemplatedMailWebEventProvider.cs
- GZipDecoder.cs
- PageThemeBuildProvider.cs
- SelectedDatesCollection.cs
- AgileSafeNativeMemoryHandle.cs
- VarRemapper.cs
- TextEditor.cs
- OracleCommand.cs
- ListControl.cs
- GenericRootAutomationPeer.cs
- ArrayTypeMismatchException.cs
- PeerCollaboration.cs
- DrawingAttributes.cs
- QilBinary.cs
- DefaultAsyncDataDispatcher.cs
- KnownIds.cs
- VirtualizingPanel.cs
- GroupItem.cs
- ParallelLoopState.cs
- WsdlBuildProvider.cs
- GridLengthConverter.cs
- EmptyStringExpandableObjectConverter.cs
- AuditLog.cs
- GeneralTransformGroup.cs
- PointCollection.cs
- COM2IPerPropertyBrowsingHandler.cs
- SizeLimitedCache.cs
- ExtensionFile.cs
- XmlName.cs
- TypeDelegator.cs
- FilterQuery.cs
- StorageRoot.cs
- BindingListCollectionView.cs
- PerfCounterSection.cs
- ImageButton.cs
- EmptyCollection.cs
- UIElement.cs
- CompositeControl.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EditingCommands.cs
- SubMenuStyleCollection.cs
- ImageListUtils.cs
- FixedTextPointer.cs
- UdpTransportBindingElement.cs
- ACE.cs
- ClientSideQueueItem.cs
- HttpCookieCollection.cs
- VirtualizedContainerService.cs
- Control.cs
- UIPropertyMetadata.cs
- XmlSchemaCompilationSettings.cs
- SchemaMapping.cs
- ValueSerializerAttribute.cs
- XPathChildIterator.cs
- MouseGestureConverter.cs
- FormViewPagerRow.cs
- DelegatedStream.cs
- WebEvents.cs
- ArrayWithOffset.cs
- Identifier.cs
- ZoomComboBox.cs
- StylusButton.cs
- CompareValidator.cs
- RowSpanVector.cs
- GridViewSelectEventArgs.cs
- KernelTypeValidation.cs
- TypeUsageBuilder.cs
- ResourceDisplayNameAttribute.cs
- TextDecorationCollection.cs
- SingleObjectCollection.cs
- documentation.cs
- InputProcessorProfiles.cs
- CompilerScope.Storage.cs
- dataprotectionpermission.cs
- HtmlElementErrorEventArgs.cs
- AnnotationMap.cs
- SettingsPropertyIsReadOnlyException.cs
- SystemIcmpV6Statistics.cs
- Light.cs
- SendMailErrorEventArgs.cs
- Calendar.cs
- SafeRightsManagementEnvironmentHandle.cs
- ConstNode.cs
- MetadataFile.cs
- ConfigXmlComment.cs
- SoapSchemaExporter.cs
- sqlstateclientmanager.cs
- SingleAnimationBase.cs
- TreeNodeClickEventArgs.cs