Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FontUnitConverter.cs
- EntityDataSourceChangingEventArgs.cs
- XmlExtensionFunction.cs
- DecoderExceptionFallback.cs
- HelpProvider.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- RuntimeConfigLKG.cs
- SessionEndedEventArgs.cs
- KeyInterop.cs
- SchemaNamespaceManager.cs
- Int32CAMarshaler.cs
- StorageEntitySetMapping.cs
- XmlMapping.cs
- counter.cs
- WindowsBrush.cs
- CryptoHelper.cs
- CryptoHelper.cs
- DurableInstanceManager.cs
- RequestNavigateEventArgs.cs
- PropertyPathConverter.cs
- DrawingAttributesDefaultValueFactory.cs
- ResourceDisplayNameAttribute.cs
- XmlSchemaChoice.cs
- OneOfTypeConst.cs
- TreeNodeEventArgs.cs
- FormsAuthenticationUserCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- PolicyLevel.cs
- Literal.cs
- StringReader.cs
- BitmapData.cs
- DataTableMappingCollection.cs
- UrlMapping.cs
- ContextTokenTypeConverter.cs
- WebResponse.cs
- DefaultHttpHandler.cs
- TextServicesCompartmentContext.cs
- ResourceProperty.cs
- InvalidOperationException.cs
- ClientScriptManager.cs
- DbReferenceCollection.cs
- GlyphingCache.cs
- RenamedEventArgs.cs
- TaskFormBase.cs
- XmlUnspecifiedAttribute.cs
- TypeContext.cs
- ToolstripProfessionalRenderer.cs
- ConfigurationConverterBase.cs
- SqlBinder.cs
- OleDbError.cs
- FixedSOMPageConstructor.cs
- SocketElement.cs
- HeaderCollection.cs
- DataStreamFromComStream.cs
- FormsAuthenticationUser.cs
- LocalClientSecuritySettings.cs
- MultiTrigger.cs
- XmlWhitespace.cs
- URLMembershipCondition.cs
- TimeStampChecker.cs
- ObjectDataSourceStatusEventArgs.cs
- ReservationCollection.cs
- DataGrid.cs
- OracleCommandSet.cs
- IDictionary.cs
- TransactedBatchContext.cs
- PngBitmapEncoder.cs
- Misc.cs
- StateManager.cs
- MetadataItemEmitter.cs
- PermissionRequestEvidence.cs
- ElapsedEventArgs.cs
- PanelStyle.cs
- ComponentResourceKey.cs
- Empty.cs
- CommunicationObjectAbortedException.cs
- EncryptedType.cs
- coordinator.cs
- ImpersonationContext.cs
- TextTabProperties.cs
- CommentEmitter.cs
- COM2IDispatchConverter.cs
- DataFormats.cs
- Application.cs
- DataBinding.cs
- RightsManagementEncryptedStream.cs
- InputReportEventArgs.cs
- PictureBox.cs
- MatchingStyle.cs
- ActiveDesignSurfaceEvent.cs
- ItemCollection.cs
- HttpAsyncResult.cs
- CollectionContainer.cs
- ReadOnlyAttribute.cs
- BufferedReadStream.cs
- DataTemplateSelector.cs
- FixedTextView.cs
- DefaultBindingPropertyAttribute.cs
- SmiGettersStream.cs
- InfiniteTimeSpanConverter.cs