Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StateBag.cs
- ItemType.cs
- WorkflowRequestContext.cs
- PaperSize.cs
- OAVariantLib.cs
- PerformanceCounterManager.cs
- SpecialFolderEnumConverter.cs
- LambdaSerializationException.cs
- AxHost.cs
- FormatConvertedBitmap.cs
- CircleEase.cs
- XmlSchemaImporter.cs
- WindowsListViewItemStartMenu.cs
- TraceContextEventArgs.cs
- ProtectedConfiguration.cs
- MailMessage.cs
- ReadOnlyHierarchicalDataSource.cs
- CompModHelpers.cs
- ClipboardData.cs
- FontCollection.cs
- ErrorCodes.cs
- ScopedKnownTypes.cs
- TemplateAction.cs
- UnauthorizedWebPart.cs
- MsmqInputChannel.cs
- httpserverutility.cs
- StrokeCollectionDefaultValueFactory.cs
- DynamicUpdateCommand.cs
- EntityDataSourceChangingEventArgs.cs
- AsyncOperationContext.cs
- NumberFormatInfo.cs
- WebBrowser.cs
- EntityDataSourceSelectingEventArgs.cs
- ResourceDictionaryCollection.cs
- ListParagraph.cs
- ImageListUtils.cs
- DefaultBinder.cs
- DuplexChannelBinder.cs
- ConfigXmlWhitespace.cs
- SeparatorAutomationPeer.cs
- TemplatePagerField.cs
- ListViewDataItem.cs
- TreeNodeEventArgs.cs
- TextEditor.cs
- DefaultTextStore.cs
- HtmlWindow.cs
- WorkflowRuntimeEndpoint.cs
- TypeUtils.cs
- TextBoxAutomationPeer.cs
- ToolStripItemClickedEventArgs.cs
- IdentitySection.cs
- StringTraceRecord.cs
- SerializationAttributes.cs
- ProfileSection.cs
- Package.cs
- DefaultPropertyAttribute.cs
- KeyValueConfigurationElement.cs
- SafeIUnknown.cs
- SemanticResultKey.cs
- TextEncodedRawTextWriter.cs
- QueryOutputWriterV1.cs
- InterleavedZipPartStream.cs
- FixedSOMTable.cs
- documentation.cs
- SelectionRange.cs
- baseaxisquery.cs
- Graphics.cs
- ThrowOnMultipleAssignment.cs
- UIElement3D.cs
- DataFormat.cs
- ApplicationHost.cs
- SoapElementAttribute.cs
- MetadataPropertyCollection.cs
- BitmapEffectInputData.cs
- InlineObject.cs
- KeyInfo.cs
- SyndicationSerializer.cs
- RevocationPoint.cs
- IntegerValidatorAttribute.cs
- LogLogRecordHeader.cs
- OpenFileDialog.cs
- ParameterElement.cs
- TreeViewHitTestInfo.cs
- ToolStripContainer.cs
- HttpSocketManager.cs
- FocusWithinProperty.cs
- NavigationWindow.cs
- HwndHostAutomationPeer.cs
- NativeMethods.cs
- SqlDataSourceQueryEditorForm.cs
- Listbox.cs
- SortableBindingList.cs
- SqlConnectionPoolProviderInfo.cs
- DesignTimeTemplateParser.cs
- File.cs
- XPathQueryGenerator.cs
- DataGridViewImageCell.cs
- DispatcherOperation.cs
- ClientProxyGenerator.cs
- TextRangeAdaptor.cs