Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / SiteMapNodeItem.cs / 1305376 / SiteMapNodeItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Web.UI; ////// [ ToolboxItem(false) ] 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.Web.UI; ////// [ ToolboxItem(false) ] 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
- FixedSOMLineRanges.cs
- DispatcherTimer.cs
- DXD.cs
- PropertyGridEditorPart.cs
- EntitySet.cs
- SimpleNameService.cs
- CodeStatement.cs
- SelectionListDesigner.cs
- PenLineJoinValidation.cs
- SHA512Managed.cs
- FixedTextContainer.cs
- UnicastIPAddressInformationCollection.cs
- ProfileSettingsCollection.cs
- ProfessionalColorTable.cs
- StorageScalarPropertyMapping.cs
- EntitySetRetriever.cs
- XmlProcessingInstruction.cs
- CommandLineParser.cs
- SqlGatherProducedAliases.cs
- SymmetricKey.cs
- DBConcurrencyException.cs
- unsafenativemethodstextservices.cs
- ConsumerConnectionPointCollection.cs
- FlowDocumentView.cs
- SchemaDeclBase.cs
- FontStyle.cs
- SmiEventStream.cs
- SqlBooleanMismatchVisitor.cs
- SelectQueryOperator.cs
- PersianCalendar.cs
- TypeConvertions.cs
- GridViewRowEventArgs.cs
- ToolboxComponentsCreatedEventArgs.cs
- EventLogPermissionEntry.cs
- LinearGradientBrush.cs
- CallSiteBinder.cs
- BackStopAuthenticationModule.cs
- RepeaterCommandEventArgs.cs
- OutputCacheProfile.cs
- ListBindingConverter.cs
- Utils.cs
- ContractUtils.cs
- ValidationResult.cs
- DesignerDeviceConfig.cs
- SignedPkcs7.cs
- MetadataWorkspace.cs
- ActivityLocationReferenceEnvironment.cs
- OleDbPermission.cs
- UIInitializationException.cs
- Pens.cs
- SqlProcedureAttribute.cs
- SqlNode.cs
- XmlEncodedRawTextWriter.cs
- PerformanceCounterPermissionEntry.cs
- Light.cs
- MouseGesture.cs
- DataGridViewCellParsingEventArgs.cs
- SortFieldComparer.cs
- HostUtils.cs
- HierarchicalDataBoundControlAdapter.cs
- SourceElementsCollection.cs
- DataGridViewCellValueEventArgs.cs
- FaultCallbackWrapper.cs
- TemplateContainer.cs
- Matrix.cs
- CommandBindingCollection.cs
- ActiveDocumentEvent.cs
- CfgParser.cs
- Evidence.cs
- MonikerProxyAttribute.cs
- BitmapEffectCollection.cs
- ListViewCancelEventArgs.cs
- __FastResourceComparer.cs
- DeleteBookmarkScope.cs
- Rect.cs
- Vertex.cs
- BaseCollection.cs
- EntityDataSourceState.cs
- ListControlActionList.cs
- ControlType.cs
- HttpServerUtilityBase.cs
- MultipleViewPattern.cs
- ObjectParameterCollection.cs
- WindowsIPAddress.cs
- DataGridViewDataConnection.cs
- SystemWebExtensionsSectionGroup.cs
- TcpActivation.cs
- RuleValidation.cs
- DESCryptoServiceProvider.cs
- DataGridRowAutomationPeer.cs
- PointCollection.cs
- CompatibleIComparer.cs
- ColumnMapCopier.cs
- RemotingConfigParser.cs
- SimpleTypesSurrogate.cs
- AtomEntry.cs
- Style.cs
- AccessedThroughPropertyAttribute.cs
- RsaKeyIdentifierClause.cs
- InternalException.cs