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
- OdbcPermission.cs
- PTProvider.cs
- _HTTPDateParse.cs
- DataExchangeServiceBinder.cs
- InvalidOleVariantTypeException.cs
- WebExceptionStatus.cs
- Converter.cs
- AttributeCollection.cs
- LineVisual.cs
- CounterCreationDataCollection.cs
- CollectionConverter.cs
- WeakEventTable.cs
- Hex.cs
- FontFamilyConverter.cs
- CompilerHelpers.cs
- ActivityContext.cs
- TimeSpanStorage.cs
- SpeechSeg.cs
- SafeIUnknown.cs
- SslStream.cs
- LocalizabilityAttribute.cs
- EdmSchemaError.cs
- DBNull.cs
- UrlMappingsModule.cs
- ChangeConflicts.cs
- WrappedIUnknown.cs
- Simplifier.cs
- WhitespaceSignificantCollectionAttribute.cs
- EnumerableCollectionView.cs
- SolidColorBrush.cs
- XmlNode.cs
- CheckedListBox.cs
- _SslStream.cs
- SqlTransaction.cs
- DataColumnMappingCollection.cs
- DtdParser.cs
- ImageField.cs
- WindowsGrip.cs
- BamlTreeNode.cs
- StateRuntime.cs
- MessageQueuePermissionEntry.cs
- CharAnimationBase.cs
- TemplateManager.cs
- CreateDataSourceDialog.cs
- basevalidator.cs
- QilScopedVisitor.cs
- TextServicesDisplayAttribute.cs
- ObsoleteAttribute.cs
- GlobalizationSection.cs
- PlatformNotSupportedException.cs
- CallContext.cs
- WebService.cs
- Operand.cs
- StandardOleMarshalObject.cs
- CreateSequenceResponse.cs
- Int32KeyFrameCollection.cs
- MemoryMappedView.cs
- RegexCompiler.cs
- ManualResetEvent.cs
- IndexedSelectQueryOperator.cs
- HandleCollector.cs
- ConnectionManagementSection.cs
- Lasso.cs
- TextPointer.cs
- AnnotationObservableCollection.cs
- CategoryGridEntry.cs
- CustomActivityDesigner.cs
- XPathNavigatorReader.cs
- ConfigurationLockCollection.cs
- KeyFrames.cs
- AlphabetConverter.cs
- TemplateInstanceAttribute.cs
- CapabilitiesPattern.cs
- IfElseDesigner.xaml.cs
- Brush.cs
- MatchAttribute.cs
- PathFigure.cs
- DetailsViewInsertedEventArgs.cs
- Assert.cs
- CheckBox.cs
- CellCreator.cs
- ImageSourceConverter.cs
- Renderer.cs
- _ConnectionGroup.cs
- SmiXetterAccessMap.cs
- ButtonBase.cs
- CharacterShapingProperties.cs
- NameTable.cs
- ConfigurationSection.cs
- DesignTimeHTMLTextWriter.cs
- SettingsPropertyValueCollection.cs
- XsltLibrary.cs
- IPipelineRuntime.cs
- tooltip.cs
- TabletDeviceInfo.cs
- GetLedgerEntryForRecipientRequest.cs
- EntityDataSourceReferenceGroup.cs
- StrokeCollectionDefaultValueFactory.cs
- ToolStripCustomTypeDescriptor.cs
- RuleProcessor.cs