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
- OptimizedTemplateContent.cs
- EditorPartChrome.cs
- XmlExpressionDumper.cs
- HandledEventArgs.cs
- EditorZoneBase.cs
- FreezableOperations.cs
- LinkLabelLinkClickedEvent.cs
- WebPartsPersonalizationAuthorization.cs
- TableCellAutomationPeer.cs
- securitycriticaldataformultiplegetandset.cs
- MetadataCacheItem.cs
- Codec.cs
- RsaSecurityTokenAuthenticator.cs
- EventLevel.cs
- Blend.cs
- DocumentPage.cs
- WebServiceHandler.cs
- WorkflowInstanceProxy.cs
- Matrix3DStack.cs
- ValidatingPropertiesEventArgs.cs
- SchemaMapping.cs
- MailDefinitionBodyFileNameEditor.cs
- ActiveXHost.cs
- ConcatQueryOperator.cs
- PrintingPermissionAttribute.cs
- WebPart.cs
- ConfigurationException.cs
- CodeVariableDeclarationStatement.cs
- Rect3DValueSerializer.cs
- HttpCachePolicyWrapper.cs
- MetricEntry.cs
- httpapplicationstate.cs
- IdentityModelDictionary.cs
- NamespaceExpr.cs
- DesignColumnCollection.cs
- OnOperation.cs
- ConnectionPointGlyph.cs
- XmlArrayItemAttribute.cs
- UIPropertyMetadata.cs
- QueueSurrogate.cs
- MetadataPropertyAttribute.cs
- WrappedIUnknown.cs
- DisplayNameAttribute.cs
- DataViewSettingCollection.cs
- PointLightBase.cs
- RetriableClipboard.cs
- TimelineGroup.cs
- LinqTreeNodeEvaluator.cs
- CurrencyWrapper.cs
- DocumentPageViewAutomationPeer.cs
- InputEventArgs.cs
- CombinedTcpChannel.cs
- ParenthesizePropertyNameAttribute.cs
- CodeTypeReference.cs
- TokenBasedSet.cs
- BinaryNode.cs
- ToolboxItemCollection.cs
- X509CertificateTokenFactoryCredential.cs
- Transform.cs
- DataGridViewHitTestInfo.cs
- SelectionRange.cs
- XmlCharType.cs
- ExtendedProperty.cs
- ProfessionalColorTable.cs
- Decoder.cs
- SocketException.cs
- MessageBox.cs
- ScrollProperties.cs
- RootBrowserWindowProxy.cs
- ConsumerConnectionPoint.cs
- EncryptedPackageFilter.cs
- EFColumnProvider.cs
- ReleaseInstanceMode.cs
- UrlMapping.cs
- SafeArchiveContext.cs
- JsonClassDataContract.cs
- DelegateCompletionCallbackWrapper.cs
- MetadataStore.cs
- TrackBar.cs
- WsatStrings.cs
- MenuItem.cs
- Button.cs
- TrackBar.cs
- Rijndael.cs
- XamlFilter.cs
- ALinqExpressionVisitor.cs
- initElementDictionary.cs
- OnOperation.cs
- Set.cs
- CorrelationManager.cs
- Formatter.cs
- LogArchiveSnapshot.cs
- TreeViewImageIndexConverter.cs
- GridItemPattern.cs
- TableRowGroup.cs
- odbcmetadatacolumnnames.cs
- HtmlHead.cs
- SQLBytesStorage.cs
- XmlMapping.cs
- CheckBoxAutomationPeer.cs