DataRepeaterItem Class

 

Used by the DataRepeater control to display data at run time.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.Panel
            Microsoft.VisualBasic.PowerPacks.DataRepeaterItem

Syntax

[DockingAttribute(DockingBehavior.Never)]
public class DataRepeaterItem : Panel
[DockingAttribute(DockingBehavior::Never)]
public ref class DataRepeaterItem : Panel
[<DockingAttribute(DockingBehavior.Never)>]
type DataRepeaterItem = 
    class
        inherit Panel
    end
<DockingAttribute(DockingBehavior.Never)>
Public Class DataRepeaterItem
    Inherits Panel

Constructors

Name Description
System_CAPS_pubmethod DataRepeaterItem()

Initializes a new instance of the DataRepeaterItem object.

Properties

Name Description
System_CAPS_pubproperty AccessibilityObject

(Inherited from Control.)

System_CAPS_pubproperty AccessibleDefaultActionDescription

(Inherited from Control.)

System_CAPS_pubproperty AccessibleDescription

(Inherited from Control.)

System_CAPS_pubproperty AccessibleName

(Inherited from Control.)

System_CAPS_pubproperty AccessibleRole

(Inherited from Control.)

System_CAPS_pubproperty AllowDrop

(Inherited from Control.)

System_CAPS_pubproperty Anchor

(Inherited from Control.)

System_CAPS_pubproperty AutoScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollMargin

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollMinSize

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoScrollOffset

(Inherited from Control.)

System_CAPS_pubproperty AutoScrollPosition

(Inherited from ScrollableControl.)

System_CAPS_pubproperty AutoSize

(Inherited from Panel.)

System_CAPS_pubproperty AutoSizeMode

(Inherited from Panel.)

System_CAPS_pubproperty BackColor

(Inherited from Control.)

System_CAPS_pubproperty BackgroundImage

(Inherited from Control.)

System_CAPS_pubproperty BackgroundImageLayout

(Inherited from Control.)

System_CAPS_pubproperty BindingContext

(Inherited from Control.)

System_CAPS_pubproperty BorderStyle

(Inherited from Panel.)

System_CAPS_pubproperty Bottom

(Inherited from Control.)

System_CAPS_pubproperty Bounds

(Inherited from Control.)

System_CAPS_pubproperty CanFocus

(Inherited from Control.)

System_CAPS_protproperty CanRaiseEvents

(Inherited from Control.)

System_CAPS_pubproperty CanSelect

(Inherited from Control.)

System_CAPS_pubproperty Capture

(Inherited from Control.)

System_CAPS_pubproperty CausesValidation

(Inherited from Control.)

System_CAPS_pubproperty ClientRectangle

(Inherited from Control.)

System_CAPS_pubproperty ClientSize

(Inherited from Control.)

System_CAPS_pubproperty CompanyName

(Inherited from Control.)

System_CAPS_pubproperty Container

(Inherited from Component.)

System_CAPS_pubproperty ContainsFocus

(Inherited from Control.)

System_CAPS_pubproperty ContextMenu

(Inherited from Control.)

System_CAPS_pubproperty ContextMenuStrip

(Inherited from Control.)

System_CAPS_pubproperty Controls

(Inherited from Control.)

System_CAPS_pubproperty Created

(Inherited from Control.)

System_CAPS_protproperty CreateParams

(Inherited from Panel.)

System_CAPS_pubproperty Cursor

(Inherited from Control.)

System_CAPS_pubproperty DataBindings

(Inherited from Control.)

System_CAPS_protproperty DefaultCursor

(Inherited from Control.)

System_CAPS_protproperty DefaultImeMode

(Inherited from Control.)

System_CAPS_protproperty DefaultMargin

(Inherited from Control.)

System_CAPS_protproperty DefaultMaximumSize

(Inherited from Control.)

System_CAPS_protproperty DefaultMinimumSize

(Inherited from Control.)

System_CAPS_protproperty DefaultPadding

(Inherited from Control.)

System_CAPS_protproperty DefaultSize

(Inherited from Panel.)

System_CAPS_protproperty DesignMode

(Inherited from Component.)

System_CAPS_pubproperty DisplayRectangle

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Disposing

(Inherited from Control.)

System_CAPS_pubproperty Dock

(Inherited from Control.)

System_CAPS_protproperty DoubleBuffered

(Inherited from Control.)

System_CAPS_pubproperty Enabled

(Inherited from Control.)

System_CAPS_protproperty Events

(Inherited from Component.)

System_CAPS_pubproperty Focused

(Inherited from Control.)

System_CAPS_pubproperty Font

(Inherited from Control.)

System_CAPS_protproperty FontHeight

(Inherited from Control.)

System_CAPS_pubproperty ForeColor

(Inherited from Control.)

System_CAPS_pubproperty Handle

(Inherited from Control.)

System_CAPS_pubproperty HasChildren

(Inherited from Control.)

System_CAPS_pubproperty Height

(Inherited from Control.)

System_CAPS_pubproperty HorizontalScroll

(Inherited from ScrollableControl.)

System_CAPS_protproperty HScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty ImeMode

(Inherited from Control.)

System_CAPS_pubproperty InvokeRequired

(Inherited from Control.)

System_CAPS_pubproperty IsAccessible

(Inherited from Control.)

System_CAPS_pubproperty IsCurrent

Gets a value that determines whether a DataRepeaterItem is the currently selected item in a DataRepeater control.

System_CAPS_pubproperty IsDirty

Gets a value that determines whether the data for a DataRepeaterItem in a DataRepeater control has been changed by a user.

System_CAPS_pubproperty IsDisposed

(Inherited from Control.)

System_CAPS_pubproperty IsHandleCreated

(Inherited from Control.)

System_CAPS_pubproperty IsMirrored

(Inherited from Control.)

System_CAPS_pubproperty ItemIndex

Gets the index of a DataRepeaterItem in a DataRepeater control.

System_CAPS_pubproperty LayoutEngine

(Inherited from Control.)

System_CAPS_pubproperty Left

(Inherited from Control.)

System_CAPS_pubproperty Location

(Inherited from Control.)

System_CAPS_pubproperty Margin

(Inherited from Control.)

System_CAPS_pubproperty MaximumSize

(Inherited from Control.)

System_CAPS_pubproperty MinimumSize

(Inherited from Control.)

System_CAPS_pubproperty Name

(Inherited from Control.)

System_CAPS_pubproperty Padding

(Inherited from Control.)

System_CAPS_pubproperty Parent

(Inherited from Control.)

System_CAPS_pubproperty PreferredSize

(Inherited from Control.)

System_CAPS_pubproperty ProductName

(Inherited from Control.)

System_CAPS_pubproperty ProductVersion

(Inherited from Control.)

System_CAPS_pubproperty RecreatingHandle

(Inherited from Control.)

System_CAPS_pubproperty Region

(Inherited from Control.)

System_CAPS_protproperty RenderRightToLeft

(Inherited from Control.)

System_CAPS_protproperty ResizeRedraw

(Inherited from Control.)

System_CAPS_pubproperty Right

(Inherited from Control.)

System_CAPS_pubproperty RightToLeft

(Inherited from Control.)

System_CAPS_protproperty ScaleChildren

(Inherited from Control.)

System_CAPS_protproperty ShowFocusCues

(Inherited from Control.)

System_CAPS_protproperty ShowKeyboardCues

(Inherited from Control.)

System_CAPS_pubproperty Site

(Inherited from Control.)

System_CAPS_pubproperty Size

(Inherited from Control.)

System_CAPS_pubproperty TabIndex

(Inherited from Control.)

System_CAPS_pubproperty TabStop

(Inherited from Panel.)

System_CAPS_pubproperty Tag

(Inherited from Control.)

System_CAPS_pubproperty Text

(Inherited from Control.)

System_CAPS_pubproperty Top

(Inherited from Control.)

System_CAPS_pubproperty TopLevelControl

(Inherited from Control.)

System_CAPS_pubproperty UseWaitCursor

(Inherited from Control.)

System_CAPS_pubproperty VerticalScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Visible

(Inherited from Control.)

System_CAPS_protproperty VScroll

(Inherited from ScrollableControl.)

System_CAPS_pubproperty Width

(Inherited from Control.)

Methods

Name Description
System_CAPS_protmethod AccessibilityNotifyClients(AccessibleEvents, Int32)

(Inherited from Control.)

System_CAPS_protmethod AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod AdjustFormScrollbars(Boolean)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod BeginInvoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethod BeginInvoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_pubmethod BringToFront()

(Inherited from Control.)

System_CAPS_pubmethod Contains(Control)

(Inherited from Control.)

System_CAPS_protmethod CreateAccessibilityInstance()

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides Control.CreateAccessibilityInstance().)

System_CAPS_pubmethod CreateControl()

(Inherited from Control.)

System_CAPS_protmethod CreateControlsInstance()

(Inherited from Control.)

System_CAPS_pubmethod CreateGraphics()

(Inherited from Control.)

System_CAPS_protmethod CreateHandle()

(Inherited from Control.)

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod DefWndProc(Message)

(Inherited from Control.)

System_CAPS_protmethod DestroyHandle()

(Inherited from Control.)

System_CAPS_pubmethod Dispose()

(Inherited from Component.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from Control.)

System_CAPS_pubmethod DoDragDrop(Object, DragDropEffects)

(Inherited from Control.)

System_CAPS_pubmethod DrawToBitmap(Bitmap, Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod EndInvoke(IAsyncResult)

(Inherited from Control.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Component.)

System_CAPS_pubmethod FindForm()

(Inherited from Control.)

System_CAPS_pubmethod Focus()

(Inherited from Control.)

System_CAPS_protmethod GetAccessibilityObjectById(Int32)

(Inherited from Control.)

System_CAPS_protmethod GetAutoSizeMode()

(Inherited from Control.)

System_CAPS_pubmethod GetChildAtPoint(Point)

(Inherited from Control.)

System_CAPS_pubmethod GetChildAtPoint(Point, GetChildAtPointSkip)

(Inherited from Control.)

System_CAPS_pubmethod GetContainerControl()

(Inherited from Control.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetNextControl(Control, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod GetPreferredSize(Size)

(Inherited from Control.)

System_CAPS_protmethod GetScaledBounds(Rectangle, SizeF, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethod GetScrollState(Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod GetService(Type)

(Inherited from Component.)

System_CAPS_protmethod GetStyle(ControlStyles)

(Inherited from Control.)

System_CAPS_protmethod GetTopLevel()

(Inherited from Control.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Hide()

(Inherited from Control.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod InitLayout()

(Inherited from Control.)

System_CAPS_pubmethod Invalidate()

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Rectangle, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Region)

(Inherited from Control.)

System_CAPS_pubmethod Invalidate(Region, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Invoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethod Invoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_protmethod InvokeGotFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokeLostFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokeOnClick(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokePaint(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod InvokePaintBackground(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod IsInputChar(Char)

(Inherited from Control.)

System_CAPS_protmethod IsInputKey(Keys)

(Inherited from Control.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod NotifyInvalidate(Rectangle)

(Inherited from Control.)

System_CAPS_protmethod OnAutoSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBackgroundImageLayoutChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnCausesValidationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnChangeUICues(UICuesEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnClick(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnClientSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnContextMenuChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnContextMenuStripChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnControlAdded(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnControlRemoved(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnCreateControl()

(Inherited from Control.)

System_CAPS_protmethod OnCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDockChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDoubleClick(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragDrop(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragEnter(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnDragOver(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnEnabledChanged(EventArgs)

Raises the EnabledChanged event.(Overrides Control.OnEnabledChanged(EventArgs).)

System_CAPS_protmethod OnEnter(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnFontChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnGiveFeedback(GiveFeedbackEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnGotFocus(EventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides Control.OnGotFocus(EventArgs).)

System_CAPS_protmethod OnHandleCreated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnHandleDestroyed(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnHelpRequested(HelpEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnImeModeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnInvalidated(InvalidateEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyDown(KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyPress(KeyPressEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnKeyUp(KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLayout(LayoutEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLocationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnLostFocus(EventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides Control.OnLostFocus(EventArgs).)

System_CAPS_protmethod OnMarginChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseCaptureChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseDoubleClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseDown(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseEnter(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseHover(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseMove(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseUp(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnMouseWheel(MouseEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnMove(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnNotifyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod OnPaddingChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnPaint(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPaintBackground(PaintEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnParentBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentEnabledChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentFontChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentRightToLeftChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnParentVisibleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnPreviewKeyDown(PreviewKeyDownEventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides Control.OnPreviewKeyDown(PreviewKeyDownEventArgs).)

System_CAPS_protmethod OnPrint(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnQueryContinueDrag(QueryContinueDragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnRegionChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnResize(EventArgs)

(Inherited from Panel.)

System_CAPS_protmethod OnRightToLeftChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnScroll(ScrollEventArgs)

(Inherited from ScrollableControl.)

System_CAPS_protmethod OnSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnStyleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnSystemColorsChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTabIndexChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTabStopChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnTextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnValidated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnValidating(CancelEventArgs)

(Inherited from Control.)

System_CAPS_protmethod OnVisibleChanged(EventArgs)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod PerformLayout()

(Inherited from Control.)

System_CAPS_pubmethod PerformLayout(Control, String)

(Inherited from Control.)

System_CAPS_pubmethod PointToClient(Point)

(Inherited from Control.)

System_CAPS_pubmethod PointToScreen(Point)

(Inherited from Control.)

System_CAPS_pubmethod PreProcessControlMessage(Message)

(Inherited from Control.)

System_CAPS_pubmethod PreProcessMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessCmdKey(Message, Keys)

(Inherited from Control.)

System_CAPS_protmethod ProcessDialogChar(Char)

(Inherited from Control.)

System_CAPS_protmethod ProcessDialogKey(Keys)

(Inherited from Control.)

System_CAPS_protmethod ProcessKeyEventArgs(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessKeyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessKeyPreview(Message)

(Inherited from Control.)

System_CAPS_protmethod ProcessMnemonic(Char)

(Inherited from Control.)

System_CAPS_protmethod RaiseDragEvent(Object, DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaiseKeyEvent(Object, KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaiseMouseEvent(Object, MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RaisePaintEvent(Object, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethod RecreateHandle()

(Inherited from Control.)

System_CAPS_pubmethod RectangleToClient(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod RectangleToScreen(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethod Refresh()

(Inherited from Control.)

System_CAPS_protmethod ResetMouseEventArgs()

(Inherited from Control.)

System_CAPS_pubmethod ResetText()

(Inherited from Control.)

System_CAPS_pubmethod ResumeLayout()

(Inherited from Control.)

System_CAPS_pubmethod ResumeLayout(Boolean)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateAlignment(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateContent(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateHorizontal(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethod RtlTranslateLeftRight(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_pubmethod Scale(SizeF)

(Inherited from Control.)

System_CAPS_protmethod ScaleControl(SizeF, BoundsSpecified)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod ScrollControlIntoView(Control)

(Inherited from ScrollableControl.)

System_CAPS_protmethod ScrollToControl(Control)

(Inherited from ScrollableControl.)

System_CAPS_pubmethod Select()

(Inherited from Control.)

System_CAPS_protmethod Select(Boolean, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod SelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)

(Inherited from Control.)

System_CAPS_pubmethod SendToBack()

(Inherited from Control.)

System_CAPS_pubmethod SetAutoScrollMargin(Int32, Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod SetAutoSizeMode(AutoSizeMode)

(Inherited from Control.)

System_CAPS_pubmethod SetBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethod SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethod SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides Control.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).)

System_CAPS_protmethod SetClientSizeCore(Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod SetDisplayRectLocation(Int32, Int32)

(Inherited from ScrollableControl.)

System_CAPS_protmethod SetScrollState(Int32, Boolean)

(Inherited from ScrollableControl.)

System_CAPS_protmethod SetStyle(ControlStyles, Boolean)

(Inherited from Control.)

System_CAPS_protmethod SetTopLevel(Boolean)

(Inherited from Control.)

System_CAPS_protmethod SetVisibleCore(Boolean)

(Inherited from Control.)

System_CAPS_pubmethod Show()

(Inherited from Control.)

System_CAPS_protmethod SizeFromClientSize(Size)

(Inherited from Control.)

System_CAPS_pubmethod SuspendLayout()

(Inherited from Control.)

System_CAPS_pubmethod ToString()

(Inherited from Panel.)

System_CAPS_pubmethod Update()

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds()

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethod UpdateStyles()

(Inherited from Control.)

System_CAPS_protmethod UpdateZOrder()

(Inherited from Control.)

System_CAPS_protmethod WndProc(Message)

This API supports the product infrastructure and is not intended to be used directly from your code. The DataRepeaterItem object is used internally by the DataRepeater control to display data at run time. The settings of the ItemTemplate determine how the data is displayed.(Overrides ScrollableControl.WndProc(Message).)

Events

Name Description
System_CAPS_pubevent AutoSizeChanged

(Inherited from Panel.)

System_CAPS_pubevent BackColorChanged

(Inherited from Control.)

System_CAPS_pubevent BackgroundImageChanged

(Inherited from Control.)

System_CAPS_pubevent BackgroundImageLayoutChanged

(Inherited from Control.)

System_CAPS_pubevent BindingContextChanged

(Inherited from Control.)

System_CAPS_pubevent CausesValidationChanged

(Inherited from Control.)

System_CAPS_pubevent ChangeUICues

(Inherited from Control.)

System_CAPS_pubevent Click

(Inherited from Control.)

System_CAPS_pubevent ClientSizeChanged

(Inherited from Control.)

System_CAPS_pubevent ContextMenuChanged

(Inherited from Control.)

System_CAPS_pubevent ContextMenuStripChanged

(Inherited from Control.)

System_CAPS_pubevent ControlAdded

(Inherited from Control.)

System_CAPS_pubevent ControlRemoved

(Inherited from Control.)

System_CAPS_pubevent CursorChanged

(Inherited from Control.)

System_CAPS_pubevent Disposed

(Inherited from Component.)

System_CAPS_pubevent DockChanged

(Inherited from Control.)

System_CAPS_pubevent DoubleClick

(Inherited from Control.)

System_CAPS_pubevent DragDrop

(Inherited from Control.)

System_CAPS_pubevent DragEnter

(Inherited from Control.)

System_CAPS_pubevent DragLeave

(Inherited from Control.)

System_CAPS_pubevent DragOver

(Inherited from Control.)

System_CAPS_pubevent EnabledChanged

(Inherited from Control.)

System_CAPS_pubevent Enter

(Inherited from Control.)

System_CAPS_pubevent FontChanged

(Inherited from Control.)

System_CAPS_pubevent ForeColorChanged

(Inherited from Control.)

System_CAPS_pubevent GiveFeedback

(Inherited from Control.)

System_CAPS_pubevent GotFocus

(Inherited from Control.)

System_CAPS_pubevent HandleCreated

(Inherited from Control.)

System_CAPS_pubevent HandleDestroyed

(Inherited from Control.)

System_CAPS_pubevent HelpRequested

(Inherited from Control.)

System_CAPS_pubevent ImeModeChanged

(Inherited from Control.)

System_CAPS_pubevent Invalidated

(Inherited from Control.)

System_CAPS_pubevent KeyDown

(Inherited from Control.)

System_CAPS_pubevent KeyPress

(Inherited from Control.)

System_CAPS_pubevent KeyUp

(Inherited from Control.)

System_CAPS_pubevent Layout

(Inherited from Control.)

System_CAPS_pubevent Leave

(Inherited from Control.)

System_CAPS_pubevent LocationChanged

(Inherited from Control.)

System_CAPS_pubevent LostFocus

(Inherited from Control.)

System_CAPS_pubevent MarginChanged

(Inherited from Control.)

System_CAPS_pubevent MouseCaptureChanged

(Inherited from Control.)

System_CAPS_pubevent MouseClick

(Inherited from Control.)

System_CAPS_pubevent MouseDoubleClick

(Inherited from Control.)

System_CAPS_pubevent MouseDown

(Inherited from Control.)

System_CAPS_pubevent MouseEnter

(Inherited from Control.)

System_CAPS_pubevent MouseHover

(Inherited from Control.)

System_CAPS_pubevent MouseLeave

(Inherited from Control.)

System_CAPS_pubevent MouseMove

(Inherited from Control.)

System_CAPS_pubevent MouseUp

(Inherited from Control.)

System_CAPS_pubevent MouseWheel

(Inherited from Control.)

System_CAPS_pubevent Move

(Inherited from Control.)

System_CAPS_pubevent PaddingChanged

(Inherited from Control.)

System_CAPS_pubevent Paint

(Inherited from Control.)

System_CAPS_pubevent ParentChanged

(Inherited from Control.)

System_CAPS_pubevent PreviewKeyDown

(Inherited from Control.)

System_CAPS_pubevent QueryAccessibilityHelp

(Inherited from Control.)

System_CAPS_pubevent QueryContinueDrag

(Inherited from Control.)

System_CAPS_pubevent RegionChanged

(Inherited from Control.)

System_CAPS_pubevent Resize

(Inherited from Control.)

System_CAPS_pubevent RightToLeftChanged

(Inherited from Control.)

System_CAPS_pubevent Scroll

(Inherited from ScrollableControl.)

System_CAPS_pubevent SizeChanged

(Inherited from Control.)

System_CAPS_pubevent StyleChanged

(Inherited from Control.)

System_CAPS_pubevent SystemColorsChanged

(Inherited from Control.)

System_CAPS_pubevent TabIndexChanged

(Inherited from Control.)

System_CAPS_pubevent TabStopChanged

(Inherited from Control.)

System_CAPS_pubevent TextChanged

(Inherited from Control.)

System_CAPS_pubevent Validated

(Inherited from Control.)

System_CAPS_pubevent Validating

(Inherited from Control.)

System_CAPS_pubevent VisibleChanged

(Inherited from Control.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragDrop(DragEventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragEnter(DragEventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragLeave(EventArgs)

(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDropTarget.OnDragOver(DragEventArgs)

(Inherited from Control.)

Remarks

The DataRepeater control uses DataRepeaterItem objects to display each item in the control as it is scrolled into view. As soon as an item is scrolled out of view, the DataRepeaterItem is invalidated and replaced by a new DataRepeaterItem for the next visible item.

The layout and appearance of each item are based on the ItemTemplate property. As each DataRepeaterItem is rendered, you can modify the appearance in the DrawItem event.

Note

You should modify only the DataRepeaterItem that can be accessed from the DrawItem event. Attempting to modify it outside the event or trying to create a new DataRepeaterItem can produce unexpected results.

Examples

The following example demonstrates how to use the DrawItem event handler to make changes when an item is scrolled into view. This example assumes that you have a DataRepeater control that is bound to the Products table in the Northwind database.

private void dataRepeater1_DrawItem(object sender, 
    Microsoft.VisualBasic.PowerPacks.DataRepeaterItemEventArgs e)
{
    // Alternate the back color.
    if ((e.DataRepeaterItem.ItemIndex % 2) != 0)
    // Apply the secondary back color.
    {
        e.DataRepeaterItem.BackColor = Color.AliceBlue;
    }
    else
    {
        // Apply the default back color.
        e.DataRepeaterItem.BackColor = Color.White;
    }
    // Change the color of out-of-stock items to red.
    if (e.DataRepeaterItem.Controls["unitsInStockTextBox"].Text == "0")
    {
        e.DataRepeaterItem.Controls["unitsInStockTextBox"].BackColor = Color.Red;
    }
    else
    {
        e.DataRepeaterItem.Controls["unitsInStockTextBox"].BackColor = Color.White;
    }
}
Private Sub DataRepeater1_DrawItem(
    ByVal sender As Object, 
    ByVal e As Microsoft.VisualBasic.PowerPacks.DataRepeaterItemEventArgs
  ) Handles DataRepeater1.DrawItem

    ' Alternate the back color.
    If (e.DataRepeaterItem.ItemIndex Mod 2) <> 0 Then
        ' Apply the secondary back color.
        e.DataRepeaterItem.BackColor = Color.AliceBlue
    Else
        ' Apply the default back color.
        e.DataRepeaterItem.BackColor = Color.White
    End If
    ' Change the color of out-of-stock items to red.
    If e.DataRepeaterItem.Controls(
          UnitsInStockTextBox.Name).Text < 1 Then

        e.DataRepeaterItem.Controls(UnitsInStockTextBox.Name). 
         BackColor = Color.Red
    Else
        e.DataRepeaterItem.Controls(UnitsInStockTextBox.Name). 
         BackColor = Color.White
    End If
End Sub

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

DrawItem
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the DataRepeater Control (Visual Studio)
How to: Change the Appearance of a DataRepeater Control (Visual Studio)

Return to top