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
- DataSysAttribute.cs
- Transform3DCollection.cs
- Util.cs
- IncrementalHitTester.cs
- BaseCollection.cs
- MaskedTextBoxTextEditorDropDown.cs
- PropertyMapper.cs
- BulletedList.cs
- ExpressionBinding.cs
- IntSecurity.cs
- MsmqAppDomainProtocolHandler.cs
- HwndStylusInputProvider.cs
- BooleanSwitch.cs
- LinqDataSourceInsertEventArgs.cs
- SymbolPair.cs
- XmlNode.cs
- EditorAttribute.cs
- TypeDescriptionProviderAttribute.cs
- ReadOnlyHierarchicalDataSourceView.cs
- LockedBorderGlyph.cs
- NumericUpDown.cs
- SparseMemoryStream.cs
- XmlSchemaIdentityConstraint.cs
- StagingAreaInputItem.cs
- FormsAuthenticationConfiguration.cs
- TreeSet.cs
- ReverseQueryOperator.cs
- CompilationPass2Task.cs
- CallbackDebugElement.cs
- PtsHost.cs
- CompositeClientFormatter.cs
- SourceInterpreter.cs
- CompilationUtil.cs
- ExtensibleClassFactory.cs
- MessageHeaderAttribute.cs
- PriorityBindingExpression.cs
- MetadataFile.cs
- Model3D.cs
- RegexCaptureCollection.cs
- activationcontext.cs
- ProviderBase.cs
- TrackingProfileDeserializationException.cs
- CheckBoxRenderer.cs
- MenuTracker.cs
- ByteBufferPool.cs
- XsltQilFactory.cs
- SchemaCollectionCompiler.cs
- ListenerUnsafeNativeMethods.cs
- HandledMouseEvent.cs
- ProgressBarAutomationPeer.cs
- WindowCollection.cs
- ApplicationCommands.cs
- CriticalExceptions.cs
- MenuItem.cs
- PropertyTabAttribute.cs
- ResourceSet.cs
- BindingList.cs
- HMACSHA384.cs
- ValueTable.cs
- SchemaConstraints.cs
- WebColorConverter.cs
- FileSystemWatcher.cs
- WindowsFormsSectionHandler.cs
- TemplateBindingExpressionConverter.cs
- PermissionToken.cs
- StrokeCollection.cs
- TextRunProperties.cs
- BamlVersionHeader.cs
- DataGridPagerStyle.cs
- FixedTextView.cs
- OleDbCommandBuilder.cs
- MediaTimeline.cs
- CacheSection.cs
- XmlSchemaSimpleTypeUnion.cs
- BaseTreeIterator.cs
- MemberDescriptor.cs
- DataGridViewTextBoxColumn.cs
- DataTrigger.cs
- UIHelper.cs
- X509CertificateStore.cs
- DataObject.cs
- codemethodreferenceexpression.cs
- XmlCodeExporter.cs
- DispatcherHookEventArgs.cs
- InternalCache.cs
- PropertyState.cs
- BitmapSourceSafeMILHandle.cs
- XamlSerializer.cs
- ConfigurationManagerInternal.cs
- APCustomTypeDescriptor.cs
- PrintControllerWithStatusDialog.cs
- DataGridTable.cs
- CatalogPartCollection.cs
- UnaryNode.cs
- WindowsMenu.cs
- _AutoWebProxyScriptHelper.cs
- PagePropertiesChangingEventArgs.cs
- SamlAuthorizationDecisionStatement.cs
- AccessViolationException.cs
- MetricEntry.cs