Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ByteRangeDownloader.cs
- SecurityAccessDeniedException.cs
- AtomicFile.cs
- DrawingGroup.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DateTimeOffsetStorage.cs
- ProfileSection.cs
- AllMembershipCondition.cs
- EmptyStringExpandableObjectConverter.cs
- DbParameterCollectionHelper.cs
- CustomError.cs
- EventLogInformation.cs
- FilteredAttributeCollection.cs
- ContractMapping.cs
- ReachVisualSerializerAsync.cs
- TextDecorationCollection.cs
- FontSource.cs
- RoleService.cs
- TrackingConditionCollection.cs
- AxisAngleRotation3D.cs
- SqlDataSourceQueryConverter.cs
- SR.Designer.cs
- _SafeNetHandles.cs
- XmlExceptionHelper.cs
- NamespaceTable.cs
- SortableBindingList.cs
- Exceptions.cs
- FieldAccessException.cs
- PropertyGridCommands.cs
- OdbcDataReader.cs
- LiteralTextParser.cs
- TextTreeRootTextBlock.cs
- StatusBarDesigner.cs
- ListCommandEventArgs.cs
- PointAnimation.cs
- EventItfInfo.cs
- XhtmlBasicLiteralTextAdapter.cs
- XsltSettings.cs
- PasswordBox.cs
- StateDesigner.CommentLayoutGlyph.cs
- ProjectedSlot.cs
- VisualBrush.cs
- SimplePropertyEntry.cs
- IntegerFacetDescriptionElement.cs
- CustomAttributeBuilder.cs
- PointAnimationUsingKeyFrames.cs
- BindableAttribute.cs
- ResXFileRef.cs
- Encoding.cs
- CacheAxisQuery.cs
- UnsafeNativeMethodsCLR.cs
- PieceDirectory.cs
- HtmlWindow.cs
- FocusChangedEventArgs.cs
- ObjectAssociationEndMapping.cs
- XmlNode.cs
- QueueException.cs
- DefaultCommandExtensionCallback.cs
- StreamResourceInfo.cs
- RequestCacheEntry.cs
- Identity.cs
- SqlTypeConverter.cs
- RelatedView.cs
- QuaternionAnimationUsingKeyFrames.cs
- XmlNodeChangedEventManager.cs
- EventLevel.cs
- WebPartChrome.cs
- ContractNamespaceAttribute.cs
- ComponentDispatcherThread.cs
- AppDomainAttributes.cs
- ResourceSet.cs
- ServiceActivationException.cs
- TypeResolvingOptionsAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- OdbcEnvironment.cs
- AttributeSetAction.cs
- MenuTracker.cs
- TraceLog.cs
- LicenseManager.cs
- MSAAEventDispatcher.cs
- TaskResultSetter.cs
- RegexCaptureCollection.cs
- TextRunCache.cs
- ZipIORawDataFileBlock.cs
- RectangleHotSpot.cs
- TimeZone.cs
- XmlUtilWriter.cs
- Tuple.cs
- SizeIndependentAnimationStorage.cs
- SamlDoNotCacheCondition.cs
- ConfigurationElementCollection.cs
- LinkedList.cs
- PanelStyle.cs
- JoinElimination.cs
- EventRoute.cs
- QueryCursorEventArgs.cs
- HitTestWithGeometryDrawingContextWalker.cs
- UIElement3D.cs
- FaultPropagationRecord.cs
- Floater.cs