|
이 문서는 수동으로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오.
|
번역
원본
|
ListView 클래스
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ListView
어셈블리: System.Windows.Forms(System.Windows.Forms.dll)
ListView 형식에서는 다음과 같은 멤버를 노출합니다.
| 이름 | 설명 | |
|---|---|---|
![]() | AccessibilityObject | |
![]() | AccessibleDefaultActionDescription | |
![]() | AccessibleDescription | |
![]() | AccessibleName | |
![]() | AccessibleRole | |
![]() | Activation | |
![]() | Alignment | |
![]() | AllowColumnReorder | |
![]() | AllowDrop | |
![]() | Anchor | |
![]() | AutoArrange | |
![]() | AutoScrollOffset | |
![]() | AutoSize | 인프라입니다. |
![]() | BackColor | |
![]() | BackgroundImage | |
![]() | BackgroundImageLayout | 인프라입니다. |
![]() | BackgroundImageTiled | |
![]() | BindingContext | |
![]() | BorderStyle | |
![]() | Bottom | |
![]() | Bounds | |
![]() | CanEnableIme | |
![]() | CanFocus | |
![]() | CanRaiseEvents | |
![]() | CanSelect | |
![]() | Capture | |
![]() | CausesValidation | |
![]() | CheckBoxes | |
![]() | CheckedIndices | |
![]() | CheckedItems | |
![]() | ClientRectangle | |
![]() | ClientSize | |
![]() | Columns | |
![]() | CompanyName | |
![]() | Container | |
![]() | ContainsFocus | |
![]() | ContextMenu | |
![]() | ContextMenuStrip | |
![]() | Controls | |
![]() | Created | |
![]() | CreateParams | 인프라입니다. |
![]() | Cursor | |
![]() | DataBindings | |
![]() | DefaultCursor | |
![]() | DefaultImeMode | |
![]() | DefaultMargin | |
![]() | DefaultMaximumSize | |
![]() | DefaultMinimumSize | |
![]() | DefaultPadding | |
![]() | DefaultSize | |
![]() | DesignMode | |
![]() | DisplayRectangle | |
![]() | Disposing | |
![]() | Dock | |
![]() | DoubleBuffered | |
![]() | Enabled | |
![]() | Events | |
![]() | Focused | |
![]() | FocusedItem | |
![]() | Font | |
![]() | FontHeight | |
![]() | ForeColor | |
![]() | FullRowSelect | |
![]() | GridLines | |
![]() | Groups | |
![]() | Handle | |
![]() | HasChildren | |
![]() | HeaderStyle | |
![]() | Height | |
![]() | HideSelection | |
![]() | HotTracking | |
![]() | HoverSelection | |
![]() | ImeMode | |
![]() | ImeModeBase | |
![]() | InsertionMark | |
![]() | InvokeRequired | |
![]() | IsAccessible | |
![]() | IsDisposed | |
![]() | IsHandleCreated | |
![]() | IsMirrored | |
![]() | Items | |
![]() | LabelEdit | |
![]() | LabelWrap | |
![]() | LargeImageList | |
![]() | LayoutEngine | |
![]() | Left | |
![]() | ListViewItemSorter | |
![]() | Location | |
![]() | Margin | |
![]() | MaximumSize | |
![]() | MinimumSize | |
![]() | MultiSelect | |
![]() | Name | |
![]() | OwnerDraw | |
![]() | Padding | 인프라입니다. |
![]() | Parent | |
![]() | PreferredSize | |
![]() | ProductName | |
![]() | ProductVersion | |
![]() | RecreatingHandle | |
![]() | Region | |
![]() | RenderRightToLeft | 사용되지 않습니다. |
![]() | ResizeRedraw | |
![]() | Right | |
![]() | RightToLeft | |
![]() | RightToLeftLayout | |
![]() | ScaleChildren | |
![]() | Scrollable | |
![]() | SelectedIndices | |
![]() | SelectedItems | |
![]() | ShowFocusCues | |
![]() | ShowGroups | |
![]() | ShowItemToolTips | |
![]() | ShowKeyboardCues | |
![]() | Site | |
![]() | Size | |
![]() | SmallImageList | |
![]() | Sorting | |
![]() | StateImageList | |
![]() | TabIndex | |
![]() | TabStop | |
![]() | Tag | |
![]() | Text | 인프라입니다. |
![]() | TileSize | |
![]() | Top | |
![]() | TopItem | |
![]() | TopLevelControl | |
![]() | UseCompatibleStateImageBehavior | |
![]() | UseWaitCursor | |
![]() | View | |
![]() | VirtualListSize | |
![]() | VirtualMode | |
![]() | Visible | |
![]() | Width | |
![]() | WindowTarget | 인프라입니다. |
| 이름 | 설명 | |
|---|---|---|
![]() | AccessibilityNotifyClients(AccessibleEvents, Int32) | |
![]() | AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | |
![]() | ArrangeIcons() | |
![]() | ArrangeIcons(ListViewAlignment) | |
![]() | AutoResizeColumn | |
![]() | AutoResizeColumns | |
![]() | BeginInvoke(Delegate) | |
![]() | BeginInvoke(Delegate, Object[]) | |
![]() | BeginUpdate | |
![]() | BringToFront | |
![]() | Clear | |
![]() | Contains | |
![]() | CreateAccessibilityInstance | |
![]() | CreateControl | |
![]() | CreateControlsInstance | |
![]() | CreateGraphics | |
![]() | CreateHandle | 인프라입니다. |
![]() | CreateObjRef | |
![]() | DefWndProc | |
![]() | DestroyHandle | |
![]() | Dispose() | |
![]() | Dispose(Boolean) | |
![]() | DoDragDrop | |
![]() | DrawToBitmap | |
![]() | EndInvoke | |
![]() | EndUpdate | |
![]() | EnsureVisible | |
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | FindForm | |
![]() | FindItemWithText(String) | |
![]() | FindItemWithText(String, Boolean, Int32) | |
![]() | FindItemWithText(String, Boolean, Int32, Boolean) | |
![]() | FindNearestItem(SearchDirectionHint, Point) | |
![]() | FindNearestItem(SearchDirectionHint, Int32, Int32) | |
![]() | Focus | |
![]() | GetAccessibilityObjectById | |
![]() | GetAutoSizeMode | |
![]() | GetChildAtPoint(Point) | |
![]() | GetChildAtPoint(Point, GetChildAtPointSkip) | |
![]() | GetContainerControl | |
![]() | GetHashCode | |
![]() | GetItemAt | |
![]() | GetItemRect(Int32) | |
![]() | GetItemRect(Int32, ItemBoundsPortion) | |
![]() | GetLifetimeService | |
![]() | GetNextControl | |
![]() | GetPreferredSize | |
![]() | GetScaledBounds | |
![]() | GetService | |
![]() | GetStyle | |
![]() | GetTopLevel | |
![]() | GetType | |
![]() | Hide | |
![]() | HitTest(Point) | |
![]() | HitTest(Int32, Int32) | |
![]() | InitializeLifetimeService | |
![]() | InitLayout | |
![]() | Invalidate() | |
![]() | Invalidate(Boolean) | |
![]() | Invalidate(Rectangle) | |
![]() | Invalidate(Region) | |
![]() | Invalidate(Rectangle, Boolean) | |
![]() | Invalidate(Region, Boolean) | |
![]() | Invoke(Delegate) | |
![]() | Invoke(Delegate, Object[]) | |
![]() | InvokeGotFocus | |
![]() | InvokeLostFocus | |
![]() | InvokeOnClick | |
![]() | InvokePaint | |
![]() | InvokePaintBackground | |
![]() | IsInputChar | |
![]() | IsInputKey | |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | |
![]() | NotifyInvalidate | 인프라입니다. |
![]() | OnAfterLabelEdit | |
![]() | OnAutoSizeChanged | |
![]() | OnBackColorChanged | |
![]() | OnBackgroundImageChanged | 인프라입니다. |
![]() | OnBackgroundImageLayoutChanged | |
![]() | OnBeforeLabelEdit | |
![]() | OnBindingContextChanged | |
![]() | OnCacheVirtualItems | |
![]() | OnCausesValidationChanged | |
![]() | OnChangeUICues | |
![]() | OnClick | |
![]() | OnClientSizeChanged | |
![]() | OnColumnClick | |
![]() | OnColumnReordered | |
![]() | OnColumnWidthChanged | |
![]() | OnColumnWidthChanging | |
![]() | OnContextMenuChanged | |
![]() | OnContextMenuStripChanged | |
![]() | OnControlAdded | |
![]() | OnControlRemoved | |
![]() | OnCreateControl | |
![]() | OnCursorChanged | |
![]() | OnDockChanged | |
![]() | OnDoubleClick | |
![]() | OnDragDrop | |
![]() | OnDragEnter | |
![]() | OnDragLeave | |
![]() | OnDragOver | |
![]() | OnDrawColumnHeader | |
![]() | OnDrawItem | |
![]() | OnDrawSubItem | |
![]() | OnEnabledChanged | |
![]() | OnEnter | |
![]() | OnFontChanged | |
![]() | OnForeColorChanged | |
![]() | OnGiveFeedback | |
![]() | OnGotFocus | |
![]() | OnHandleCreated | |
![]() | OnHandleDestroyed | |
![]() | OnHelpRequested | |
![]() | OnImeModeChanged | |
![]() | OnInvalidated | |
![]() | OnItemActivate | |
![]() | OnItemCheck | |
![]() | OnItemChecked | |
![]() | OnItemDrag | |
![]() | OnItemMouseHover | |
![]() | OnItemSelectionChanged | |
![]() | OnKeyDown | |
![]() | OnKeyPress | |
![]() | OnKeyUp | |
![]() | OnLayout | |
![]() | OnLeave | |
![]() | OnLocationChanged | |
![]() | OnLostFocus | |
![]() | OnMarginChanged | |
![]() | OnMouseCaptureChanged | |
![]() | OnMouseClick | |
![]() | OnMouseDoubleClick | |
![]() | OnMouseDown | |
![]() | OnMouseEnter | |
![]() | OnMouseHover | |
![]() | OnMouseLeave | |
![]() | OnMouseMove | |
![]() | OnMouseUp | |
![]() | OnMouseWheel | |
![]() | OnMove | |
![]() | OnNotifyMessage | |
![]() | OnPaddingChanged | |
![]() | OnPaint | |
![]() | OnPaintBackground | |
![]() | OnParentBackColorChanged | |
![]() | OnParentBackgroundImageChanged | |
![]() | OnParentBindingContextChanged | |
![]() | OnParentChanged | |
![]() | OnParentCursorChanged | |
![]() | OnParentEnabledChanged | |
![]() | OnParentFontChanged | |
![]() | OnParentForeColorChanged | |
![]() | OnParentRightToLeftChanged | |
![]() | OnParentVisibleChanged | |
![]() | OnPreviewKeyDown | |
![]() | OnPrint | |
![]() | OnQueryContinueDrag | |
![]() | OnRegionChanged | |
![]() | OnResize | |
![]() | OnRetrieveVirtualItem | |
![]() | OnRightToLeftChanged | |
![]() | OnRightToLeftLayoutChanged | |
![]() | OnSearchForVirtualItem | |
![]() | OnSelectedIndexChanged | |
![]() | OnSizeChanged | |
![]() | OnStyleChanged | |
![]() | OnSystemColorsChanged | |
![]() | OnTabIndexChanged | |
![]() | OnTabStopChanged | |
![]() | OnTextChanged | |
![]() | OnValidated | |
![]() | OnValidating | |
![]() | OnVirtualItemsSelectionRangeChanged | |
![]() | OnVisibleChanged | |
![]() | PerformLayout() | |
![]() | PerformLayout(Control, String) | |
![]() | PointToClient | |
![]() | PointToScreen | |
![]() | PreProcessControlMessage | |
![]() | PreProcessMessage | |
![]() | ProcessCmdKey | |
![]() | ProcessDialogChar | |
![]() | ProcessDialogKey | |
![]() | ProcessKeyEventArgs | |
![]() | ProcessKeyMessage | |
![]() | ProcessKeyPreview | |
![]() | ProcessMnemonic | |
![]() | RaiseDragEvent | 인프라입니다. |
![]() | RaiseKeyEvent | 인프라입니다. |
![]() | RaiseMouseEvent | 인프라입니다. |
![]() | RaisePaintEvent | 인프라입니다. |
![]() | RealizeProperties | 인프라입니다. |
![]() | RecreateHandle | |
![]() | RectangleToClient | |
![]() | RectangleToScreen | |
![]() | RedrawItems | |
![]() | Refresh | |
![]() | ResetBackColor | |
![]() | ResetBindings | |
![]() | ResetCursor | |
![]() | ResetFont | |
![]() | ResetForeColor | |
![]() | ResetImeMode | |
![]() | ResetMouseEventArgs | 인프라입니다. |
![]() | ResetRightToLeft | |
![]() | ResetText | |
![]() | ResumeLayout() | |
![]() | ResumeLayout(Boolean) | |
![]() | RtlTranslateAlignment(ContentAlignment) | |
![]() | RtlTranslateAlignment(HorizontalAlignment) | |
![]() | RtlTranslateAlignment(LeftRightAlignment) | |
![]() | RtlTranslateContent | |
![]() | RtlTranslateHorizontal | |
![]() | RtlTranslateLeftRight | |
![]() | Scale(Single) | 사용되지 않습니다. |
![]() | Scale(SizeF) | |
![]() | Scale(Single, Single) | 사용되지 않습니다. |
![]() | ScaleControl | |
![]() | ScaleCore | 인프라입니다. |
![]() | Select() | |
![]() | Select(Boolean, Boolean) | |
![]() | SelectNextControl | |
![]() | SendToBack | |
![]() | SetAutoSizeMode | |
![]() | SetBounds(Int32, Int32, Int32, Int32) | |
![]() | SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | |
![]() | SetBoundsCore | |
![]() | SetClientSizeCore | |
![]() | SetStyle | |
![]() | SetTopLevel | |
![]() | SetVisibleCore | |
![]() | Show | |
![]() | SizeFromClientSize | |
![]() | Sort | |
![]() | SuspendLayout | |
![]() | ToString | 인프라입니다. |
![]() | Update | |
![]() | UpdateBounds() | |
![]() | UpdateBounds(Int32, Int32, Int32, Int32) | |
![]() | UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | |
![]() | UpdateExtendedStyles | |
![]() | UpdateStyles | |
![]() | UpdateZOrder | |
![]() | WndProc |
| 이름 | 설명 | |
|---|---|---|
![]() | AfterLabelEdit | |
![]() | AutoSizeChanged | 인프라입니다. |
![]() | BackColorChanged | |
![]() | BackgroundImageChanged | |
![]() | BackgroundImageLayoutChanged | 인프라입니다. |
![]() | BeforeLabelEdit | |
![]() | BindingContextChanged | |
![]() | CacheVirtualItems | |
![]() | CausesValidationChanged | |
![]() | ChangeUICues | |
![]() | Click | |
![]() | ClientSizeChanged | |
![]() | ColumnClick | |
![]() | ColumnReordered | |
![]() | ColumnWidthChanged | |
![]() | ColumnWidthChanging | |
![]() | ContextMenuChanged | |
![]() | ContextMenuStripChanged | |
![]() | ControlAdded | |
![]() | ControlRemoved | |
![]() | CursorChanged | |
![]() | Disposed | |
![]() | DockChanged | |
![]() | DoubleClick | |
![]() | DragDrop | |
![]() | DragEnter | |
![]() | DragLeave | |
![]() | DragOver | |
![]() | DrawColumnHeader | |
![]() | DrawItem | |
![]() | DrawSubItem | |
![]() | EnabledChanged | |
![]() | Enter | |
![]() | FontChanged | |
![]() | ForeColorChanged | |
![]() | GiveFeedback | |
![]() | GotFocus | |
![]() | HandleCreated | |
![]() | HandleDestroyed | |
![]() | HelpRequested | |
![]() | ImeModeChanged | |
![]() | Invalidated | |
![]() | ItemActivate | |
![]() | ItemCheck | |
![]() | ItemChecked | |
![]() | ItemDrag | |
![]() | ItemMouseHover | |
![]() | ItemSelectionChanged | |
![]() | KeyDown | |
![]() | KeyPress | |
![]() | KeyUp | |
![]() | Layout | |
![]() | Leave | |
![]() | LocationChanged | |
![]() | LostFocus | |
![]() | MarginChanged | |
![]() | MouseCaptureChanged | |
![]() | MouseClick | |
![]() | MouseDoubleClick | |
![]() | MouseDown | |
![]() | MouseEnter | |
![]() | MouseHover | |
![]() | MouseLeave | |
![]() | MouseMove | |
![]() | MouseUp | |
![]() | MouseWheel | |
![]() | Move | |
![]() | PaddingChanged | 인프라입니다. |
![]() | Paint | 인프라입니다. |
![]() | ParentChanged | |
![]() | PreviewKeyDown | |
![]() | QueryAccessibilityHelp | |
![]() | QueryContinueDrag | |
![]() | RegionChanged | |
![]() | Resize | |
![]() | RetrieveVirtualItem | |
![]() | RightToLeftChanged | |
![]() | RightToLeftLayoutChanged | |
![]() | SearchForVirtualItem | |
![]() | SelectedIndexChanged | |
![]() | SizeChanged | |
![]() | StyleChanged | |
![]() | SystemColorsChanged | |
![]() | TabIndexChanged | |
![]() | TabStopChanged | |
![]() | TextChanged | 인프라입니다. |
![]() | Validated | |
![]() | Validating | |
![]() | VirtualItemsSelectionRangeChanged | |
![]() | VisibleChanged |
| 이름 | 설명 | |
|---|---|---|
![]() ![]() | IDropTarget.OnDragDrop | 인프라입니다. |
![]() ![]() | IDropTarget.OnDragEnter | 인프라입니다. |
![]() ![]() | IDropTarget.OnDragLeave | 인프라입니다. |
![]() ![]() | IDropTarget.OnDragOver | 인프라입니다. |
참고 |
|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
private void CreateMyListView() { // Create a new ListView control. ListView listView1 = new ListView(); listView1.Bounds = new Rectangle(new Point(10,10), new Size(300,200)); // Set the view to show details. listView1.View = View.Details; // Allow the user to edit item text. listView1.LabelEdit = true; // Allow the user to rearrange columns. listView1.AllowColumnReorder = true; // Display check boxes. listView1.CheckBoxes = true; // Select the item and subitems when selection is made. listView1.FullRowSelect = true; // Display grid lines. listView1.GridLines = true; // Sort the items in the list in ascending order. listView1.Sorting = SortOrder.Ascending; // Create three items and three sets of subitems for each item. ListViewItem item1 = new ListViewItem("item1",0); // Place a check mark next to the item. item1.Checked = true; item1.SubItems.Add("1"); item1.SubItems.Add("2"); item1.SubItems.Add("3"); ListViewItem item2 = new ListViewItem("item2",1); item2.SubItems.Add("4"); item2.SubItems.Add("5"); item2.SubItems.Add("6"); ListViewItem item3 = new ListViewItem("item3",0); // Place a check mark next to the item. item3.Checked = true; item3.SubItems.Add("7"); item3.SubItems.Add("8"); item3.SubItems.Add("9"); // Create columns for the items and subitems. // Width of -2 indicates auto-size. listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center); //Add the items to the ListView. listView1.Items.AddRange(new ListViewItem[]{item1,item2,item3}); // Create two ImageList objects. ImageList imageListSmall = new ImageList(); ImageList imageListLarge = new ImageList(); // Initialize the ImageList objects with bitmaps. imageListSmall.Images.Add(Bitmap.FromFile("C:\\MySmallImage1.bmp")); imageListSmall.Images.Add(Bitmap.FromFile("C:\\MySmallImage2.bmp")); imageListLarge.Images.Add(Bitmap.FromFile("C:\\MyLargeImage1.bmp")); imageListLarge.Images.Add(Bitmap.FromFile("C:\\MyLargeImage2.bmp")); //Assign the ImageList objects to the ListView. listView1.LargeImageList = imageListLarge; listView1.SmallImageList = imageListSmall; // Add the ListView to the control collection. this.Controls.Add(listView1); }
Windows 7, Windows Vista SP1 이상, Windows XP SP3, Windows XP SP2 x64 버전, Windows Server 2008(Server Core는 지원되지 않음), Windows Server 2008 R2(Server Core는 SP1 이상에서 지원됨), Windows Server 2003 SP2
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
