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
- MatchingStyle.cs
- SafeNativeMethods.cs
- SByteStorage.cs
- EnumCodeDomSerializer.cs
- SubMenuStyle.cs
- ApplicationHost.cs
- DesignSurfaceCollection.cs
- MonthCalendar.cs
- TextServicesCompartmentEventSink.cs
- ConditionValidator.cs
- SiteMapNodeCollection.cs
- OverrideMode.cs
- MarshalByRefObject.cs
- FamilyTypefaceCollection.cs
- ReadOnlyDictionary.cs
- VerificationAttribute.cs
- SemanticResultKey.cs
- ApplicationProxyInternal.cs
- HostingEnvironmentException.cs
- StaticFileHandler.cs
- UnmanagedMemoryStream.cs
- ImageField.cs
- PagesSection.cs
- ILGen.cs
- XmlTextReaderImpl.cs
- DataServiceEntityAttribute.cs
- ListBoxItemWrapperAutomationPeer.cs
- XmlSortKey.cs
- PerformanceCounters.cs
- SecurityElement.cs
- XamlRtfConverter.cs
- SiteMapProvider.cs
- Int32CAMarshaler.cs
- CompositeFontInfo.cs
- RouteValueDictionary.cs
- ClientTarget.cs
- BrushValueSerializer.cs
- XpsS0ValidatingLoader.cs
- EntityRecordInfo.cs
- ArglessEventHandlerProxy.cs
- Main.cs
- Operators.cs
- XmlArrayItemAttribute.cs
- StateMachine.cs
- BitmapEffect.cs
- LayoutDump.cs
- DataException.cs
- CompiledQuery.cs
- ISSmlParser.cs
- Transform.cs
- PartialCachingAttribute.cs
- InvalidCardException.cs
- _AcceptOverlappedAsyncResult.cs
- DocumentPageViewAutomationPeer.cs
- WebPartActionVerb.cs
- XmlSchemaCompilationSettings.cs
- SafeNativeMethods.cs
- EntityException.cs
- DeflateEmulationStream.cs
- DataGridViewLinkCell.cs
- RestrictedTransactionalPackage.cs
- ViewCellRelation.cs
- PowerModeChangedEventArgs.cs
- TracedNativeMethods.cs
- DrawListViewItemEventArgs.cs
- UrlMappingsModule.cs
- PrimitiveType.cs
- _KerberosClient.cs
- Executor.cs
- ZipIOLocalFileDataDescriptor.cs
- CapabilitiesSection.cs
- ListManagerBindingsCollection.cs
- IPAddress.cs
- TreeNode.cs
- GeneralTransform3DTo2DTo3D.cs
- StateBag.cs
- SchemaObjectWriter.cs
- XmlBoundElement.cs
- SlipBehavior.cs
- PackageRelationshipSelector.cs
- HttpResponseInternalWrapper.cs
- AssemblyNameProxy.cs
- ObjectStateManager.cs
- XsdBuildProvider.cs
- HostingPreferredMapPath.cs
- SelectorItemAutomationPeer.cs
- WaitHandle.cs
- SignatureHelper.cs
- SymbolEqualComparer.cs
- BaseAddressElementCollection.cs
- TabItem.cs
- DragEvent.cs
- DecoderNLS.cs
- ObjectTag.cs
- Int64Storage.cs
- RowsCopiedEventArgs.cs
- XmlIlTypeHelper.cs
- DesignerAttribute.cs
- WebBrowserUriTypeConverter.cs
- CreateUserErrorEventArgs.cs