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
- MemberDescriptor.cs
- ColorTransform.cs
- MimeReflector.cs
- HwndKeyboardInputProvider.cs
- ToolStripItemClickedEventArgs.cs
- RevocationPoint.cs
- HijriCalendar.cs
- VBCodeProvider.cs
- SQLDateTime.cs
- DbConnectionPoolIdentity.cs
- PagerSettings.cs
- ErrorWrapper.cs
- QuotaThrottle.cs
- TextElementAutomationPeer.cs
- ConfigsHelper.cs
- CredentialSelector.cs
- StylusTip.cs
- FontWeightConverter.cs
- FontWeight.cs
- FormDocumentDesigner.cs
- StylusPlugInCollection.cs
- DataTableCollection.cs
- IdentityValidationException.cs
- DataGridViewRowCollection.cs
- Brushes.cs
- SqlAliasesReferenced.cs
- ProjectionCamera.cs
- SerializationEventsCache.cs
- ListViewAutomationPeer.cs
- CacheMode.cs
- SpellerStatusTable.cs
- ProgressBarBrushConverter.cs
- ActivityExecutorDelegateInfo.cs
- StringKeyFrameCollection.cs
- ProgressBarRenderer.cs
- HtmlImage.cs
- CheckBoxList.cs
- XmlSchemaNotation.cs
- PageEventArgs.cs
- CfgParser.cs
- DrawingGroupDrawingContext.cs
- List.cs
- TypeFieldSchema.cs
- AlternateView.cs
- EditorBrowsableAttribute.cs
- PropertyChangedEventArgs.cs
- MLangCodePageEncoding.cs
- DeflateStreamAsyncResult.cs
- hresults.cs
- KeyEvent.cs
- Message.cs
- PassportAuthenticationEventArgs.cs
- GeometryHitTestResult.cs
- UshortList2.cs
- SmtpFailedRecipientException.cs
- DataListItemCollection.cs
- ManipulationInertiaStartingEventArgs.cs
- RandomNumberGenerator.cs
- WorkflowOperationInvoker.cs
- StickyNote.cs
- XmlQualifiedNameTest.cs
- LinkButton.cs
- AssemblyAttributesGoHere.cs
- DesignerActionService.cs
- SqlServer2KCompatibilityCheck.cs
- SafeNativeMethods.cs
- RightsManagementEncryptedStream.cs
- HuffmanTree.cs
- CodeTypeDeclarationCollection.cs
- FontInfo.cs
- SID.cs
- ValidatorCollection.cs
- OdbcReferenceCollection.cs
- TypeViewSchema.cs
- XmlSchemaSimpleTypeList.cs
- EntityDataSourceValidationException.cs
- StyleBamlRecordReader.cs
- ZipFileInfoCollection.cs
- DataObjectCopyingEventArgs.cs
- PreparingEnlistment.cs
- PeerApplication.cs
- File.cs
- SafeLibraryHandle.cs
- EdmType.cs
- DataBindingValueUIHandler.cs
- FixedSchema.cs
- LongCountAggregationOperator.cs
- ObjectParameterCollection.cs
- PingReply.cs
- XmlSchemaElement.cs
- BinaryFormatter.cs
- TargetException.cs
- LineServicesCallbacks.cs
- TableHeaderCell.cs
- CodeNamespaceImportCollection.cs
- UniqueEventHelper.cs
- SrgsRulesCollection.cs
- tooltip.cs
- FileUtil.cs
- NativeMethods.cs