Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / RepeaterItem.cs / 1 / RepeaterItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Web.UI; using System.Security.Permissions; ////// [ ToolboxItem(false) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class RepeaterItem : Control, IDataItemContainer { private int itemIndex; private ListItemType itemType; private object dataItem; ///Encapsulates an item within the ///control. /// public RepeaterItem(int itemIndex, ListItemType itemType) { this.itemIndex = itemIndex; this.itemType = itemType; } ///Initializes a new instance of the ///with the specified item type and /// location. /// Specifies the data item. /// public virtual object DataItem { get { return dataItem; } set { dataItem = value; } } ////// public virtual int ItemIndex { get { return itemIndex; } } ///Indicates the ordinal index that specifies the item /// location within the ////// . /// Indicates the public virtual ListItemType ItemType { get { return itemType; } } ///item type. This property is /// read-only. /// /// /// protected override bool OnBubbleEvent(object source, EventArgs e) { if (e is CommandEventArgs) { RepeaterCommandEventArgs args = new RepeaterCommandEventArgs(this, source, (CommandEventArgs)e); RaiseBubbleEvent(this, args); return true; } return false; } 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PolyBezierSegmentFigureLogic.cs
- DeferredTextReference.cs
- BindingList.cs
- DataGridViewTopLeftHeaderCell.cs
- CellIdBoolean.cs
- CreateUserWizardStep.cs
- SqlMethodAttribute.cs
- SystemWebCachingSectionGroup.cs
- precedingquery.cs
- UpdateTranslator.cs
- Optimizer.cs
- UnitySerializationHolder.cs
- LabelAutomationPeer.cs
- DesignerAttribute.cs
- ProcessModuleDesigner.cs
- ListDictionary.cs
- TextBoxBase.cs
- RuleSettingsCollection.cs
- TypeDelegator.cs
- MessageHeaderDescription.cs
- WorkflowServiceAttributes.cs
- StringConcat.cs
- RemotingSurrogateSelector.cs
- EventWaitHandle.cs
- HwndMouseInputProvider.cs
- TransformerInfo.cs
- SyndicationSerializer.cs
- SamlAttribute.cs
- CounterSampleCalculator.cs
- JsonFormatGeneratorStatics.cs
- AddingNewEventArgs.cs
- TextStore.cs
- FilterableAttribute.cs
- WindowsStartMenu.cs
- BindingList.cs
- PolicyDesigner.cs
- DataGridViewHeaderCell.cs
- PageDeviceFont.cs
- TextParaClient.cs
- OleDbWrapper.cs
- DynamicVirtualDiscoSearcher.cs
- SrgsElementList.cs
- AutomationEvent.cs
- Convert.cs
- OdbcHandle.cs
- SqlXmlStorage.cs
- LongValidator.cs
- SafeArchiveContext.cs
- BCLDebug.cs
- SchemaConstraints.cs
- RolePrincipal.cs
- Rules.cs
- XNameConverter.cs
- DataGridViewLinkCell.cs
- DeferredElementTreeState.cs
- GridLength.cs
- DataGridViewCellStyle.cs
- XmlDocumentType.cs
- AddInEnvironment.cs
- VersionPair.cs
- StringValueSerializer.cs
- dbdatarecord.cs
- SiteMapSection.cs
- SqlError.cs
- ImportCatalogPart.cs
- PathGradientBrush.cs
- ThicknessAnimationBase.cs
- CodeSubDirectory.cs
- PropertyGrid.cs
- FigureParaClient.cs
- UpDownEvent.cs
- Aggregates.cs
- LiteralDesigner.cs
- CSharpCodeProvider.cs
- Int32AnimationBase.cs
- DefaultTraceListener.cs
- XmlnsPrefixAttribute.cs
- KnownIds.cs
- MarginCollapsingState.cs
- Number.cs
- CalendarModeChangedEventArgs.cs
- AssociationEndMember.cs
- StreamWithDictionary.cs
- FrugalList.cs
- SafeFileHandle.cs
- WebPartTransformerAttribute.cs
- ExeContext.cs
- OutputCacheProviderCollection.cs
- DuplicateDetector.cs
- ExtendedPropertyCollection.cs
- RtfControls.cs
- PropertyEntry.cs
- COM2FontConverter.cs
- CookieHandler.cs
- NameTable.cs
- Synchronization.cs
- SplineKeyFrames.cs
- ZoneLinkButton.cs
- ProcessHostMapPath.cs
- ExpandSegment.cs