Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- QilStrConcatenator.cs
- EventMappingSettingsCollection.cs
- ItemList.cs
- DocComment.cs
- ContractValidationHelper.cs
- ToolStripOverflow.cs
- TextSerializer.cs
- TextRunProperties.cs
- AssemblyEvidenceFactory.cs
- PackWebRequestFactory.cs
- AlternateView.cs
- CustomWebEventKey.cs
- PlaceHolder.cs
- DbReferenceCollection.cs
- DATA_BLOB.cs
- ParenExpr.cs
- DiscardableAttribute.cs
- StateChangeEvent.cs
- EdmItemError.cs
- StyleModeStack.cs
- XmlSchemaInferenceException.cs
- StorageRoot.cs
- WizardStepBase.cs
- TableLayoutPanelResizeGlyph.cs
- DataViewSetting.cs
- AncillaryOps.cs
- GridToolTip.cs
- CreateDataSourceDialog.cs
- DeflateEmulationStream.cs
- ListItemConverter.cs
- Odbc32.cs
- StackOverflowException.cs
- Wildcard.cs
- DatasetMethodGenerator.cs
- PartialToken.cs
- SynchronizedCollection.cs
- PageTheme.cs
- TableCellAutomationPeer.cs
- HtmlWindow.cs
- MailAddressCollection.cs
- DateTimeOffset.cs
- SqlTriggerAttribute.cs
- CorrelationInitializer.cs
- ResourceReferenceKeyNotFoundException.cs
- WsrmFault.cs
- IPEndPointCollection.cs
- AtomServiceDocumentSerializer.cs
- InvalidFilterCriteriaException.cs
- CharAnimationUsingKeyFrames.cs
- UserControlDesigner.cs
- SchemaImporterExtensionsSection.cs
- QueryContinueDragEvent.cs
- SettingsSection.cs
- CustomMenuItemCollection.cs
- ReferenceEqualityComparer.cs
- ToolStripPanelCell.cs
- GridViewDeleteEventArgs.cs
- DataComponentNameHandler.cs
- DefaultMemberAttribute.cs
- CodeTypeReference.cs
- Fx.cs
- BuilderInfo.cs
- DataBindingHandlerAttribute.cs
- TableSectionStyle.cs
- ForeignConstraint.cs
- XmlSerializationReader.cs
- RoutedCommand.cs
- WorkerRequest.cs
- CacheRequest.cs
- ConstrainedGroup.cs
- DataFormat.cs
- DataSvcMapFile.cs
- Mapping.cs
- ConfigViewGenerator.cs
- RawUIStateInputReport.cs
- TypeUnloadedException.cs
- ClientConfigPaths.cs
- QueryableDataSourceEditData.cs
- DefaultBindingPropertyAttribute.cs
- FileIOPermission.cs
- WebPartCollection.cs
- ButtonBaseAutomationPeer.cs
- DataGridViewRowPostPaintEventArgs.cs
- BamlBinaryReader.cs
- Calendar.cs
- DefaultAsyncDataDispatcher.cs
- SequenceQuery.cs
- IOThreadTimer.cs
- Brush.cs
- CellPartitioner.cs
- invalidudtexception.cs
- LoginView.cs
- ApplicationCommands.cs
- SocketInformation.cs
- WindowsGraphics2.cs
- XPathDocumentNavigator.cs
- OraclePermission.cs
- WebPartActionVerb.cs
- ConditionBrowserDialog.cs
- ByteConverter.cs