Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValidationRule.cs
- WindowsIdentity.cs
- ImageConverter.cs
- ServiceDesigner.xaml.cs
- ManifestBasedResourceGroveler.cs
- ExpressionEditorAttribute.cs
- RsaSecurityToken.cs
- WebPartEditorOkVerb.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WeakHashtable.cs
- DefaultValueTypeConverter.cs
- DoubleUtil.cs
- DataGridColumn.cs
- XmlNotation.cs
- TraceSection.cs
- SkinBuilder.cs
- QueryAccessibilityHelpEvent.cs
- Misc.cs
- itemelement.cs
- DataSourceXmlSerializer.cs
- ErrorActivity.cs
- Polygon.cs
- ToolStripStatusLabel.cs
- ImageFormatConverter.cs
- MissingSatelliteAssemblyException.cs
- ChannelManager.cs
- CookielessHelper.cs
- DataRow.cs
- CompositeControl.cs
- Panel.cs
- XmlUtil.cs
- MemoryMappedViewStream.cs
- HtmlCommandAdapter.cs
- PeerNameRegistration.cs
- LocalizabilityAttribute.cs
- _TimerThread.cs
- VisualStyleTypesAndProperties.cs
- ByteStream.cs
- BuiltInExpr.cs
- IDQuery.cs
- ResourceContainerWrapper.cs
- XmlILTrace.cs
- TransformerTypeCollection.cs
- ContentElementCollection.cs
- Thickness.cs
- WebControl.cs
- Compiler.cs
- FocusManager.cs
- PartialCachingControl.cs
- RuntimeConfigurationRecord.cs
- XamlTypeMapperSchemaContext.cs
- SchemaCompiler.cs
- SystemTcpConnection.cs
- HMACMD5.cs
- LeaseManager.cs
- WorkflowExecutor.cs
- Policy.cs
- TabPanel.cs
- HtmlTernaryTree.cs
- AttributeEmitter.cs
- MailMessage.cs
- UInt16Storage.cs
- ProcessManager.cs
- SemaphoreFullException.cs
- UnsafeNativeMethodsCLR.cs
- CommandExpr.cs
- UpdateCommand.cs
- TemplatedAdorner.cs
- RuleEngine.cs
- Dispatcher.cs
- DataSvcMapFile.cs
- DataGridViewComboBoxCell.cs
- ServerValidateEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- DrawingContextFlattener.cs
- AvtEvent.cs
- LayoutTable.cs
- SoapSchemaExporter.cs
- PeerTransportElement.cs
- MenuItemCollectionEditorDialog.cs
- ExpressionSelection.cs
- ThicknessConverter.cs
- BindingsCollection.cs
- UserPreferenceChangingEventArgs.cs
- AnnotationObservableCollection.cs
- ObjectReaderCompiler.cs
- DefaultAsyncDataDispatcher.cs
- Transform3DGroup.cs
- RoleServiceManager.cs
- MD5.cs
- ButtonBaseAutomationPeer.cs
- OutputWindow.cs
- SerializationInfo.cs
- StateManagedCollection.cs
- ClientData.cs
- WeakReferenceList.cs
- ObjectReaderCompiler.cs
- QuaternionRotation3D.cs
- CompilerLocalReference.cs
- RowToFieldTransformer.cs