Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapNodeItem.cs / 1305376 / SiteMapNodeItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Web.UI; ////// [ ToolboxItem(false) ] public class SiteMapNodeItem : WebControl, INamingContainer, IDataItemContainer { private int _itemIndex; private SiteMapNodeItemType _itemType; private SiteMapNode _siteMapNode; ///Represents a ////// public SiteMapNodeItem(int itemIndex, SiteMapNodeItemType itemType) { this._itemIndex = itemIndex; this._itemType = itemType; } ///Initializes a new instance of the ///class. /// public virtual SiteMapNode SiteMapNode { get { return _siteMapNode; } set { _siteMapNode = value; } } ///Represents a sitemapnode. ////// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item. This property is read-only. ////// public virtual SiteMapNodeItemType ItemType { get { return _itemType; } } ///Indicates the type of the item in the ///. /// /// protected internal virtual void SetItemType(SiteMapNodeItemType itemType) { this._itemType = itemType; } ///object IDataItemContainer.DataItem { get { return SiteMapNode; } } int IDataItemContainer.DataItemIndex { get { return ItemIndex; } } int IDataItemContainer.DisplayIndex { get { return ItemIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Web.UI; ////// [ ToolboxItem(false) ] public class SiteMapNodeItem : WebControl, INamingContainer, IDataItemContainer { private int _itemIndex; private SiteMapNodeItemType _itemType; private SiteMapNode _siteMapNode; ///Represents a ////// public SiteMapNodeItem(int itemIndex, SiteMapNodeItemType itemType) { this._itemIndex = itemIndex; this._itemType = itemType; } ///Initializes a new instance of the ///class. /// public virtual SiteMapNode SiteMapNode { get { return _siteMapNode; } set { _siteMapNode = value; } } ///Represents a sitemapnode. ////// public virtual int ItemIndex { get { return _itemIndex; } } ///Indicates the index of the item. This property is read-only. ////// public virtual SiteMapNodeItemType ItemType { get { return _itemType; } } ///Indicates the type of the item in the ///. /// /// protected internal virtual void SetItemType(SiteMapNodeItemType itemType) { this._itemType = itemType; } ///object IDataItemContainer.DataItem { get { return SiteMapNode; } } int IDataItemContainer.DataItemIndex { get { return ItemIndex; } } int IDataItemContainer.DisplayIndex { get { return ItemIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Socket.cs
- ProcessModule.cs
- FeatureSupport.cs
- TransactionContextManager.cs
- ProjectionCamera.cs
- PagesSection.cs
- DynamicValueConverter.cs
- PackageFilter.cs
- WorkflowInlining.cs
- mda.cs
- Compress.cs
- GiveFeedbackEvent.cs
- UserNameSecurityTokenProvider.cs
- TextFindEngine.cs
- WebBrowserNavigatingEventHandler.cs
- CredentialCache.cs
- CharacterString.cs
- ItemDragEvent.cs
- LinkLabel.cs
- ReplacementText.cs
- CompositeActivityTypeDescriptorProvider.cs
- UndoEngine.cs
- DoubleLink.cs
- TypeInformation.cs
- DataGridViewRowEventArgs.cs
- WindowsAuthenticationEventArgs.cs
- ClientConfigurationHost.cs
- BaseAppDomainProtocolHandler.cs
- AncillaryOps.cs
- ToolboxDataAttribute.cs
- DbDataAdapter.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- Journal.cs
- MailBnfHelper.cs
- TableTextElementCollectionInternal.cs
- AnnotationMap.cs
- SharedConnectionWorkflowTransactionService.cs
- GridViewUpdateEventArgs.cs
- CompilationSection.cs
- LeaseManager.cs
- CodeAccessSecurityEngine.cs
- RIPEMD160Managed.cs
- PermissionListSet.cs
- DataTableTypeConverter.cs
- ListViewEditEventArgs.cs
- ShaderRenderModeValidation.cs
- MemberInfoSerializationHolder.cs
- EpmSourcePathSegment.cs
- TableDesigner.cs
- OrderByQueryOptionExpression.cs
- WebColorConverter.cs
- BulletDecorator.cs
- DataPagerField.cs
- DataRelation.cs
- PolicyLevel.cs
- ContentPropertyAttribute.cs
- ProtocolImporter.cs
- NavigationService.cs
- SafeSecurityHandles.cs
- HttpRuntime.cs
- CodeGeneratorOptions.cs
- SimpleApplicationHost.cs
- HitTestFilterBehavior.cs
- SystemIPv6InterfaceProperties.cs
- SectionRecord.cs
- COM2ExtendedBrowsingHandler.cs
- CDSCollectionETWBCLProvider.cs
- BaseParser.cs
- CompositionAdorner.cs
- DataObjectFieldAttribute.cs
- HttpModulesSection.cs
- RenderData.cs
- SubstitutionResponseElement.cs
- DeferredTextReference.cs
- GlobalizationAssembly.cs
- Parameter.cs
- CalendarAutomationPeer.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- PropertyItem.cs
- TypeGenericEnumerableViewSchema.cs
- XmlElementAttributes.cs
- RelatedPropertyManager.cs
- PartialToken.cs
- DesignerDataSourceView.cs
- SqlMethodAttribute.cs
- PackageDigitalSignatureManager.cs
- DataViewListener.cs
- AuthenticationManager.cs
- Ref.cs
- XhtmlBasicLinkAdapter.cs
- FixedPageAutomationPeer.cs
- WrapPanel.cs
- File.cs
- _LoggingObject.cs
- MethodRental.cs
- Attachment.cs
- XPathNavigatorReader.cs
- XmlSerializationWriter.cs
- XpsS0ValidatingLoader.cs
- WFItemsToSpacerVisibility.cs