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
- ToolStripItemTextRenderEventArgs.cs
- ADConnectionHelper.cs
- HtmlAnchor.cs
- MDIClient.cs
- TableRowGroup.cs
- WebContentFormatHelper.cs
- AssemblyNameProxy.cs
- TreeNodeStyle.cs
- XmlCDATASection.cs
- WebPartRestoreVerb.cs
- TextLineBreak.cs
- HttpCacheParams.cs
- _Win32.cs
- WindowsToolbar.cs
- Rectangle.cs
- ServiceThrottlingBehavior.cs
- EntityParameterCollection.cs
- TypeUtil.cs
- IODescriptionAttribute.cs
- TextModifier.cs
- ProjectedWrapper.cs
- SHA384Managed.cs
- TemplateAction.cs
- SmtpLoginAuthenticationModule.cs
- SystemTcpConnection.cs
- DomainUpDown.cs
- ImportContext.cs
- XmlUtil.cs
- BuildDependencySet.cs
- MimeFormImporter.cs
- SessionStateSection.cs
- SiteMapNodeCollection.cs
- Mapping.cs
- DataGridState.cs
- QueueProcessor.cs
- ReadOnlyActivityGlyph.cs
- EntityDataSourceColumn.cs
- PrimitiveXmlSerializers.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DataSourceHelper.cs
- QueryIntervalOp.cs
- FileUtil.cs
- Statements.cs
- MatrixStack.cs
- _SslSessionsCache.cs
- Storyboard.cs
- LineBreakRecord.cs
- MetadataWorkspace.cs
- StorageConditionPropertyMapping.cs
- KeyFrames.cs
- Attributes.cs
- WebHostScriptMappingsInstallComponent.cs
- StreamReader.cs
- InfoCardConstants.cs
- PackagingUtilities.cs
- WhiteSpaceTrimStringConverter.cs
- SchemaExporter.cs
- CssTextWriter.cs
- RoutedEventValueSerializer.cs
- WebPartConnectionsEventArgs.cs
- ClockController.cs
- EntityDataSourceStatementEditor.cs
- XmlSerializerVersionAttribute.cs
- StorageScalarPropertyMapping.cs
- UniqueID.cs
- FileLoadException.cs
- XmlTextWriter.cs
- Table.cs
- Section.cs
- DPCustomTypeDescriptor.cs
- WindowShowOrOpenTracker.cs
- SortFieldComparer.cs
- DataTemplateSelector.cs
- SoapEnvelopeProcessingElement.cs
- Token.cs
- InvalidProgramException.cs
- PropertyGrid.cs
- DesignerDataTableBase.cs
- _ConnectOverlappedAsyncResult.cs
- LocatorPartList.cs
- XmlSchemas.cs
- SnapshotChangeTrackingStrategy.cs
- EFColumnProvider.cs
- AnnotationComponentManager.cs
- BulletChrome.cs
- SystemSounds.cs
- TemplateBindingExtensionConverter.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- BindingList.cs
- ClientSettingsSection.cs
- SamlSerializer.cs
- ScrollItemProviderWrapper.cs
- XmlAttributeProperties.cs
- XmlUtf8RawTextWriter.cs
- ExpandCollapseProviderWrapper.cs
- HandlerWithFactory.cs
- DataGridViewAutoSizeModeEventArgs.cs
- AnnotationResourceCollection.cs
- ApplicationFileParser.cs
- MergeFilterQuery.cs