Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapNodeItem.cs / 1 / SiteMapNodeItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; using System.Web.UI; ////// [ ToolboxItem(false) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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.Security.Permissions; using System.Web.UI; ////// [ ToolboxItem(false) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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
- ContractMapping.cs
- __ComObject.cs
- ToolStripGripRenderEventArgs.cs
- ListManagerBindingsCollection.cs
- SaveFileDialog.cs
- StrongName.cs
- ExceptionUtil.cs
- TransportElement.cs
- OutputCacheProfileCollection.cs
- SelectionProcessor.cs
- XmlMapping.cs
- SafeCryptContextHandle.cs
- ServiceManagerHandle.cs
- WindowsStatic.cs
- HuffmanTree.cs
- IFlowDocumentViewer.cs
- recordstatefactory.cs
- DiagnosticsConfiguration.cs
- OutputCacheSettingsSection.cs
- SingleBodyParameterMessageFormatter.cs
- XamlDesignerSerializationManager.cs
- Rotation3D.cs
- HtmlTableRow.cs
- ToolStripOverflowButton.cs
- Array.cs
- FilterableAttribute.cs
- TextEditorDragDrop.cs
- SqlProfileProvider.cs
- Globals.cs
- WebPartDisplayModeCollection.cs
- SyntaxCheck.cs
- ObjectSecurity.cs
- StringCollection.cs
- DataGridViewTextBoxCell.cs
- Version.cs
- PopupEventArgs.cs
- ArgumentException.cs
- RecordsAffectedEventArgs.cs
- TextEffect.cs
- ResourceDescriptionAttribute.cs
- HttpDictionary.cs
- XamlStream.cs
- EventLogPermissionEntryCollection.cs
- LinqToSqlWrapper.cs
- xsdvalidator.cs
- UnaryNode.cs
- TransformerConfigurationWizardBase.cs
- JsonFormatReaderGenerator.cs
- CustomValidator.cs
- AsymmetricSecurityProtocolFactory.cs
- DateTime.cs
- FixedSOMPageElement.cs
- EndOfStreamException.cs
- SizeFConverter.cs
- EmptyStringExpandableObjectConverter.cs
- VScrollBar.cs
- ComponentTray.cs
- WorkerRequest.cs
- DragCompletedEventArgs.cs
- MultipartContentParser.cs
- login.cs
- ExpressionPrinter.cs
- XmlNamedNodeMap.cs
- Int32CollectionConverter.cs
- XmlBufferReader.cs
- CodeDOMUtility.cs
- PopupEventArgs.cs
- BreakSafeBase.cs
- wmiprovider.cs
- DesignSurfaceServiceContainer.cs
- LinkTarget.cs
- StructuralComparisons.cs
- SerialReceived.cs
- ProfileSection.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- DataObjectMethodAttribute.cs
- DynamicPropertyHolder.cs
- ViewCellRelation.cs
- RotateTransform.cs
- ComplexLine.cs
- SqlErrorCollection.cs
- TableColumnCollection.cs
- PasswordRecovery.cs
- ComPlusServiceLoader.cs
- ThrowHelper.cs
- ColumnMap.cs
- ConfigPathUtility.cs
- glyphs.cs
- KeyConverter.cs
- InheritanceContextChangedEventManager.cs
- ClientRoleProvider.cs
- DockAndAnchorLayout.cs
- FontDriver.cs
- GlobalProxySelection.cs
- URLBuilder.cs
- DocumentViewerBaseAutomationPeer.cs
- ExtensionFile.cs
- TripleDES.cs
- AuthenticationException.cs
- PropertyDescriptor.cs