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
- ModulesEntry.cs
- LoginUtil.cs
- SystemUdpStatistics.cs
- HtmlTable.cs
- unsafenativemethodstextservices.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Util.cs
- ControlBindingsCollection.cs
- safesecurityhelperavalon.cs
- AsymmetricAlgorithm.cs
- TraceRecord.cs
- FastPropertyAccessor.cs
- ClientSponsor.cs
- CopyAttributesAction.cs
- TokenizerHelper.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- BaseTemplateParser.cs
- SkewTransform.cs
- LoadedOrUnloadedOperation.cs
- DataAccessor.cs
- Accessible.cs
- ItemsControl.cs
- OleDbParameterCollection.cs
- SQLDecimalStorage.cs
- SourceSwitch.cs
- HttpWriter.cs
- CustomBinding.cs
- XsdValidatingReader.cs
- XmlToDatasetMap.cs
- RelationHandler.cs
- MimePart.cs
- __ComObject.cs
- _IPv6Address.cs
- XMLSyntaxException.cs
- XmlSchemaComplexContentExtension.cs
- Button.cs
- Int16Converter.cs
- RectAnimationClockResource.cs
- Identifier.cs
- GroupQuery.cs
- RequestCachePolicy.cs
- SoundPlayer.cs
- CharacterString.cs
- PrimitiveRenderer.cs
- SqlBuilder.cs
- PrintPageEvent.cs
- ExtenderControl.cs
- EventHandlersStore.cs
- XmlSchemaObject.cs
- Int16Storage.cs
- NoneExcludedImageIndexConverter.cs
- TimeSpanValidator.cs
- RequestSecurityTokenResponse.cs
- EdmMember.cs
- AsynchronousChannelMergeEnumerator.cs
- PrintDialog.cs
- PolyBezierSegment.cs
- UInt64Storage.cs
- ResourceReader.cs
- ScheduleChanges.cs
- CodeGeneratorOptions.cs
- ApplicationCommands.cs
- _NegotiateClient.cs
- OdbcException.cs
- AppDomainProtocolHandler.cs
- StorageEndPropertyMapping.cs
- FrugalMap.cs
- IPipelineRuntime.cs
- ReaderWriterLockWrapper.cs
- ToolStripComboBox.cs
- PaperSize.cs
- StyleBamlTreeBuilder.cs
- SqlDataSourceParameterParser.cs
- RowCache.cs
- SelectedDatesCollection.cs
- FontUnit.cs
- HtmlHead.cs
- PingReply.cs
- ResXResourceReader.cs
- XslTransform.cs
- StringAttributeCollection.cs
- CalculatedColumn.cs
- WebPartCollection.cs
- BufferedStream.cs
- UnsafeNativeMethods.cs
- Merger.cs
- UnmanagedMarshal.cs
- FormsAuthenticationTicket.cs
- ScrollProviderWrapper.cs
- ToolStripSeparatorRenderEventArgs.cs
- OleDbInfoMessageEvent.cs
- SqlDataSourceCache.cs
- TreeViewDesigner.cs
- IHttpResponseInternal.cs
- SoapIncludeAttribute.cs
- ScriptModule.cs
- SecurityTokenProvider.cs
- CompleteWizardStep.cs
- LexicalChunk.cs
- ZipIOCentralDirectoryDigitalSignature.cs