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
- DecimalAnimationBase.cs
- CodeComment.cs
- CodeDOMUtility.cs
- OutputCacheSettings.cs
- MatrixConverter.cs
- TextContainerHelper.cs
- Utils.cs
- Parameter.cs
- HebrewNumber.cs
- LoadedOrUnloadedOperation.cs
- _AuthenticationState.cs
- VectorKeyFrameCollection.cs
- HttpInputStream.cs
- WorkItem.cs
- ListViewGroupCollectionEditor.cs
- BehaviorService.cs
- XmlCharacterData.cs
- Psha1DerivedKeyGenerator.cs
- SafeEventLogWriteHandle.cs
- EntityCommandExecutionException.cs
- UnmanagedMemoryStream.cs
- ColorMap.cs
- CollectionChangedEventManager.cs
- MessageQueuePermissionEntryCollection.cs
- RootProfilePropertySettingsCollection.cs
- MouseBinding.cs
- ValidationErrorEventArgs.cs
- ErasingStroke.cs
- PlainXmlWriter.cs
- BitmapEffectGroup.cs
- CalendarSelectionChangedEventArgs.cs
- DataGridViewTopRowAccessibleObject.cs
- ContextMenuStripActionList.cs
- NativeMethodsCLR.cs
- WindowsGraphicsCacheManager.cs
- PersonalizableTypeEntry.cs
- XPathAncestorIterator.cs
- CompositeFontInfo.cs
- CollectionConverter.cs
- DebugInfoExpression.cs
- ThicknessKeyFrameCollection.cs
- JsonGlobals.cs
- BuildProvider.cs
- ImageCodecInfoPrivate.cs
- Number.cs
- AuthenticationService.cs
- ListBoxItemAutomationPeer.cs
- MsmqInputChannelListenerBase.cs
- MethodSet.cs
- GridEntryCollection.cs
- CompatibleIComparer.cs
- StyleHelper.cs
- EmptyElement.cs
- SecurityResources.cs
- BrowserCapabilitiesFactory.cs
- DataAdapter.cs
- DataRecordInfo.cs
- XmlAnyAttributeAttribute.cs
- IPEndPointCollection.cs
- AsyncStreamReader.cs
- parserscommon.cs
- TreeNodeClickEventArgs.cs
- MultiByteCodec.cs
- WSSecurityJan2004.cs
- RawMouseInputReport.cs
- WaitForChangedResult.cs
- PopOutPanel.cs
- HttpBufferlessInputStream.cs
- HwndSubclass.cs
- ListMarkerSourceInfo.cs
- WindowsTab.cs
- EventLogSession.cs
- TableItemPattern.cs
- BrowserCapabilitiesCompiler.cs
- AssertSection.cs
- IsolatedStorageException.cs
- OracleLob.cs
- IPPacketInformation.cs
- DecimalConstantAttribute.cs
- ContextMenuStrip.cs
- TextRangeBase.cs
- WmpBitmapDecoder.cs
- DataListItem.cs
- EntityViewGenerator.cs
- basecomparevalidator.cs
- ByteAnimation.cs
- BinaryObjectInfo.cs
- Deflater.cs
- InternalCache.cs
- TextAutomationPeer.cs
- ResourceExpressionEditor.cs
- TrackingStringDictionary.cs
- DeclaredTypeValidatorAttribute.cs
- PropertyKey.cs
- ConnectionStringsExpressionEditor.cs
- SRef.cs
- FontStretches.cs
- TypedDataSetSchemaImporterExtension.cs
- ExtensionDataObject.cs
- GenerateTemporaryTargetAssembly.cs