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
- DataViewManagerListItemTypeDescriptor.cs
- TaskFormBase.cs
- ItemMap.cs
- CounterSet.cs
- TheQuery.cs
- SystemIPAddressInformation.cs
- UniqueIdentifierService.cs
- MetadataPropertyAttribute.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- SharedStatics.cs
- GraphicsContainer.cs
- DataGridLinkButton.cs
- ControlFilterExpression.cs
- Publisher.cs
- XmlDataCollection.cs
- Permission.cs
- AutomationProperty.cs
- WebPartDeleteVerb.cs
- DataServiceContext.cs
- ControlPager.cs
- ProcessRequestArgs.cs
- SecurityElement.cs
- GlyphInfoList.cs
- Unit.cs
- processwaithandle.cs
- BindingList.cs
- ReadOnlyAttribute.cs
- PathParser.cs
- BufferedWebEventProvider.cs
- ReflectionUtil.cs
- DbUpdateCommandTree.cs
- CodeDelegateInvokeExpression.cs
- ColumnWidthChangingEvent.cs
- CommandValueSerializer.cs
- EntryPointNotFoundException.cs
- Serializer.cs
- CallbackHandler.cs
- OutputCacheSettingsSection.cs
- TreeNodeBinding.cs
- OneOfConst.cs
- HybridDictionary.cs
- CodeTypeReferenceExpression.cs
- CustomBindingCollectionElement.cs
- DataServiceConfiguration.cs
- OleServicesContext.cs
- StringPropertyBuilder.cs
- SplitContainer.cs
- WindowsHyperlink.cs
- XsltLibrary.cs
- BooleanFunctions.cs
- EditorBrowsableAttribute.cs
- TreeNodeMouseHoverEvent.cs
- XamlTreeBuilder.cs
- complextypematerializer.cs
- complextypematerializer.cs
- HashHelper.cs
- RuleValidation.cs
- SchemaAttDef.cs
- UserControlAutomationPeer.cs
- ToggleButton.cs
- DateTimeParse.cs
- SiteMapHierarchicalDataSourceView.cs
- MultiSelectRootGridEntry.cs
- FatalException.cs
- UnsafeNativeMethods.cs
- TcpClientChannel.cs
- ComplexBindingPropertiesAttribute.cs
- RandomNumberGenerator.cs
- DataSysAttribute.cs
- AtomPub10CategoriesDocumentFormatter.cs
- ColorAnimation.cs
- __ComObject.cs
- SpeechDetectedEventArgs.cs
- Matrix.cs
- RegisteredExpandoAttribute.cs
- Header.cs
- HtmlForm.cs
- ManagedIStream.cs
- GAC.cs
- XmlAttributes.cs
- CustomError.cs
- TimersDescriptionAttribute.cs
- RegistryExceptionHelper.cs
- DefaultTextStoreTextComposition.cs
- IndentTextWriter.cs
- FixedTextBuilder.cs
- DeliveryRequirementsAttribute.cs
- HexParser.cs
- ResumeStoryboard.cs
- XmlEntity.cs
- ControlIdConverter.cs
- SocketElement.cs
- grammarelement.cs
- SingleObjectCollection.cs
- GACIdentityPermission.cs
- XmlTypeAttribute.cs
- FontUnit.cs
- Control.cs
- ChangeConflicts.cs
- CompiledRegexRunnerFactory.cs