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
- EffectiveValueEntry.cs
- CompilerErrorCollection.cs
- AncillaryOps.cs
- HwndTarget.cs
- MSAAWinEventWrap.cs
- XPathPatternParser.cs
- ActivityDelegate.cs
- DataGridViewRowEventArgs.cs
- UiaCoreApi.cs
- HttpWebResponse.cs
- SelectorItemAutomationPeer.cs
- ToolStripDropDownDesigner.cs
- DateTimeConverter.cs
- ExpressionBuilderCollection.cs
- ListenerConfig.cs
- SqlReferenceCollection.cs
- InputLanguageCollection.cs
- HMACSHA512.cs
- SocketAddress.cs
- AppDomainProtocolHandler.cs
- XamlInt32CollectionSerializer.cs
- translator.cs
- DetailsViewInsertEventArgs.cs
- HttpAsyncResult.cs
- AttributeData.cs
- ADMembershipProvider.cs
- CompareInfo.cs
- AsyncPostBackTrigger.cs
- TimelineClockCollection.cs
- DateTimeStorage.cs
- RightsManagementInformation.cs
- InputLangChangeEvent.cs
- ScrollChrome.cs
- ImmutableCollection.cs
- ErrorFormatterPage.cs
- ObjectComplexPropertyMapping.cs
- OleDbParameterCollection.cs
- BookmarkWorkItem.cs
- EncodingInfo.cs
- ClientBuildManagerCallback.cs
- RectValueSerializer.cs
- CompModSwitches.cs
- AmbientProperties.cs
- SafeWaitHandle.cs
- HighlightVisual.cs
- DataColumnPropertyDescriptor.cs
- AxisAngleRotation3D.cs
- CodeAssignStatement.cs
- ProxyFragment.cs
- XmlEntity.cs
- TimelineGroup.cs
- SpellerError.cs
- AnnotationComponentChooser.cs
- HostProtectionPermission.cs
- ToolStripArrowRenderEventArgs.cs
- WmlObjectListAdapter.cs
- sqlstateclientmanager.cs
- PriorityItem.cs
- RegexGroupCollection.cs
- SqlStatistics.cs
- AesCryptoServiceProvider.cs
- SystemException.cs
- RegexCompilationInfo.cs
- TextEditorLists.cs
- DataGridViewRow.cs
- DynamicMethod.cs
- BrowserCapabilitiesFactoryBase.cs
- SolidColorBrush.cs
- OdbcCommand.cs
- HtmlMeta.cs
- HostingPreferredMapPath.cs
- ContactManager.cs
- WebPartDisplayModeCollection.cs
- COM2IDispatchConverter.cs
- GeneralTransform3DTo2DTo3D.cs
- Header.cs
- SrgsRulesCollection.cs
- _NTAuthentication.cs
- DictionarySectionHandler.cs
- TimeoutValidationAttribute.cs
- ConditionalExpression.cs
- PageThemeCodeDomTreeGenerator.cs
- WeakReferenceEnumerator.cs
- RichTextBoxConstants.cs
- AxisAngleRotation3D.cs
- HealthMonitoringSection.cs
- CodeDirectiveCollection.cs
- PathFigure.cs
- autovalidator.cs
- WebEventCodes.cs
- CorrelationService.cs
- WizardForm.cs
- TypedDataSourceCodeGenerator.cs
- StreamGeometry.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- OleDbEnumerator.cs
- IBuiltInEvidence.cs
- DayRenderEvent.cs
- DataColumnChangeEvent.cs
- XmlUtil.cs