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
- PixelFormat.cs
- SerializationEventsCache.cs
- FixedSOMPage.cs
- CharacterMetricsDictionary.cs
- ConfigurationErrorsException.cs
- MenuRendererStandards.cs
- StrongTypingException.cs
- DecimalAnimation.cs
- InternalBufferOverflowException.cs
- EventWaitHandleSecurity.cs
- BaseParaClient.cs
- ListView.cs
- FormView.cs
- ApplicationInfo.cs
- WindowsFormsDesignerOptionService.cs
- UriScheme.cs
- ComboBox.cs
- OdbcConnectionHandle.cs
- ExpressionEditorAttribute.cs
- ContentPresenter.cs
- WebResourceUtil.cs
- Solver.cs
- XmlStringTable.cs
- SafePointer.cs
- SplineKeyFrames.cs
- AlphaSortedEnumConverter.cs
- ScopeElementCollection.cs
- StorageEntityTypeMapping.cs
- ToolStripMenuItem.cs
- DataGridViewCellEventArgs.cs
- DBCSCodePageEncoding.cs
- RemoveStoryboard.cs
- ScrollBarAutomationPeer.cs
- FrameworkEventSource.cs
- TextDecorationCollection.cs
- HashAlgorithm.cs
- DataGridItemEventArgs.cs
- MemoryPressure.cs
- EntityDataSource.cs
- ComboBox.cs
- KoreanLunisolarCalendar.cs
- TextParaLineResult.cs
- PagerSettings.cs
- ReadOnlyHierarchicalDataSourceView.cs
- NameTable.cs
- ComponentResourceKeyConverter.cs
- KeyboardNavigation.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- ZipIOCentralDirectoryFileHeader.cs
- CompressionTransform.cs
- Screen.cs
- GetWorkflowTree.cs
- ProxyHelper.cs
- SecurityState.cs
- AppendHelper.cs
- VisualBasicExpressionConverter.cs
- AttachedAnnotation.cs
- SrgsItemList.cs
- IpcPort.cs
- TemplateControlBuildProvider.cs
- Interlocked.cs
- MailWebEventProvider.cs
- XmlDataCollection.cs
- ControlPaint.cs
- KnownTypesProvider.cs
- PerformanceCounterPermissionEntry.cs
- PropertyManager.cs
- IdentityHolder.cs
- DetailsViewDeletedEventArgs.cs
- EntityWrapperFactory.cs
- ImageList.cs
- FontConverter.cs
- XmlILStorageConverter.cs
- BitmapCodecInfo.cs
- TableLayoutPanelDesigner.cs
- DataViewSetting.cs
- OrderedDictionaryStateHelper.cs
- CheckedPointers.cs
- SqlInternalConnection.cs
- TextServicesContext.cs
- ChangePasswordDesigner.cs
- LocalIdKeyIdentifierClause.cs
- SafeFileHandle.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DispatcherExceptionEventArgs.cs
- MorphHelper.cs
- Parameter.cs
- XmlName.cs
- InvokeSchedule.cs
- SubMenuStyle.cs
- TemplateInstanceAttribute.cs
- FrameworkContentElement.cs
- ObjectResult.cs
- TextElementCollection.cs
- WebBrowserContainer.cs
- CSharpCodeProvider.cs
- HierarchicalDataSourceControl.cs
- XPathDescendantIterator.cs
- ColumnResizeUndoUnit.cs
- ResourceExpression.cs