Code:
/ DotNET / DotNET / 8.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
- GetFileNameResult.cs
- DefaultMemberAttribute.cs
- ObjectHandle.cs
- UnauthorizedWebPart.cs
- unitconverter.cs
- SelectorItemAutomationPeer.cs
- TypeValidationEventArgs.cs
- ArgumentException.cs
- DataMemberFieldEditor.cs
- ManagedFilter.cs
- SemanticResolver.cs
- SecurityUtils.cs
- Bind.cs
- PhysicalFontFamily.cs
- BindingEntityInfo.cs
- AssociationType.cs
- OciLobLocator.cs
- IndexedEnumerable.cs
- FixedStringLookup.cs
- SimpleBitVector32.cs
- WeakEventManager.cs
- QueryReaderSettings.cs
- HtmlFormParameterReader.cs
- MouseActionConverter.cs
- ValidationPropertyAttribute.cs
- DataBoundLiteralControl.cs
- EmbeddedMailObjectsCollection.cs
- RoutedEventHandlerInfo.cs
- DataGridHeaderBorder.cs
- Constraint.cs
- CompilerLocalReference.cs
- StylesEditorDialog.cs
- SendMailErrorEventArgs.cs
- RootProjectionNode.cs
- CollectionTypeElement.cs
- DocumentOrderQuery.cs
- DataGridPageChangedEventArgs.cs
- BindingBase.cs
- XamlReaderHelper.cs
- ValidationRuleCollection.cs
- WithStatement.cs
- LowerCaseStringConverter.cs
- AggregateNode.cs
- ApplicationDirectory.cs
- OracleTimeSpan.cs
- SystemPens.cs
- GC.cs
- DeferredSelectedIndexReference.cs
- UnwrappedTypesXmlSerializerManager.cs
- HwndSourceParameters.cs
- baseaxisquery.cs
- MouseOverProperty.cs
- XmlMapping.cs
- ModelUIElement3D.cs
- PixelFormatConverter.cs
- FileUpload.cs
- ToolTip.cs
- PassportPrincipal.cs
- EffectiveValueEntry.cs
- ObsoleteAttribute.cs
- StrongNameIdentityPermission.cs
- HMACSHA384.cs
- WinEventHandler.cs
- DefaultTraceListener.cs
- HasCopySemanticsAttribute.cs
- GridItemCollection.cs
- BehaviorEditorPart.cs
- SizeConverter.cs
- WebPartVerbsEventArgs.cs
- MultiBindingExpression.cs
- ArrayHelper.cs
- TextDecoration.cs
- WindowsSlider.cs
- NonParentingControl.cs
- LocatorGroup.cs
- MenuItemCollectionEditorDialog.cs
- ConfigXmlWhitespace.cs
- smtppermission.cs
- HttpResponseHeader.cs
- TextBoxBase.cs
- BinaryObjectInfo.cs
- DocumentGridContextMenu.cs
- ImageButton.cs
- StrongName.cs
- basevalidator.cs
- PriorityQueue.cs
- ImageMap.cs
- XmlnsCache.cs
- Table.cs
- ListSortDescriptionCollection.cs
- DecryptRequest.cs
- HtmlElementCollection.cs
- Path.cs
- ListComponentEditorPage.cs
- SQLRoleProvider.cs
- RuleSettingsCollection.cs
- ConditionCollection.cs
- XmlSubtreeReader.cs
- BindingCompleteEventArgs.cs
- SubtreeProcessor.cs