Classe DataRepeaterItem
Usado pelo controle de DataRepeater para exibir dados em tempo de execução.
Hierarquia de herança
Object
MarshalByRefObject
Component
Control
ScrollableControl
Panel
Microsoft.VisualBasic.PowerPacks.DataRepeaterItem
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (em Microsoft.VisualBasic.PowerPacks.Vs.dll)
Sintaxe
'Declaração
<DockingAttribute(DockingBehavior.Never)> _
Public Class DataRepeaterItem _
Inherits Panel
[DockingAttribute(DockingBehavior.Never)]
public class DataRepeaterItem : Panel
[DockingAttribute(DockingBehavior::Never)]
public ref class DataRepeaterItem : public Panel
[<DockingAttribute(DockingBehavior.Never)>]
type DataRepeaterItem =
class
inherit Panel
end
public class DataRepeaterItem extends Panel
O tipo DataRepeaterItem expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DataRepeaterItem | Inicializa uma nova instância do objeto de DataRepeaterItem . |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
AccessibilityObject | Obtém AccessibleObject que é atribuído ao controle. | |
AccessibleDefaultActionDescription | Obtém ou define a descrição da ação padrão do controle para uso por aplicativos cliente de acessibilidade. | |
AccessibleDescription | Obtém ou define a descrição do controle usado por aplicativos cliente de acessibilidade. | |
AccessibleName | Obtém ou define o nome do controle usado por aplicativos cliente de acessibilidade. | |
AccessibleRole | Obtém ou define a função acessível do controle. | |
AllowDrop | Gets or sets a value indicating whether the control can accept data that the user drags onto it. (Herdado de Control.) | |
Anchor | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
AutoScroll | Obtém ou define um valor que indica se o contêiner permite que o usuário rolar os controles colocados fora dos limites visíveis. (Herdado de ScrollableControl.) | |
AutoScrollMargin | Obtém ou define o tamanho da margem de tentativas de SCROLL. (Herdado de ScrollableControl.) | |
AutoScrollMinSize | Obtém ou define o tamanho mínimo de tentativas de SCROLL. (Herdado de ScrollableControl.) | |
AutoScrollOffset | Gets or sets where this control is scrolled to in ScrollControlIntoView. (Herdado de Control.) | |
AutoScrollPosition | Obtém ou define o local da posição de tentativas de SCROLL. (Herdado de ScrollableControl.) | |
AutoSize | Gets or sets a value that indicates whether the control resizes based on its contents. (Herdado de Panel.) | |
AutoSizeMode | Indicates the automatic sizing behavior of the control. (Herdado de Panel.) | |
BackColor | Gets or sets the background color for the control. (Herdado de Control.) | |
BackgroundImage | Gets or sets the background image displayed in the control. (Herdado de Control.) | |
BackgroundImageLayout | Gets or sets the background image layout as defined in the ImageLayout enumeration. (Herdado de Control.) | |
BindingContext | Gets or sets the BindingContext for the control. (Herdado de Control.) | |
BorderStyle | Indicates the border style for the control. (Herdado de Panel.) | |
Bottom | Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Herdado de Control.) | |
Bounds | Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Herdado de Control.) | |
CanEnableIme | Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support. (Herdado de Control.) | |
CanFocus | Gets a value indicating whether the control can receive focus. (Herdado de Control.) | |
CanRaiseEvents | Determines if events can be raised on the control. (Herdado de Control.) | |
CanSelect | Gets a value indicating whether the control can be selected. (Herdado de Control.) | |
Capture | Gets or sets a value indicating whether the control has captured the mouse. (Herdado de Control.) | |
CausesValidation | Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. (Herdado de Control.) | |
ClientRectangle | Gets the rectangle that represents the client area of the control. (Herdado de Control.) | |
ClientSize | Gets or sets the height and width of the client area of the control. (Herdado de Control.) | |
CompanyName | Gets the name of the company or creator of the application containing the control. (Herdado de Control.) | |
Container | Obtém o IContainer que contém o Component. (Herdado de Component.) | |
ContainsFocus | Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Herdado de Control.) | |
ContextMenu | Gets or sets the shortcut menu associated with the control. (Herdado de Control.) | |
ContextMenuStrip | Gets or sets the ContextMenuStrip associated with this control. (Herdado de Control.) | |
Controls | Gets the collection of controls contained within the control. (Herdado de Control.) | |
Created | Gets a value indicating whether the control has been created. (Herdado de Control.) | |
CreateParams | Gets the required creation parameters when the control handle is created. (Herdado de Panel.) | |
Cursor | Gets or sets the cursor that is displayed when the mouse pointer is over the control. (Herdado de Control.) | |
DataBindings | Gets the data bindings for the control. (Herdado de Control.) | |
DefaultCursor | Gets or sets the default cursor for the control. (Herdado de Control.) | |
DefaultImeMode | Gets the default Input Method Editor (IME) mode supported by the control. (Herdado de Control.) | |
DefaultMargin | Gets the space, in pixels, that is specified by default between controls. (Herdado de Control.) | |
DefaultMaximumSize | Gets the length and height, in pixels, that is specified as the default maximum size of a control. (Herdado de Control.) | |
DefaultMinimumSize | Gets the length and height, in pixels, that is specified as the default minimum size of a control. (Herdado de Control.) | |
DefaultPadding | Gets the internal spacing, in pixels, of the contents of a control. (Herdado de Control.) | |
DefaultSize | Gets the default size of the control. (Herdado de Panel.) | |
DesignMode | Obtém um valor que indica se a Component está no modo de design. (Herdado de Component.) | |
DisplayRectangle | Obtém o retângulo que representa a área de exibição virtual do controle. (Herdado de ScrollableControl.) | |
Disposing | Gets a value indicating whether the base Control class is in the process of disposing. (Herdado de Control.) | |
Dock | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
DockPadding | Obtém as configurações de preenchimento de plug-in para todas as bordas do controle. (Herdado de ScrollableControl.) | |
DoubleBuffered | Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker. (Herdado de Control.) | |
Enabled | Gets or sets a value indicating whether the control can respond to user interaction. (Herdado de Control.) | |
Events | Obtém a lista de manipuladores de eventos que estão conectados a este Component. (Herdado de Component.) | |
Focused | Gets a value indicating whether the control has input focus. (Herdado de Control.) | |
Font | Gets or sets the font of the text displayed by the control. (Herdado de Control.) | |
FontHeight | Gets or sets the height of the font of the control. (Herdado de Control.) | |
ForeColor | Gets or sets the foreground color of the control. (Herdado de Control.) | |
Handle | Gets the window handle that the control is bound to. (Herdado de Control.) | |
HasChildren | Gets a value indicating whether the control contains one or more child controls. (Herdado de Control.) | |
Height | Gets or sets the height of the control. (Herdado de Control.) | |
HorizontalScroll | Obtém as características associadas à barra de rolagem horizontal. (Herdado de ScrollableControl.) | |
HScroll | Obtém ou define um valor que indica se a barra de rolagem horizontal é visível. (Herdado de ScrollableControl.) | |
ImeMode | Gets or sets the Input Method Editor (IME) mode of the control. (Herdado de Control.) | |
ImeModeBase | Gets or sets the IME mode of a control. (Herdado de Control.) | |
InvokeRequired | Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on. (Herdado de Control.) | |
IsAccessible | Gets or sets a value indicating whether the control is visible to accessibility applications. (Herdado de Control.) | |
IsCurrent | Obtém um valor que determina se DataRepeaterItem é o item selecionado em um controle de DataRepeater . | |
IsDirty | Obtém um valor que determina se os dados para DataRepeaterItem em um controle de DataRepeater foram modificados por um usuário. | |
IsDisposed | Gets a value indicating whether the control has been disposed of. (Herdado de Control.) | |
IsHandleCreated | Gets a value indicating whether the control has a handle associated with it. (Herdado de Control.) | |
IsMirrored | Gets a value indicating whether the control is mirrored. (Herdado de Control.) | |
ItemIndex | Obtém o índice de DataRepeaterItem em um controle de DataRepeater . | |
LayoutEngine | Gets a cached instance of the control's layout engine. (Herdado de Control.) | |
Left | Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. (Herdado de Control.) | |
Location | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
Margin | Gets or sets the space between controls. (Herdado de Control.) | |
MaximumSize | Gets or sets the size that is the upper limit that GetPreferredSize can specify. (Herdado de Control.) | |
MinimumSize | Gets or sets the size that is the lower limit that GetPreferredSize can specify. (Herdado de Control.) | |
Name | Obtém ou define o nome do objeto de DataRepeaterItem . | |
Padding | Gets or sets padding within the control. (Herdado de Control.) | |
Parent | Gets or sets the parent container of the control. (Herdado de Control.) | |
PreferredSize | Gets the size of a rectangular area into which the control can fit. (Herdado de Control.) | |
ProductName | Gets the product name of the assembly containing the control. (Herdado de Control.) | |
ProductVersion | Gets the version of the assembly containing the control. (Herdado de Control.) | |
RecreatingHandle | Gets a value indicating whether the control is currently re-creating its handle. (Herdado de Control.) | |
Region | Gets or sets the window region associated with the control. (Herdado de Control.) | |
RenderRightToLeft | Obsoleta. This property is now obsolete. (Herdado de Control.) | |
ResizeRedraw | Gets or sets a value indicating whether the control redraws itself when resized. (Herdado de Control.) | |
Right | Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Herdado de Control.) | |
RightToLeft | Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. (Herdado de Control.) | |
ScaleChildren | Gets a value that determines the scaling of child controls. (Herdado de Control.) | |
ShowFocusCues | Gets a value indicating whether the control should display focus rectangles. (Herdado de Control.) | |
ShowKeyboardCues | Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators. (Herdado de Control.) | |
Site | Gets or sets the site of the control. (Herdado de Control.) | |
Size | Gets or sets the height and width of the control. (Herdado de Control.) | |
TabIndex | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
TabStop | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
Tag | Gets or sets the object that contains data about the control. (Herdado de Control.) | |
Text | Infraestrutura. This member is not meaningful for this control. (Herdado de Panel.) | |
Top | Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area. (Herdado de Control.) | |
TopLevelControl | Gets the parent control that is not parented by another Windows Forms control.Typically, this is the outermost Form that the control is contained in. (Herdado de Control.) | |
UseWaitCursor | Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Herdado de Control.) | |
VerticalScroll | Obtém as características associadas à barra de rolagem vertical. (Herdado de ScrollableControl.) | |
Visible | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. | |
VScroll | Obtém ou define um valor que indica se a barra de rolagem vertical está visível. (Herdado de ScrollableControl.) | |
Width | Gets or sets the width of the control. (Herdado de Control.) | |
WindowTarget | Infraestrutura. This property is not relevant for this class. (Herdado de Control.) |
Superior
Métodos
Nome | Descrição | |
---|---|---|
AccessibilityNotifyClients(AccessibleEvents, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control. (Herdado de Control.) | |
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control . (Herdado de Control.) | |
AdjustFormScrollbars | Ajusta as barras de rolagem no contêiner com base nas posições atuais de controle e o controle selecionado no momento. (Herdado de ScrollableControl.) | |
BeginInvoke(Delegate) | Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Herdado de Control.) | |
BeginInvoke(Delegate, Object) | Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Herdado de Control.) | |
BringToFront | Brings the control to the front of the z-order. (Herdado de Control.) | |
Contains | Retrieves a value indicating whether the specified control is a child of the control. (Herdado de Control.) | |
CreateAccessibilityInstance | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui Control.CreateAccessibilityInstance.) | |
CreateControl | Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Herdado de Control.) | |
CreateControlsInstance | Creates a new instance of the control collection for the control. (Herdado de Control.) | |
CreateGraphics | Creates the Graphics for the control. (Herdado de Control.) | |
CreateHandle | Creates a handle for the control. (Herdado de Control.) | |
CreateObjRef | Segurança crítica. Cria um objeto que contém todas as informações relevantes necessárias para gerar um proxy usado para se comunicar com um objeto remoto. (Herdado de MarshalByRefObject.) | |
DefWndProc | Sends the specified message to the default window procedure. (Herdado de Control.) | |
DestroyHandle | Destroys the handle associated with the control. (Herdado de Control.) | |
Dispose | Libera todos os recursos usados pela Component. (Herdado de Component.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources. (Herdado de Control.) | |
DoDragDrop | Begins a drag-and-drop operation. (Herdado de Control.) | |
DrawToBitmap | Supports rendering to the specified bitmap. (Herdado de Control.) | |
EndInvoke | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Herdado de Control.) | |
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) | |
Finalize | Libera os recursos não gerenciados e executa outras operações de limpeza antes do Component é recuperados pela coleta de lixo. (Herdado de Component.) | |
FindForm | Retrieves the form that the control is on. (Herdado de Control.) | |
Focus | Sets input focus to the control. (Herdado de Control.) | |
GetAccessibilityObjectById | Retrieves the specified AccessibleObject. (Herdado de Control.) | |
GetAutoSizeMode | Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (Herdado de Control.) | |
GetChildAtPoint(Point) | Retrieves the child control that is located at the specified coordinates. (Herdado de Control.) | |
GetChildAtPoint(Point, GetChildAtPointSkip) | Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Herdado de Control.) | |
GetContainerControl | Returns the next ContainerControl up the control's chain of parent controls. (Herdado de Control.) | |
GetHashCode | Serves as the default hash function. (Herdado de Object.) | |
GetLifetimeService | Segurança crítica. Recupera o objeto de serviço Vida útil atual que controla a diretiva vida útil para esta instância. (Herdado de MarshalByRefObject.) | |
GetNextControl | Retrieves the next control forward or back in the tab order of child controls. (Herdado de Control.) | |
GetPreferredSize | Retrieves the size of a rectangular area into which a control can be fitted. (Herdado de Control.) | |
GetScaledBounds | Retrieves the bounds within which the control is scaled. (Herdado de Control.) | |
GetScrollState | Determina se o sinalizador especificado esteve definido. (Herdado de ScrollableControl.) | |
GetService | Retorna um objeto que representa um serviço fornecido pela Component ou por seus Container. (Herdado de Component.) | |
GetStyle | Retrieves the value of the specified control style bit for the control. (Herdado de Control.) | |
GetTopLevel | Determines if the control is a top-level control. (Herdado de Control.) | |
GetType | Gets the Type of the current instance. (Herdado de Object.) | |
Hide | Conceals the control from the user. (Herdado de Control.) | |
InitializeLifetimeService | Segurança crítica. Obtém um objeto de serviço de tempo de vida para controlar a diretiva vida útil para esta instância. (Herdado de MarshalByRefObject.) | |
InitLayout | Called after the control has been added to another container. (Herdado de Control.) | |
Invalidate | Invalidates the entire surface of the control and causes the control to be redrawn. (Herdado de Control.) | |
Invalidate(Region) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Herdado de Control.) | |
Invalidate(Boolean) | Invalidates a specific region of the control and causes a paint message to be sent to the control.Optionally, invalidates the child controls assigned to the control. (Herdado de Control.) | |
Invalidate(Rectangle) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Herdado de Control.) | |
Invalidate(Region, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.Optionally, invalidates the child controls assigned to the control. (Herdado de Control.) | |
Invalidate(Rectangle, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.Optionally, invalidates the child controls assigned to the control. (Herdado de Control.) | |
Invoke(Delegate) | Executes the specified delegate on the thread that owns the control's underlying window handle. (Herdado de Control.) | |
Invoke(Delegate, Object) | Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Herdado de Control.) | |
InvokeGotFocus | Raises the GotFocus event for the specified control. (Herdado de Control.) | |
InvokeLostFocus | Raises the LostFocus event for the specified control. (Herdado de Control.) | |
InvokeOnClick | Raises the Click event for the specified control. (Herdado de Control.) | |
InvokePaint | Raises the Paint event for the specified control. (Herdado de Control.) | |
InvokePaintBackground | Raises the PaintBackground event for the specified control. (Herdado de Control.) | |
IsInputChar | Determines if a character is an input character that the control recognizes. (Herdado de Control.) | |
IsInputKey | Determines whether the specified key is a regular input key or a special key that requires preprocessing. (Herdado de Control.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Herdado de Object.) | |
MemberwiseClone(Boolean) | Cria uma cópia superficial do atual MarshalByRefObject objeto. (Herdado de MarshalByRefObject.) | |
NotifyInvalidate | Infraestrutura. Raises the Invalidated event with a specified region of the control to invalidate. (Herdado de Control.) | |
OnAutoSizeChanged | Raises the AutoSizeChanged event. (Herdado de Control.) | |
OnBackColorChanged | Raises the BackColorChanged event. (Herdado de Control.) | |
OnBackgroundImageChanged | Raises the BackgroundImageChanged event. (Herdado de Control.) | |
OnBackgroundImageLayoutChanged | Raises the BackgroundImageLayoutChanged event. (Herdado de Control.) | |
OnBindingContextChanged | Raises the BindingContextChanged event. (Herdado de Control.) | |
OnCausesValidationChanged | Raises the CausesValidationChanged event. (Herdado de Control.) | |
OnChangeUICues | Raises the ChangeUICues event. (Herdado de Control.) | |
OnClick | Raises the Click event. (Herdado de Control.) | |
OnClientSizeChanged | Raises the ClientSizeChanged event. (Herdado de Control.) | |
OnContextMenuChanged | Raises the ContextMenuChanged event. (Herdado de Control.) | |
OnContextMenuStripChanged | Raises the ContextMenuStripChanged event. (Herdado de Control.) | |
OnControlAdded | Raises the ControlAdded event. (Herdado de Control.) | |
OnControlRemoved | Raises the ControlRemoved event. (Herdado de Control.) | |
OnCreateControl | Raises the CreateControl method. (Herdado de Control.) | |
OnCursorChanged | Raises the CursorChanged event. (Herdado de Control.) | |
OnDockChanged | Raises the DockChanged event. (Herdado de Control.) | |
OnDoubleClick | Raises the DoubleClick event. (Herdado de Control.) | |
OnDragDrop | Raises the DragDrop event. (Herdado de Control.) | |
OnDragEnter | Raises the DragEnter event. (Herdado de Control.) | |
OnDragLeave | Raises the DragLeave event. (Herdado de Control.) | |
OnDragOver | Raises the DragOver event. (Herdado de Control.) | |
OnEnabledChanged | (Substitui Control.OnEnabledChanged(EventArgs).) | |
OnEnter | Raises the Enter event. (Herdado de Control.) | |
OnFontChanged | Raises the FontChanged event. (Herdado de Control.) | |
OnForeColorChanged | Raises the ForeColorChanged event. (Herdado de Control.) | |
OnGiveFeedback | Raises the GiveFeedback event. (Herdado de Control.) | |
OnGotFocus | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui Control.OnGotFocus(EventArgs).) | |
OnHandleCreated | Raises the HandleCreated event. (Herdado de Control.) | |
OnHandleDestroyed | Raises the HandleDestroyed event. (Herdado de Control.) | |
OnHelpRequested | Raises the HelpRequested event. (Herdado de Control.) | |
OnImeModeChanged | Raises the ImeModeChanged event. (Herdado de Control.) | |
OnInvalidated | Raises the Invalidated event. (Herdado de Control.) | |
OnKeyDown | Raises the KeyDown event. (Herdado de Control.) | |
OnKeyPress | Raises the KeyPress event. (Herdado de Control.) | |
OnKeyUp | Raises the KeyUp event. (Herdado de Control.) | |
OnLayout | Raises the Layout event. (Herdado de ScrollableControl.) | |
OnLeave | Raises the Leave event. (Herdado de Control.) | |
OnLocationChanged | Raises the LocationChanged event. (Herdado de Control.) | |
OnLostFocus | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui Control.OnLostFocus(EventArgs).) | |
OnMarginChanged | Raises the MarginChanged event. (Herdado de Control.) | |
OnMouseCaptureChanged | Raises the MouseCaptureChanged event. (Herdado de Control.) | |
OnMouseClick | Raises the MouseClick event. (Herdado de Control.) | |
OnMouseDoubleClick | Raises the MouseDoubleClick event. (Herdado de Control.) | |
OnMouseDown | Raises the MouseDown event. (Herdado de Control.) | |
OnMouseEnter | Raises the MouseEnter event. (Herdado de Control.) | |
OnMouseHover | Raises the MouseHover event. (Herdado de Control.) | |
OnMouseLeave | Raises the MouseLeave event. (Herdado de Control.) | |
OnMouseMove | Raises the MouseMove event. (Herdado de Control.) | |
OnMouseUp | Raises the MouseUp event. (Herdado de Control.) | |
OnMouseWheel | Gera o evento MouseWheel. (Herdado de ScrollableControl.) | |
OnMove | Raises the Move event. (Herdado de Control.) | |
OnNotifyMessage | Notifies the control of Windows messages. (Herdado de Control.) | |
OnPaddingChanged | Gera o evento PaddingChanged. (Herdado de ScrollableControl.) | |
OnPaint | Raises the Paint event. (Herdado de Control.) | |
OnPaintBackground | Pinta o plano de fundo do controle. (Herdado de ScrollableControl.) | |
OnParentBackColorChanged | Raises the BackColorChanged event when the BackColor property value of the control's container changes. (Herdado de Control.) | |
OnParentBackgroundImageChanged | Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (Herdado de Control.) | |
OnParentBindingContextChanged | Raises the BindingContextChanged event when the BindingContext property value of the control's container changes. (Herdado de Control.) | |
OnParentChanged | Raises the ParentChanged event. (Herdado de Control.) | |
OnParentCursorChanged | Raises the CursorChanged event. (Herdado de Control.) | |
OnParentEnabledChanged | Raises the EnabledChanged event when the Enabled property value of the control's container changes. (Herdado de Control.) | |
OnParentFontChanged | Raises the FontChanged event when the Font property value of the control's container changes. (Herdado de Control.) | |
OnParentForeColorChanged | Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. (Herdado de Control.) | |
OnParentRightToLeftChanged | Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (Herdado de Control.) | |
OnParentVisibleChanged | Raises the VisibleChanged event when the Visible property value of the control's container changes. (Herdado de Control.) | |
OnPreviewKeyDown | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui Control.OnPreviewKeyDown(PreviewKeyDownEventArgs).) | |
OnPrint | Raises the Paint event. (Herdado de Control.) | |
OnQueryContinueDrag | Raises the QueryContinueDrag event. (Herdado de Control.) | |
OnRegionChanged | Raises the RegionChanged event. (Herdado de Control.) | |
OnResize | Infraestrutura. Fires the event indicating that the panel has been resized.Inheriting controls should use this in favor of actually listening to the event, but should still call base.onResize to ensure that the event is fired for external listeners. (Herdado de Panel.) | |
OnRightToLeftChanged | Raises the RightToLeftChanged event. (Herdado de ScrollableControl.) | |
OnScroll | Gera o evento Scroll. (Herdado de ScrollableControl.) | |
OnSizeChanged | Raises the SizeChanged event. (Herdado de Control.) | |
OnStyleChanged | Raises the StyleChanged event. (Herdado de Control.) | |
OnSystemColorsChanged | Raises the SystemColorsChanged event. (Herdado de Control.) | |
OnTabIndexChanged | Raises the TabIndexChanged event. (Herdado de Control.) | |
OnTabStopChanged | Raises the TabStopChanged event. (Herdado de Control.) | |
OnTextChanged | Raises the TextChanged event. (Herdado de Control.) | |
OnValidated | Raises the Validated event. (Herdado de Control.) | |
OnValidating | Raises the Validating event. (Herdado de Control.) | |
OnVisibleChanged | Raises the VisibleChanged event. (Herdado de ScrollableControl.) | |
PerformLayout | Forces the control to apply layout logic to all its child controls. (Herdado de Control.) | |
PerformLayout(Control, String) | Forces the control to apply layout logic to all its child controls. (Herdado de Control.) | |
PointToClient | Computes the location of the specified screen point into client coordinates. (Herdado de Control.) | |
PointToScreen | Computes the location of the specified client point into screen coordinates. (Herdado de Control.) | |
PreProcessControlMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Herdado de Control.) | |
PreProcessMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Herdado de Control.) | |
ProcessCmdKey | Processes a command key. (Herdado de Control.) | |
ProcessDialogChar | Processes a dialog character. (Herdado de Control.) | |
ProcessDialogKey | Processes a dialog key. (Herdado de Control.) | |
ProcessKeyEventArgs | Processes a key message and generates the appropriate control events. (Herdado de Control.) | |
ProcessKeyMessage | Processes a keyboard message. (Herdado de Control.) | |
ProcessKeyPreview | Previews a keyboard message. (Herdado de Control.) | |
ProcessMnemonic | Processes a mnemonic character. (Herdado de Control.) | |
RaiseDragEvent | Infraestrutura. Raises the appropriate drag event. (Herdado de Control.) | |
RaiseKeyEvent | Infraestrutura. Raises the appropriate key event. (Herdado de Control.) | |
RaiseMouseEvent | Infraestrutura. Raises the appropriate mouse event. (Herdado de Control.) | |
RaisePaintEvent | Infraestrutura. Raises the appropriate paint event. (Herdado de Control.) | |
RecreateHandle | Forces the re-creation of the handle for the control. (Herdado de Control.) | |
RectangleToClient | Computes the size and location of the specified screen rectangle in client coordinates. (Herdado de Control.) | |
RectangleToScreen | Computes the size and location of the specified client rectangle in screen coordinates. (Herdado de Control.) | |
Refresh | Forces the control to invalidate its client area and immediately redraw itself and any child controls. (Herdado de Control.) | |
ResetBackColor | Resets the BackColor property to its default value. (Herdado de Control.) | |
ResetBindings | Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. (Herdado de Control.) | |
ResetCursor | Resets the Cursor property to its default value. (Herdado de Control.) | |
ResetFont | Resets the Font property to its default value. (Herdado de Control.) | |
ResetForeColor | Resets the ForeColor property to its default value. (Herdado de Control.) | |
ResetImeMode | Resets the ImeMode property to its default value. (Herdado de Control.) | |
ResetMouseEventArgs | Infraestrutura. Resets the control to handle the MouseLeave event. (Herdado de Control.) | |
ResetRightToLeft | Resets the RightToLeft property to its default value. (Herdado de Control.) | |
ResetText | Resets the Text property to its default value. (Herdado de Control.) | |
ResumeLayout | Resumes usual layout logic. (Herdado de Control.) | |
ResumeLayout(Boolean) | Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Herdado de Control.) | |
RtlTranslateAlignment(HorizontalAlignment) | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Herdado de Control.) | |
RtlTranslateAlignment(LeftRightAlignment) | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Herdado de Control.) | |
RtlTranslateAlignment(ContentAlignment) | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Herdado de Control.) | |
RtlTranslateContent | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Herdado de Control.) | |
RtlTranslateHorizontal | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Herdado de Control.) | |
RtlTranslateLeftRight | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Herdado de Control.) | |
Scale(Single) | Obsoleta. Scales the control and any child controls. (Herdado de Control.) | |
Scale(SizeF) | Scales the control and all child controls by the specified scaling factor. (Herdado de Control.) | |
Scale(Single, Single) | Obsoleta. Scales the entire control and any child controls. (Herdado de Control.) | |
ScaleControl | Scales a control's location, size, padding and margin. (Herdado de ScrollableControl.) | |
ScaleCore | This method is not relevant for this class. (Herdado de ScrollableControl.) | |
ScrollControlIntoView | Rolar o controle filho especificado na exibição em um controle habilitado automaticamente SCROLL. (Herdado de ScrollableControl.) | |
ScrollToControl | Calcula o deslocamento de rolagem ao controle filho especificado. (Herdado de ScrollableControl.) | |
Select | Activates the control. (Herdado de Control.) | |
Select(Boolean, Boolean) | Activates a child control.Optionally specifies the direction in the tab order to select the control from. (Herdado de Control.) | |
SelectNextControl | Activates the next control. (Herdado de Control.) | |
SendToBack | Sends the control to the back of the z-order. (Herdado de Control.) | |
SetAutoScrollMargin | Define o tamanho das margens de tentativas de SCROLL. (Herdado de ScrollableControl.) | |
SetAutoSizeMode | Sets a value indicating how a control will behave when its AutoSize property is enabled. (Herdado de Control.) | |
SetBounds(Int32, Int32, Int32, Int32) | Sets the bounds of the control to the specified location and size. (Herdado de Control.) | |
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | Sets the specified bounds of the control to the specified location and size. (Herdado de Control.) | |
SetBoundsCore | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui Control.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).) | |
SetClientSizeCore | Sets the size of the client area of the control. (Herdado de Control.) | |
SetDisplayRectLocation | Posicionar a janela de exibição ao valor especificado. (Herdado de ScrollableControl.) | |
SetScrollState | Define o sinalizador especificado do estado de rolagem. (Herdado de ScrollableControl.) | |
SetStyle | Sets a specified ControlStyles flag to either true or false. (Herdado de Control.) | |
SetTopLevel | Sets the control as the top-level control. (Herdado de Control.) | |
SetVisibleCore | Sets the control to the specified visible state. (Herdado de Control.) | |
Show | Displays the control to the user. (Herdado de Control.) | |
SizeFromClientSize | Determines the size of the entire control from the height and width of its client area. (Herdado de Control.) | |
SuspendLayout | Temporarily suspends the layout logic for the control. (Herdado de Control.) | |
ToString | Infraestrutura. Returns a string representation for this control. (Herdado de Panel.) | |
Update | Causes the control to redraw the invalidated regions within its client area. (Herdado de Control.) | |
UpdateBounds | Updates the bounds of the control with the current size and location. (Herdado de Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size and location. (Herdado de Control.) | |
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size, location, and client size. (Herdado de Control.) | |
UpdateStyles | Forces the assigned styles to be reapplied to the control. (Herdado de Control.) | |
UpdateZOrder | Updates the control in its parent's z-order. (Herdado de Control.) | |
WndProc | Infraestrutura. O objeto de DataRepeaterItem é usado internamente pelo controle de DataRepeater para exibir dados em tempo de execução.As configurações de ItemTemplate determinam como os dados são exibidos. (Substitui ScrollableControl.WndProc(Message).) |
Superior
Eventos
Nome | Descrição | |
---|---|---|
AutoSizeChanged | Occurs when the value of the AutoSize property has changed. (Herdado de Panel.) | |
BackColorChanged | Occurs when the value of the BackColor property changes. (Herdado de Control.) | |
BackgroundImageChanged | Occurs when the value of the BackgroundImage property changes. (Herdado de Control.) | |
BackgroundImageLayoutChanged | Occurs when the BackgroundImageLayout property changes. (Herdado de Control.) | |
BindingContextChanged | Occurs when the value of the BindingContext property changes. (Herdado de Control.) | |
CausesValidationChanged | Occurs when the value of the CausesValidation property changes. (Herdado de Control.) | |
ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. (Herdado de Control.) | |
Click | Occurs when the control is clicked. (Herdado de Control.) | |
ClientSizeChanged | Occurs when the value of the ClientSize property changes. (Herdado de Control.) | |
ContextMenuChanged | Occurs when the value of the ContextMenu property changes. (Herdado de Control.) | |
ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. (Herdado de Control.) | |
ControlAdded | Occurs when a new control is added to the ControlCollection. (Herdado de Control.) | |
ControlRemoved | Occurs when a control is removed from the ControlCollection. (Herdado de Control.) | |
CursorChanged | Occurs when the value of the Cursor property changes. (Herdado de Control.) | |
Disposed | Ocorre quando o componente é descartado por uma chamada para o Dispose método. (Herdado de Component.) | |
DockChanged | Occurs when the value of the Dock property changes. (Herdado de Control.) | |
DoubleClick | Occurs when the control is double-clicked. (Herdado de Control.) | |
DragDrop | Occurs when a drag-and-drop operation is completed. (Herdado de Control.) | |
DragEnter | Occurs when an object is dragged into the control's bounds. (Herdado de Control.) | |
DragLeave | Occurs when an object is dragged out of the control's bounds. (Herdado de Control.) | |
DragOver | Occurs when an object is dragged over the control's bounds. (Herdado de Control.) | |
EnabledChanged | Occurs when the Enabled property value has changed. (Herdado de Control.) | |
Enter | Occurs when the control is entered. (Herdado de Control.) | |
FontChanged | Occurs when the Font property value changes. (Herdado de Control.) | |
ForeColorChanged | Occurs when the ForeColor property value changes. (Herdado de Control.) | |
GiveFeedback | Occurs during a drag operation. (Herdado de Control.) | |
GotFocus | Occurs when the control receives focus. (Herdado de Control.) | |
HandleCreated | Occurs when a handle is created for the control. (Herdado de Control.) | |
HandleDestroyed | Occurs when the control's handle is in the process of being destroyed. (Herdado de Control.) | |
HelpRequested | Occurs when the user requests help for a control. (Herdado de Control.) | |
ImeModeChanged | Occurs when the ImeMode property has changed. (Herdado de Control.) | |
Invalidated | Occurs when a control's display requires redrawing. (Herdado de Control.) | |
KeyDown | Infraestrutura. This member is not meaningful for this control. (Herdado de Panel.) | |
KeyPress | Infraestrutura. This member is not meaningful for this control. (Herdado de Panel.) | |
KeyUp | Infraestrutura. This member is not meaningful for this control. (Herdado de Panel.) | |
Layout | Occurs when a control should reposition its child controls. (Herdado de Control.) | |
Leave | Occurs when the input focus leaves the control. (Herdado de Control.) | |
LocationChanged | Occurs when the Location property value has changed. (Herdado de Control.) | |
LostFocus | Occurs when the control loses focus. (Herdado de Control.) | |
MarginChanged | Occurs when the control's margin changes. (Herdado de Control.) | |
MouseCaptureChanged | Occurs when the control loses mouse capture. (Herdado de Control.) | |
MouseClick | Occurs when the control is clicked by the mouse. (Herdado de Control.) | |
MouseDoubleClick | Occurs when the control is double clicked by the mouse. (Herdado de Control.) | |
MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. (Herdado de Control.) | |
MouseEnter | Occurs when the mouse pointer enters the control. (Herdado de Control.) | |
MouseHover | Occurs when the mouse pointer rests on the control. (Herdado de Control.) | |
MouseLeave | Occurs when the mouse pointer leaves the control. (Herdado de Control.) | |
MouseMove | Occurs when the mouse pointer is moved over the control. (Herdado de Control.) | |
MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. (Herdado de Control.) | |
MouseWheel | Occurs when the mouse wheel moves while the control has focus. (Herdado de Control.) | |
Move | Occurs when the control is moved. (Herdado de Control.) | |
PaddingChanged | Occurs when the control's padding changes. (Herdado de Control.) | |
Paint | Occurs when the control is redrawn. (Herdado de Control.) | |
ParentChanged | Occurs when the Parent property value changes. (Herdado de Control.) | |
PreviewKeyDown | Occurs before the KeyDown event when a key is pressed while focus is on this control. (Herdado de Control.) | |
QueryAccessibilityHelp | Occurs when AccessibleObject is providing help to accessibility applications. (Herdado de Control.) | |
QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Herdado de Control.) | |
RegionChanged | Occurs when the value of the Region property changes. (Herdado de Control.) | |
Resize | Occurs when the control is resized. (Herdado de Control.) | |
RightToLeftChanged | Occurs when the RightToLeft property value changes. (Herdado de Control.) | |
Scroll | Ocorre quando o usuário ou rolagens do código com a área do cliente. (Herdado de ScrollableControl.) | |
SizeChanged | Occurs when the Size property value changes. (Herdado de Control.) | |
StyleChanged | Occurs when the control style changes. (Herdado de Control.) | |
SystemColorsChanged | Occurs when the system colors change. (Herdado de Control.) | |
TabIndexChanged | Occurs when the TabIndex property value changes. (Herdado de Control.) | |
TabStopChanged | Occurs when the TabStop property value changes. (Herdado de Control.) | |
TextChanged | Infraestrutura. This member is not meaningful for this control. (Herdado de Panel.) | |
Validated | Occurs when the control is finished validating. (Herdado de Control.) | |
Validating | Occurs when the control is validating. (Herdado de Control.) | |
VisibleChanged | Occurs when the Visible property value changes. (Herdado de Control.) |
Superior
Implementações explícitas da interface
Nome | Descrição | |
---|---|---|
System#Windows#Forms#IDropTarget#OnDragDrop | Infraestrutura. Raises the DragDrop event. (Herdado de Control.) | |
System#Windows#Forms#IDropTarget#OnDragEnter | Infraestrutura. Raises the DragEnter event. (Herdado de Control.) | |
System#Windows#Forms#IDropTarget#OnDragLeave | Infraestrutura. Raises the DragLeave event. (Herdado de Control.) | |
System#Windows#Forms#IDropTarget#OnDragOver | Infraestrutura. Raises the DragOver event. (Herdado de Control.) |
Superior
Comentários
O controle de DataRepeater usa objetos de DataRepeaterItem para exibir cada item no controle como é rolado na exibição. Assim que um item é rolado para fora da exibição, DataRepeaterItem é invalidado e substituído por nova DataRepeaterItem para o item visível seguir.
O layout e a aparência de cada item são baseados na propriedade de ItemTemplate . à medida que cada DataRepeaterItem é renderizado, você pode alterar a aparência no evento de DrawItem .
Dica
Você deve alterar apenas DataRepeaterItem que pode ser acessado de evento de DrawItem .Tentar modificar fora do evento ou tentar criar um novo DataRepeaterItem podem gerar resultados inesperados.
Exemplos
O exemplo a seguir demonstra como usar o manipulador de eventos de DrawItem para fazer alterações quando um item é rolado na exibição. Este exemplo supõe que você tenha um controle de DataRepeater que esteja associado à tabela produtos no base de dados Northwind.
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
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;
}
}
Acesso thread-safe
Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também
Referência
Namespace Microsoft.VisualBasic.PowerPacks
Outros recursos
Introdução ao controle DataRepeater (Visual Studio)
Como alterar a aparência de um controle DataRepeater (Visual Studio)