Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / DesignerHierarchicalDataSourceView.cs / 1 / DesignerHierarchicalDataSourceView.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; public abstract class DesignerHierarchicalDataSourceView { private string _path; private IHierarchicalDataSourceDesigner _owner; protected DesignerHierarchicalDataSourceView(IHierarchicalDataSourceDesigner owner, string viewPath) { if (owner == null) { throw new ArgumentNullException("owner"); } if (viewPath == null) { throw new ArgumentNullException("viewPath"); } _owner = owner; _path = viewPath; } public IHierarchicalDataSourceDesigner DataSourceDesigner { get { return _owner; } } public string Path { get { return _path; } } ////// public virtual IDataSourceSchema Schema { get { return null; } } ////// Provides a design-time version of the hierarchical data source. This method /// will attempt to create sample data that matches the schema of the data source, /// though it might not necessarily match. /// public virtual IHierarchicalEnumerable GetDesignTimeData(out bool isSampleData) { isSampleData = true; // return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionBindingCollection.cs
- HtmlAnchor.cs
- FlowDocumentPageViewerAutomationPeer.cs
- XmlSchemaAppInfo.cs
- InvalidCommandTreeException.cs
- PlaceHolder.cs
- TabPanel.cs
- TagMapCollection.cs
- storagemappingitemcollection.viewdictionary.cs
- Bits.cs
- SqlDataSourceStatusEventArgs.cs
- FontStyleConverter.cs
- PaperSize.cs
- CLRBindingWorker.cs
- WorkflowServiceInstance.cs
- Pair.cs
- ellipse.cs
- JulianCalendar.cs
- PresentationAppDomainManager.cs
- PositiveTimeSpanValidatorAttribute.cs
- HandleCollector.cs
- XPathQilFactory.cs
- QuaternionRotation3D.cs
- TypeExtensionConverter.cs
- SynchronousChannel.cs
- DependencyPropertyKey.cs
- _UncName.cs
- GenericAuthenticationEventArgs.cs
- XmlSchema.cs
- _ListenerRequestStream.cs
- TextFormatter.cs
- SignedInfo.cs
- RedirectionProxy.cs
- JumpList.cs
- DataGridViewCheckBoxColumn.cs
- InheritanceContextChangedEventManager.cs
- ChameleonKey.cs
- TdsEnums.cs
- HebrewCalendar.cs
- TableRow.cs
- ProviderSettings.cs
- _RequestCacheProtocol.cs
- ArgumentException.cs
- TreeNodeCollectionEditorDialog.cs
- DetailsViewRowCollection.cs
- MembershipValidatePasswordEventArgs.cs
- SrgsSemanticInterpretationTag.cs
- OrderedDictionary.cs
- MimeMapping.cs
- HtmlTernaryTree.cs
- Grid.cs
- FixedSOMImage.cs
- COSERVERINFO.cs
- SharingService.cs
- Int32Rect.cs
- DataSourceCacheDurationConverter.cs
- UserControlBuildProvider.cs
- ArgIterator.cs
- ExtractCollection.cs
- CompilationLock.cs
- RTTypeWrapper.cs
- XmlSerializerFactory.cs
- IndexedString.cs
- DataGridViewLinkCell.cs
- ConfigurationValidatorAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- TemplateControlParser.cs
- AccessViolationException.cs
- ChangeBlockUndoRecord.cs
- ActivityExecutionFilter.cs
- BinaryObjectWriter.cs
- OdbcRowUpdatingEvent.cs
- TypeExtensionConverter.cs
- PolyLineSegment.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SchemaInfo.cs
- WindowsProgressbar.cs
- AspProxy.cs
- SystemIPv4InterfaceProperties.cs
- LinqDataSourceContextEventArgs.cs
- OdbcInfoMessageEvent.cs
- JavaScriptSerializer.cs
- ExpressionBuilder.cs
- WindowsStatic.cs
- HtmlSelectionListAdapter.cs
- EventMappingSettingsCollection.cs
- SelectedPathEditor.cs
- PolyLineSegmentFigureLogic.cs
- EditingCommands.cs
- MetadataSource.cs
- ThemeableAttribute.cs
- ThrowHelper.cs
- QuestionEventArgs.cs
- Win32Exception.cs
- AlphabeticalEnumConverter.cs
- EdmTypeAttribute.cs
- MetadataPropertyCollection.cs
- WindowsPen.cs
- HtmlInputPassword.cs
- AuthenticationManager.cs