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
- QilPatternVisitor.cs
- KeyValueInternalCollection.cs
- CompilerTypeWithParams.cs
- LocationInfo.cs
- PerformanceCounterLib.cs
- RowVisual.cs
- HttpConfigurationContext.cs
- GeneralTransform3DCollection.cs
- RegistryExceptionHelper.cs
- MoveSizeWinEventHandler.cs
- CompilerGeneratedAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- CompositeDispatchFormatter.cs
- AbstractExpressions.cs
- Drawing.cs
- IisTraceWebEventProvider.cs
- InputScope.cs
- DrawingDrawingContext.cs
- GridViewSortEventArgs.cs
- InstanceNameConverter.cs
- Scene3D.cs
- ToolboxComponentsCreatingEventArgs.cs
- ThreadExceptionEvent.cs
- XmlWrappingReader.cs
- DebugController.cs
- WebResponse.cs
- ConfigurationElementCollection.cs
- LeafCellTreeNode.cs
- ToolBarPanel.cs
- ReadOnlyHierarchicalDataSource.cs
- ISCIIEncoding.cs
- VectorCollection.cs
- HostProtectionException.cs
- SmtpFailedRecipientsException.cs
- AuthorizationContext.cs
- UrlMappingCollection.cs
- SmtpFailedRecipientsException.cs
- TraceProvider.cs
- ProxyGenerationError.cs
- SafeReadContext.cs
- TransformCollection.cs
- EntityDataSourceWrapper.cs
- glyphs.cs
- SendActivityDesigner.cs
- _RequestCacheProtocol.cs
- PreviousTrackingServiceAttribute.cs
- ObjectView.cs
- UniqueEventHelper.cs
- MouseGestureValueSerializer.cs
- ObjectDataSourceSelectingEventArgs.cs
- GeometryGroup.cs
- MediaScriptCommandRoutedEventArgs.cs
- BaseDataListComponentEditor.cs
- Socket.cs
- DependsOnAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- DatatypeImplementation.cs
- Atom10FormatterFactory.cs
- TableLayoutColumnStyleCollection.cs
- TypeUnloadedException.cs
- TaskDesigner.cs
- SqlFileStream.cs
- SchemaImporterExtensionsSection.cs
- TextRangeEditTables.cs
- TextStore.cs
- BasicCommandTreeVisitor.cs
- MethodCallTranslator.cs
- FixedBufferAttribute.cs
- Int32RectConverter.cs
- SeparatorAutomationPeer.cs
- SqlXml.cs
- PartBasedPackageProperties.cs
- Image.cs
- ExpandableObjectConverter.cs
- Rectangle.cs
- MessageSecurityVersion.cs
- CancellableEnumerable.cs
- PrincipalPermission.cs
- FunctionUpdateCommand.cs
- FileUtil.cs
- UriPrefixTable.cs
- TdsParser.cs
- ReadOnlyTernaryTree.cs
- SrgsElementList.cs
- RoutedEventArgs.cs
- PrinterUnitConvert.cs
- URLAttribute.cs
- Point3DIndependentAnimationStorage.cs
- SerializationSectionGroup.cs
- Transform.cs
- ReadOnlyCollection.cs
- ScriptControlDescriptor.cs
- Constraint.cs
- CanExecuteRoutedEventArgs.cs
- MenuEventArgs.cs
- MarkupObject.cs
- SessionIDManager.cs
- UnsafeNativeMethods.cs
- UIElement.cs
- DoubleLinkList.cs