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
- AppSettingsExpressionBuilder.cs
- RemotingConfiguration.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- InputScope.cs
- AssemblySettingAttributes.cs
- SpellerError.cs
- TextBoxAutomationPeer.cs
- SoapMessage.cs
- AnnouncementEndpointElement.cs
- PropertyInformationCollection.cs
- ReachDocumentPageSerializerAsync.cs
- RowParagraph.cs
- Size3D.cs
- RsaKeyGen.cs
- XmlValidatingReaderImpl.cs
- ControlParameter.cs
- TemplatedAdorner.cs
- ProcessModelInfo.cs
- entityreference_tresulttype.cs
- DataShape.cs
- CommandEventArgs.cs
- SendActivityEventArgs.cs
- BufferBuilder.cs
- InstanceCollisionException.cs
- BrushMappingModeValidation.cs
- PeerUnsafeNativeMethods.cs
- SignatureToken.cs
- PropertyConverter.cs
- UnauthorizedAccessException.cs
- SimplePropertyEntry.cs
- CFStream.cs
- ClientEndpointLoader.cs
- RunClient.cs
- FacetChecker.cs
- XmlIlVisitor.cs
- CursorConverter.cs
- DesignTimeDataBinding.cs
- PartialClassGenerationTaskInternal.cs
- ConfigXmlElement.cs
- FtpRequestCacheValidator.cs
- cookiecontainer.cs
- TabControl.cs
- TableLayoutCellPaintEventArgs.cs
- LinkButton.cs
- NativeObjectSecurity.cs
- EntityDataSourceViewSchema.cs
- Rectangle.cs
- RadioButtonStandardAdapter.cs
- ScriptControl.cs
- NativeRightsManagementAPIsStructures.cs
- ChangePassword.cs
- ValidatorCollection.cs
- DbFunctionCommandTree.cs
- SpellerStatusTable.cs
- BigIntegerStorage.cs
- Formatter.cs
- ToolStripDropTargetManager.cs
- FullTextState.cs
- GB18030Encoding.cs
- InlineUIContainer.cs
- ManagementObjectSearcher.cs
- BrowserCapabilitiesCompiler.cs
- _ConnectionGroup.cs
- dsa.cs
- CLRBindingWorker.cs
- EpmHelper.cs
- ServerValidateEventArgs.cs
- InlineCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- Knowncolors.cs
- PopOutPanel.cs
- QueryLifecycle.cs
- NameScopePropertyAttribute.cs
- TreeWalker.cs
- TemplateBamlTreeBuilder.cs
- DbResourceAllocator.cs
- MatrixValueSerializer.cs
- CodeObjectCreateExpression.cs
- ProviderConnectionPointCollection.cs
- precedingquery.cs
- SqlUserDefinedAggregateAttribute.cs
- CqlParser.cs
- WindowsListViewGroupSubsetLink.cs
- Int32CAMarshaler.cs
- ZoneLinkButton.cs
- GlyphRunDrawing.cs
- sqlmetadatafactory.cs
- SqlTrackingQuery.cs
- DashStyles.cs
- InternalBufferOverflowException.cs
- GACIdentityPermission.cs
- StringHelper.cs
- TextLineResult.cs
- PasswordRecoveryDesigner.cs
- ComponentChangingEvent.cs
- XmlDataContract.cs
- XmlSiteMapProvider.cs
- PageRanges.cs
- CategoryGridEntry.cs
- SqlRowUpdatedEvent.cs