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
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DataSetMappper.cs
- WinEventTracker.cs
- EventLogPermissionEntry.cs
- Int64KeyFrameCollection.cs
- Shape.cs
- DatasetMethodGenerator.cs
- DBCommand.cs
- SpecularMaterial.cs
- NavigationExpr.cs
- AnnotationMap.cs
- ToolStripItemImageRenderEventArgs.cs
- ListBox.cs
- PlatformCulture.cs
- MetadataProperty.cs
- EdmFunction.cs
- IndentedTextWriter.cs
- ClientFormsIdentity.cs
- DesignerContextDescriptor.cs
- InheritanceService.cs
- TextWriter.cs
- ZipIOLocalFileHeader.cs
- BridgeDataRecord.cs
- RemoteCryptoTokenProvider.cs
- ThicknessAnimation.cs
- IxmlLineInfo.cs
- ImageAnimator.cs
- AccessedThroughPropertyAttribute.cs
- DefaultObjectMappingItemCollection.cs
- CommandBindingCollection.cs
- StoragePropertyMapping.cs
- SecurityManager.cs
- SelectionProviderWrapper.cs
- KeyNotFoundException.cs
- SendMailErrorEventArgs.cs
- BinaryHeap.cs
- StateInitialization.cs
- ClientSponsor.cs
- EntityKey.cs
- EventListener.cs
- CommandField.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SecurityKeyIdentifier.cs
- CookieParameter.cs
- AdRotator.cs
- MatrixTransform3D.cs
- MaskDescriptor.cs
- Converter.cs
- ParameterModifier.cs
- XslCompiledTransform.cs
- WindowsAuthenticationModule.cs
- SafeCryptoHandles.cs
- ImageSource.cs
- FrameSecurityDescriptor.cs
- QuaternionConverter.cs
- ByteArrayHelperWithString.cs
- DbProviderFactories.cs
- WpfKnownMember.cs
- GridViewRowPresenterBase.cs
- XamlGridLengthSerializer.cs
- FixedSOMTableCell.cs
- Vector3DAnimationUsingKeyFrames.cs
- Accessible.cs
- DependencyPropertyAttribute.cs
- keycontainerpermission.cs
- _TransmitFileOverlappedAsyncResult.cs
- Tuple.cs
- Renderer.cs
- DependencyPropertyKey.cs
- MediaEntryAttribute.cs
- WindowsListBox.cs
- InstanceKeyNotReadyException.cs
- GridViewColumn.cs
- ApplicationBuildProvider.cs
- ContainerFilterService.cs
- RuntimeConfigLKG.cs
- XmlSecureResolver.cs
- PtsPage.cs
- DragDrop.cs
- ReliableSessionBindingElement.cs
- AutomationElementCollection.cs
- MergeFilterQuery.cs
- BindingMAnagerBase.cs
- RichTextBox.cs
- Visual.cs
- SmiContext.cs
- SqlAggregateChecker.cs
- ZeroOpNode.cs
- NullableDecimalMinMaxAggregationOperator.cs
- RoleGroup.cs
- TreeViewHitTestInfo.cs
- TextElementAutomationPeer.cs
- WmpBitmapDecoder.cs
- TransformProviderWrapper.cs
- XmlSchemaSet.cs
- AppSecurityManager.cs
- grammarelement.cs
- NameValueConfigurationCollection.cs
- EndOfStreamException.cs
- CustomAttribute.cs