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
- EntitySqlQueryState.cs
- TextLine.cs
- CommonProperties.cs
- TriggerCollection.cs
- HtmlHead.cs
- Security.cs
- ContentElementAutomationPeer.cs
- DataGridViewHitTestInfo.cs
- Error.cs
- RenameRuleObjectDialog.Designer.cs
- CornerRadius.cs
- FrameworkContentElementAutomationPeer.cs
- DeploymentSection.cs
- DataRecordInternal.cs
- ContentDisposition.cs
- Hash.cs
- OSFeature.cs
- ControlCollection.cs
- CompositeDuplexBindingElement.cs
- RegexCompilationInfo.cs
- PerformanceCounterManager.cs
- WebServiceErrorEvent.cs
- XPathNodeIterator.cs
- MethodCallTranslator.cs
- PixelFormat.cs
- StyleSelector.cs
- InvalidPrinterException.cs
- UserMapPath.cs
- RegexCode.cs
- DrawListViewSubItemEventArgs.cs
- WebConfigurationHost.cs
- TrackingAnnotationCollection.cs
- DateTimeFormatInfoScanner.cs
- ObjectListComponentEditor.cs
- DataPagerCommandEventArgs.cs
- ReadOnlyDictionary.cs
- XmlSerializerVersionAttribute.cs
- ComponentResourceManager.cs
- AnnotationObservableCollection.cs
- DocumentEventArgs.cs
- XmlTypeMapping.cs
- SafeFindHandle.cs
- RequestResponse.cs
- AnonymousIdentificationSection.cs
- DocumentViewerHelper.cs
- DataServiceProcessingPipelineEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- PointCollection.cs
- CodeDOMUtility.cs
- TrackingAnnotationCollection.cs
- ByteViewer.cs
- ValueTypeIndexerReference.cs
- StringHelper.cs
- DataServiceSaveChangesEventArgs.cs
- DoubleLinkListEnumerator.cs
- XmlPreloadedResolver.cs
- SecurityHelper.cs
- ListViewItem.cs
- CatalogZone.cs
- TextFormatter.cs
- AutoGeneratedField.cs
- Cursors.cs
- ViewGenResults.cs
- RuntimeHelpers.cs
- Pens.cs
- RecordBuilder.cs
- MainMenu.cs
- TextWriterTraceListener.cs
- SHA256Managed.cs
- AbstractExpressions.cs
- DesignerVerb.cs
- prefixendpointaddressmessagefilter.cs
- securitycriticaldata.cs
- StringReader.cs
- NetworkInterface.cs
- TextElement.cs
- DurableInstanceProvider.cs
- GeneralTransform3DGroup.cs
- UdpReplyToBehavior.cs
- EmptyImpersonationContext.cs
- UrlMapping.cs
- PriorityRange.cs
- XmlDataDocument.cs
- FixedSOMTableCell.cs
- UncommonField.cs
- TargetConverter.cs
- HandlerWithFactory.cs
- PaginationProgressEventArgs.cs
- GradientBrush.cs
- CodeActivity.cs
- PersonalizationProviderHelper.cs
- DataSvcMapFile.cs
- AssemblyResourceLoader.cs
- DataGridBoundColumn.cs
- ListBox.cs
- ResourceBinder.cs
- TrackingStringDictionary.cs
- TiffBitmapEncoder.cs
- XmlSigningNodeWriter.cs
- ShaperBuffers.cs