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
- DateTimeFormatInfoScanner.cs
- LockCookie.cs
- XmlQualifiedNameTest.cs
- DiffuseMaterial.cs
- DataServiceKeyAttribute.cs
- PropertyItemInternal.cs
- QilFunction.cs
- BindingCollection.cs
- TextBox.cs
- JpegBitmapDecoder.cs
- FeatureManager.cs
- SqlDataSourceTableQuery.cs
- EntityDataSourceState.cs
- ToolStripSplitButton.cs
- FeatureManager.cs
- KeyPullup.cs
- TemplateControlParser.cs
- PortCache.cs
- UnsafeCollabNativeMethods.cs
- Rfc2898DeriveBytes.cs
- HandlerBase.cs
- UserPersonalizationStateInfo.cs
- AnnotationStore.cs
- BevelBitmapEffect.cs
- ExpressionPrefixAttribute.cs
- GenerateHelper.cs
- Control.cs
- ResolveDuplexCD1AsyncResult.cs
- OrthographicCamera.cs
- KoreanCalendar.cs
- DbDataRecord.cs
- DBConnection.cs
- XPathAncestorQuery.cs
- SelectedDatesCollection.cs
- JsonQNameDataContract.cs
- ScrollItemPattern.cs
- ToolStripStatusLabel.cs
- RadialGradientBrush.cs
- ViewStateAttachedPropertyFeature.cs
- FixedSOMContainer.cs
- Menu.cs
- ProcessModuleCollection.cs
- ApplicationInfo.cs
- PropertyDescriptorCollection.cs
- StringValidator.cs
- SymbolType.cs
- DesignTimeTemplateParser.cs
- Function.cs
- DetailsViewInsertedEventArgs.cs
- DoubleStorage.cs
- ApplicationDirectory.cs
- XmlSchemaResource.cs
- GenericAuthenticationEventArgs.cs
- ImageAttributes.cs
- GeometryCollection.cs
- SqlDataSourceSummaryPanel.cs
- EmptyImpersonationContext.cs
- ConnectionStringSettings.cs
- ReaderWriterLock.cs
- ExceptionUtility.cs
- SendContent.cs
- OrderedDictionary.cs
- UnsafeMethods.cs
- NavigationProgressEventArgs.cs
- EnvelopedSignatureTransform.cs
- DefaultBindingPropertyAttribute.cs
- ExceptionWrapper.cs
- CompilerResults.cs
- RedirectionProxy.cs
- SqlProvider.cs
- ActiveXHost.cs
- WindowsEditBoxRange.cs
- SqlWorkflowInstanceStore.cs
- TriggerCollection.cs
- Timer.cs
- IndexingContentUnit.cs
- LinqTreeNodeEvaluator.cs
- DebugHandleTracker.cs
- PersonalizationStateInfoCollection.cs
- OneOf.cs
- ImageListUtils.cs
- InArgument.cs
- PersistencePipeline.cs
- XmlDictionaryReader.cs
- CalendarDay.cs
- MembershipUser.cs
- ListViewGroupConverter.cs
- LoginUtil.cs
- WebResponse.cs
- RuleElement.cs
- RawMouseInputReport.cs
- HuffModule.cs
- Cell.cs
- KerberosTokenFactoryCredential.cs
- RelationshipConverter.cs
- VariableBinder.cs
- SimpleApplicationHost.cs
- ItemCollection.cs
- TextTreePropertyUndoUnit.cs
- HScrollBar.cs