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
- NullableDoubleAverageAggregationOperator.cs
- TransportOutputChannel.cs
- CodeGeneratorOptions.cs
- EpmContentDeSerializerBase.cs
- WindowsStatusBar.cs
- XmlSerializationGeneratedCode.cs
- RawStylusActions.cs
- SafeHandles.cs
- OdbcDataAdapter.cs
- Int32.cs
- WSTransactionSection.cs
- DoWorkEventArgs.cs
- DateTimeSerializationSection.cs
- TrackBarRenderer.cs
- TypographyProperties.cs
- Grant.cs
- PackageRelationshipSelector.cs
- ListControl.cs
- ListViewDataItem.cs
- OrderedDictionary.cs
- WindowsFormsHelpers.cs
- OutOfMemoryException.cs
- BamlTreeNode.cs
- FileLevelControlBuilderAttribute.cs
- MyContact.cs
- PageSetupDialog.cs
- CodeIdentifiers.cs
- SqlProvider.cs
- SetStateDesigner.cs
- EntityDataSourceView.cs
- TraceXPathNavigator.cs
- ResolveCriteriaCD1.cs
- Normalization.cs
- FixedStringLookup.cs
- SqlCaseSimplifier.cs
- StylusButton.cs
- ActivityExecutionContext.cs
- ToolStripDesignerUtils.cs
- SubMenuStyle.cs
- PropertyConverter.cs
- XmlDataDocument.cs
- DateTimeOffsetStorage.cs
- CommandPlan.cs
- MailAddress.cs
- VirtualizingStackPanel.cs
- TempEnvironment.cs
- SQLDouble.cs
- URLAttribute.cs
- GeometryModel3D.cs
- SpecialNameAttribute.cs
- CfgParser.cs
- SqlCommandSet.cs
- Atom10FormatterFactory.cs
- MorphHelper.cs
- _NtlmClient.cs
- CLSCompliantAttribute.cs
- BuilderPropertyEntry.cs
- GenericTypeParameterBuilder.cs
- PackageDigitalSignatureManager.cs
- XmlComment.cs
- Subset.cs
- HandlerWithFactory.cs
- MouseOverProperty.cs
- Brushes.cs
- BinaryMessageEncoder.cs
- PartialCachingAttribute.cs
- SeverityFilter.cs
- TemplateModeChangedEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- MimeBasePart.cs
- DrawingVisualDrawingContext.cs
- NativeMethods.cs
- WebPartMinimizeVerb.cs
- PackWebRequest.cs
- ParserExtension.cs
- HtmlFormParameterWriter.cs
- UnsafeNativeMethods.cs
- ResourceDisplayNameAttribute.cs
- WebPartEventArgs.cs
- DataTable.cs
- GridViewColumn.cs
- ToolboxItemWrapper.cs
- AttachmentService.cs
- CompModSwitches.cs
- ManifestResourceInfo.cs
- DataServices.cs
- SevenBitStream.cs
- WorkflowInspectionServices.cs
- DetailsViewInsertedEventArgs.cs
- WasAdminWrapper.cs
- Evaluator.cs
- SmtpNegotiateAuthenticationModule.cs
- StreamUpdate.cs
- FileSecurity.cs
- KnownBoxes.cs
- NCryptSafeHandles.cs
- AnimationTimeline.cs
- ValueQuery.cs
- SkipQueryOptionExpression.cs
- XmlSchemaException.cs