Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapNodeItem.cs / 2 / 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. //------------------------------------------------------------------------------ // // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SubpageParaClient.cs
- OutputCacheSection.cs
- ServiceBuildProvider.cs
- RijndaelManaged.cs
- TerminatorSinks.cs
- WindowsListView.cs
- ObjectPersistData.cs
- OptimizerPatterns.cs
- DocumentSequenceHighlightLayer.cs
- KeyInterop.cs
- DataGridViewCheckBoxColumn.cs
- DefaultPropertyAttribute.cs
- LinkTarget.cs
- BindingGroup.cs
- ContentOperations.cs
- ComboBoxAutomationPeer.cs
- FunctionImportElement.cs
- PopOutPanel.cs
- AmbientValueAttribute.cs
- OperationCanceledException.cs
- externdll.cs
- BamlResourceDeserializer.cs
- FontCacheUtil.cs
- EntityDataSource.cs
- ProxyManager.cs
- ObjectListDesigner.cs
- ThaiBuddhistCalendar.cs
- EventRoute.cs
- _HeaderInfo.cs
- TableItemProviderWrapper.cs
- CodeBinaryOperatorExpression.cs
- FocusTracker.cs
- ErrorHandler.cs
- regiisutil.cs
- OrderedHashRepartitionStream.cs
- ClonableStack.cs
- FrugalList.cs
- BamlLocalizationDictionary.cs
- CatalogZoneDesigner.cs
- InkPresenter.cs
- CommonObjectSecurity.cs
- HtmlElementCollection.cs
- TableLayoutSettings.cs
- HashFinalRequest.cs
- DataServiceProcessingPipelineEventArgs.cs
- SmiEventSink_DeferedProcessing.cs
- ServicesSection.cs
- CleanUpVirtualizedItemEventArgs.cs
- TextParaClient.cs
- XmlValidatingReader.cs
- AudioLevelUpdatedEventArgs.cs
- CapabilitiesSection.cs
- BrowserCapabilitiesFactoryBase.cs
- _NestedSingleAsyncResult.cs
- ReliableMessagingVersion.cs
- DelegatingTypeDescriptionProvider.cs
- Resources.Designer.cs
- SQLBinary.cs
- OperationResponse.cs
- DocumentEventArgs.cs
- BinarySerializer.cs
- BooleanFacetDescriptionElement.cs
- PropertyTabChangedEvent.cs
- DaylightTime.cs
- WpfGeneratedKnownTypes.cs
- RepeatInfo.cs
- LayoutDump.cs
- TypeConverter.cs
- WebPartTransformer.cs
- ActivationServices.cs
- RotateTransform.cs
- TraceInternal.cs
- ArgumentDesigner.xaml.cs
- RouteCollection.cs
- COM2FontConverter.cs
- ResourceReferenceExpression.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- AssemblyUtil.cs
- ReferenceService.cs
- EntityFunctions.cs
- UniqueConstraint.cs
- PropertyRecord.cs
- CommandBinding.cs
- SocketInformation.cs
- Point4DConverter.cs
- SQLBinary.cs
- CodeTypeDeclarationCollection.cs
- ColumnMapTranslator.cs
- HttpListenerPrefixCollection.cs
- ResourceDictionary.cs
- DetailsViewInsertedEventArgs.cs
- XamlFilter.cs
- WindowsSecurityToken.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlSchemaException.cs
- StreamGeometry.cs
- SqlPersonalizationProvider.cs
- NotConverter.cs
- WebAdminConfigurationHelper.cs
- GlyphCache.cs