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
- TableSectionStyle.cs
- HandleCollector.cs
- SecurityException.cs
- XmlKeywords.cs
- SettingsContext.cs
- BoolLiteral.cs
- RtfToXamlReader.cs
- InputReportEventArgs.cs
- DescendentsWalkerBase.cs
- SafeNativeMethods.cs
- GlobalizationSection.cs
- ZipIOFileItemStream.cs
- safelinkcollection.cs
- DynamicEndpoint.cs
- InputMethodStateChangeEventArgs.cs
- DoubleIndependentAnimationStorage.cs
- EventSourceCreationData.cs
- odbcmetadatacolumnnames.cs
- RunInstallerAttribute.cs
- TransformCollection.cs
- ForEachAction.cs
- TraceHwndHost.cs
- ObservableCollection.cs
- XmlSchemaAnnotated.cs
- SafeFileHandle.cs
- ViewPort3D.cs
- x509store.cs
- EntityDataSourceDataSelection.cs
- HostingEnvironment.cs
- SwitchLevelAttribute.cs
- XmlDataLoader.cs
- StreamingContext.cs
- RemoteWebConfigurationHostServer.cs
- MetricEntry.cs
- ResXResourceSet.cs
- RtfControls.cs
- XmlSchemaExporter.cs
- SecurityStateEncoder.cs
- MappingSource.cs
- LocationReferenceEnvironment.cs
- MoveSizeWinEventHandler.cs
- SqlXml.cs
- ClipboardData.cs
- CqlIdentifiers.cs
- IItemContainerGenerator.cs
- ToolStripItemEventArgs.cs
- AssertHelper.cs
- ClientFormsAuthenticationCredentials.cs
- TimelineCollection.cs
- WebPartConnectionsConfigureVerb.cs
- WindowsListViewItem.cs
- Decimal.cs
- NativeMethods.cs
- EmptyReadOnlyDictionaryInternal.cs
- OracleCommandBuilder.cs
- LinqDataSourceView.cs
- ModifierKeysConverter.cs
- XappLauncher.cs
- LogicalChannel.cs
- ListBoxItem.cs
- DefaultParameterValueAttribute.cs
- TextRunCache.cs
- ListView.cs
- EntityEntry.cs
- Assert.cs
- XsltContext.cs
- ShaderEffect.cs
- WebPartHelpVerb.cs
- Latin1Encoding.cs
- XmlSchemaGroup.cs
- XNameConverter.cs
- UnsafeNativeMethods.cs
- FlowNode.cs
- ElementHostPropertyMap.cs
- BrowserCapabilitiesCompiler.cs
- TreeNodeMouseHoverEvent.cs
- PeerContact.cs
- SoapElementAttribute.cs
- IOException.cs
- ProfileGroupSettings.cs
- DataObjectFieldAttribute.cs
- PanelStyle.cs
- UnsettableComboBox.cs
- SmtpTransport.cs
- ZipIOExtraFieldElement.cs
- BufferedGraphicsManager.cs
- Content.cs
- MasterPageCodeDomTreeGenerator.cs
- PrePrepareMethodAttribute.cs
- DbProviderConfigurationHandler.cs
- SecurityProtocolFactory.cs
- ConfigXmlText.cs
- TreeNode.cs
- NamespaceInfo.cs
- ByteViewer.cs
- sqlpipe.cs
- Hyperlink.cs
- SqlProcedureAttribute.cs
- ColorPalette.cs
- DetailsViewDesigner.cs