In Powershell, you use. The content you requested has been removed. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Visual C. Sign in to vote. NET Framework Version 4. NET and Web Tools Provides data for the PanelClick event. Contains a collection of Control objects. Contains a collection of TabPage objects.
Provides data for the Selecting and Deselecting events of a TabControl control. Provides data for the Selected and Deselected events of a TabControl control. Provides data for the CellPaint event. A collection that stores ColumnStyle objects. Represents a panel that dynamically lays out its contents in a grid composed of rows and columns. A collection that stores RowStyle objects. Implements the basic functionality that represents the appearance and behavior of a table layout.
Represents a single tab page in a TabControl. Contains the collection of controls that the TabPage uses. Provides methods used to render a tab control with visual styles. A task dialog allows to display information and get simple input from the user. It is similar to a MessageBox in that it is formatted by the operating system but provides a lot more features.
Represents a collection of TaskDialogButton objects. Represents an icon that can be shown in the main area of a task dialog by setting the Icon property or in the footnote of a task dialog by setting the Icon property.
Represents a collection of TaskDialogRadioButton objects. Provides methods used to render a text box control with visual styles. Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window.
Use ToolStrip instead, which replaces and extends the ToolBar control. Provides data for the ButtonClick event. Provides information that accessibility applications use to adjust the user interface of a ToolStrip for users with impairments. Provides data for the RenderArrow event. Represents a selectable ToolStripItem that can contain text and images.
Represents the center panel of a ToolStripContainer control. Provides data for the RendererChanged event. Represents the accessible object control host responsible for accessible navigation within the ToolStrip standard items and hosted controls like TextBox, ComboBox, ProgressBar, etc.
Represents a control that allows the user to select a single item from a list that's displayed when the user clicks a ToolStripDropDownButton. Provides information about the ToolStripDropDown control to accessibility client applications. Represents a control that when clicked displays an associated ToolStripDropDown from which the user can select a single item. Provides data for the Closed event.
Provides data for the Closing event. Provides information that accessibility applications use to adjust the user interface of a ToolStripDropDown for users with impairments. Provides basic functionality for the ContextMenuStrip control. Provides data for the RenderGrip event. Represents the abstract base class that manages events and layout for all the elements that a ToolStrip or ToolStripDropDown can contain.
Provides information that accessibility applications use to adjust the user interface of a ToolStripItem for users with impairments.
Provides data for the ItemClicked event. Represents a collection of ToolStripItem objects. Provides data for ToolStripItem events. Provides data for the RenderItemImage event. Provides data for the events that render the background of objects derived from ToolStripItem in the ToolStripRenderer class. Provides data for the RenderItemText event. Represents a nonselectable ToolStripItem that renders text and images and can display hyperlinks. Manages the overflow behavior of a ToolStrip.
Provides data for ToolStripPanel drawing. Represents a row of a ToolStripPanel that can contain controls. Handles the painting functionality for ToolStrip objects, applying a custom palette and a streamlined style. Represents a Windows progress bar control contained in a StatusStrip. Handles the painting functionality for ToolStrip objects. Represents a combination of a standard button on the left and a drop-down button on the right, or the other way around if the value of RightToLeft is Yes.
Provides information that accessibility applications use to adjust the user interface of a ToolStripSplitButton for users with impairments. Represents a panel in a StatusStrip control.
Handles the painting functionality for ToolStrip objects, using system colors and a flat visual style. Represents a text box in a ToolStrip that allows the user to enter text. Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control. Provides methods used to render a track bar control with visual styles. Represents a node of a TreeView. Represents a collection of TreeNode objects.
Provides a type converter to convert TreeNode objects to and from various other representations. Provides data for the NodeMouseHover event. Displays a hierarchical collection of labeled items, each represented by a TreeNode. Contains information about an area of a TreeView control or a TreeNode. Provides a type converter to convert data for an image index to and from one data type to another for use by the TreeView control.
Provides data for the TypeValidationCompleted event. Provides data for the ChangeUICues event. Provides data for controls that derive from the UpDownBase control. Provides basic properties for the VScrollBar class. Represents the host window of a WebBrowser control.
Provides a wrapper for a generic ActiveX control for use as a base class by the WebBrowser control. Provides data for the DocumentCompleted event. Provides data for the Navigated event.
Provides data for the Navigating event. Provides data for the ProgressChanged event. Implements the interfaces of an ActiveX site for use as a base class by the WebBrowser. WebBrowserSite class. Defines a new ConfigurationSection for parsing application settings. Contains information that enables a Binding to resolve a data binding to either the property of an object or the property of the current object in a list of objects.
Represents an area within a LinkLabel control that represents a hyperlink within the control. Represents a cell in a TableLayoutPanel. The site for a ComponentEditorPage. Defines common functionality for controls that are hosted within cells of a DataGridView. Specifies the mode for the automatic completion feature used in the ComboBox and TextBox controls.
Specifies the source for ComboBox and TextBox automatic completion functionality. Specifies how a control will behave when its AutoSize property is enabled.
Specifies the type of member that referenced the ActiveX control while it was in an invalid state. Defines identifiers that indicate the current battery charge level or charging state information.
Specifies the case of characters in a TextBox control. Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state. Specifies the number of colors used to display an image in an ImageList control. Specifies how a column contained in a ListView should be resized. Specifies the styles of the column headers in a ListView control. Specifies the ComboBox style. Determines when changes to a data source value get propagated to the corresponding data-bound control property.
Specifies the part of the DataGrid control the user has clicked. Specifies the style of gridlines in a DataGrid. Specifies how the parent row labels of a DataGrid control are displayed.
Specifies the border styles that can be applied to the cells of a DataGridView control. Specifies the DataGridView entity that owns the cell style that was changed.
Defines constants that indicate whether content is copied from a DataGridView control to the Clipboard. Defines how a DataGridView column can be sorted by the user. Defines constants that indicate the alignment of content within a DataGridView cell. Represents the state of a data-bound DataGridView control when a data error occurred.
Specifies how a user starts cell editing in the DataGridView control. Specifies a location in a DataGridView control. Specifies the layout for an image contained in a DataGridViewCell. Defines values for specifying the parts of a DataGridViewCell that are to be painted. Specifies the date and time format the DateTimePicker control displays. Specifies constants indicating when the error icon, supplied by an ErrorProvider , should blink to alert the user that an error has occurred.
Specifies constants indicating the locations that an error icon can appear in relation to the control with an error. Specifies that Panel1 , Panel2 , or neither panel is fixed. Defines constants that specify the direction in which consecutive user interface UI elements are placed in a linear layout container. Specifies the valid grid item types for a PropertyGrid. Specifies how an object or text in a control is horizontally aligned relative to an element of the control.
Specifies the user action that is required to activate items in a list view control and the feedback that is given as the user moves the mouse pointer over an item. Specifies the behaviors of a link in a LinkLabel. Specifies how items align in the ListView. Specifies the appearance of a ListViewGroup. Defines constants that represent the possible states of a ListViewItem. Defines how to format the text inside of a MaskedTextBox.
Specifies the behavior of a MenuItem when it is merged with items in another menu. Specifies the kind of action to take if a match is found when combining menu items on a ToolStrip. Specifies constants defining which buttons to display on a MessageBox. Specifies constants defining the default button on a MessageBox.
Specifies options on a MessageBox. Defines constants that represent areas in a MonthCalendar control. Specifies how an image is positioned within a PictureBox. Specifies the style that a ProgressBar uses to indicate the progress of an operation.
Specifies how properties are sorted in the PropertyGrid. Specifies how a text search is carried out in a RichTextBox control. Specifies the type of scroll bars to display in a RichTextBox control. Specifies the type of selection in a RichTextBox control. Specifies the types of input and output streams used to load and save data in the RichTextBox control.
Specifies the types of punctuation tables that can be used with the RichTextBox control's word-wrapping and word-breaking features. Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.
Specifies the type of action used to raise the Scroll event. Specifies the scroll bar orientation for the Scroll event. Provides a directional hint of where to search for a ListViewItem.
Specifies the style of the sizing grip on a Form. Specifies how rows or columns of user interface UI elements should be sized relative to their container. Defines values representing TabControl events. Specifies whether the tabs in a tab control are owner-drawn drawn by the parent window , or drawn by the operating system. Specifies how a TableLayoutPanel will gain additional rows or columns after its existing cells are full.
Specifies the formats used with text-related methods of the Clipboard and DataObject classes. Specifies the location of tick marks in a TrackBar control. Specifies the reason that a ToolStripDropDown control was closed. Specifies the direction in which a ToolStripDropDown control is displayed relative to its parent control. Specifies the orientation of the ToolStrip move handle grip. Specifies visibility of a ToolStrip move handle grip. Specifies what to render image or text for this ToolStripItem.
Specifies whether the size of the image on a ToolStripItem is automatically adjusted to fit on a ToolStrip while retaining the original image proportions.
Specifies where a ToolStripItem is to be layed out. Specifies the possible alignments with which the items of a ToolStrip can be displayed. Specifies the painting style applied to multiple ToolStrip objects contained in a form.
Specifies the painting style applied to one ToolStrip contained in a form. Specifies which sides of a ToolStripStatusLabel have borders. Specifies the text orientation to use with a particular LayoutStyle. Defines constants that represent the possible states of a TreeNode. Specifies the action that raised a TreeViewEventArgs event. Defines constants that represent the ways a TreeView can be drawn. Defines constants that represent areas of a TreeView or TreeNode.
Defines constants that inform ValidateChildren ValidationConstraints about how it should validate a container's child controls. Specifies how list items are displayed in a ListView control. Specifies constants that define the encryption methods used by documents displayed in the WebBrowser control. Specifies constants that define the state of the WebBrowser control. Specifies constants that define how the WebBrowser control can refresh its contents. Represents the method that will handle the BindingComplete event in data-binding scenarios.
Represents the method that will handle the ColumnClick event of a ListView. Represents the method that will handle the ColumnReordered event of the ListView control. Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.
Represents the method that will handle the Parse and Format events of a Binding. Represents the method that will handle DataGridView events related to cell and row operations. Represents the method that will handle mouse-related events raised by a DataGridView. Represents the method that will handle column-related events of a DataGridView.
Represents the method that will handle row-related events of a DataGridView. Represents the method that will handle an internal event of the MonthCalendar control.
Represents the method that will handle the DrawItem event of a ListView. Represents the method that will handle the Draw event of a ToolTip. Represents the method that will handle the DrawNode event of a TreeView. Represents the method that handles a FormClosed event. Represents the method that handles a FormClosing event. Represents the method that handles the GiveFeedback event of a Control.
Represents the method that will handle the HelpRequested event of a Control. Represents the method that will handle the Error event of an HtmlWindow. Represents the method that will handle the InputLanguageChanged event of a Form. Represents the method that will handle the InputLanguageChanging event of a Form. Represents the method that will handle the Invalidated event of a Control.
Represents the method that will handle the ItemChanged event of the CurrencyManager class. Represents the method that will handle the ItemChecked event of a ListView control. Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column. Returns a String containing the name of the Component , if any. This method should not be overridden. Forces the control to update its display of the cell at the specified location based on its new value, applying any automatic sizing modes currently in effect.
Occurs when the value of the AutoGenerateColumnsChanged property changes. Occurs when the value of the AutoSizeMode property of a column changes.
Occurs when the value of the AutoSizeColumnsMode property changes. Occurs when the value of the BackColor property changes. Occurs when the value of the BackgroundColor property changes. Occurs when the value of the BackgroundImage property changes. Occurs when the BackgroundImageLayout property changes.
Occurs when the value of the BindingContext property changes. Occurs when the value of the BorderStyle property changes. Occurs when the VirtualMode property of a DataGridView control is true and the cancels edits in a row.
Occurs when the value of the CausesValidation property changes. Occurs when the ContextMenuStrip property changes. Occurs when the current cell changes in the DataGridView control or when the control receives input focus. Occurs when the value of the ErrorText property of a cell changes. Occurs when a cell within the DataGridView is double-clicked.
Occurs when the user presses a mouse button while the mouse pointer is within the boundaries of a cell. Occurs when the mouse pointer moves over the DataGridView control. Occurs when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell.
Occurs when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source. Occurs when the value of the ClientSize property changes. Occurs when the ContextMenuStrip property of a column changes. Occurs when the value of the DataPropertyName property for a column changes. Occurs when the value of the DefaultCellStyle property for a column changes. Occurs when the value the DisplayIndex property for a column changes.
Occurs when the DividerWidth property changes. Occurs when the ColumnHeadersBorderStyle property changes. Occurs when the value of the ColumnHeadersHeight property changes. Occurs when the value of the MinimumWidth property for a column changes. Occurs when the value of the Name property for a column changes. Occurs when the value of the SortMode property for a column changes. Occurs when the value of the Width property for a column changes.
Occurs when the value of the ContextMenu property changes. Occurs when the value of the ContextMenuStrip property changes. Occurs when a new control is added to the Control. Occurs when a control is removed from the Control. Occurs when the CurrentCell property changes. Occurs when the value of the Cursor property changes. Occurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
Occurs when value of the DataMember property changes. Occurs when the value of the DataSource property changes. Occurs when the value of the DefaultCellStyle property changes. Occurs when the user enters the row for new records so that it can be populated with default values.
Occurs when the component is disposed by a call to the Dispose method. Occurs when the value of the Dock property changes. Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. Occurs when the value of the EditMode property changes. Occurs when the Enabled property value has changed. Occurs when the Font property value changes. Occurs when the ForeColor property value changes. Occurs when the value of the GridColor property changes.
Occurs when the ImeMode property has changed. Occurs when the Location property value has changed. Occurs when the value of the MultiSelect property changes. Occurs when the value of the Padding property changes. Occurs when the Parent property value changes. Occurs before the KeyDown event when a key is pressed while focus is on this control. Occurs when AccessibleObject is providing help to accessibility applications.
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Occurs when the ReadOnly property changes. Occurs when the value of the Region property changes. Occurs when the RightToLeft property value changes. Occurs when the value of the DefaultCellStyle property for a row changes.
Occurs when the VirtualMode property of the DataGridView control is true and the DataGridView needs to determine whether the current row has uncommitted changes. Occurs when the DividerHeight property changes. Occurs when the ErrorText property of a row changes. Occurs when the RowHeadersBorderStyle property changes. Occurs when value of the RowHeadersWidth property changes.
Occurs when the value of the Height property for a row changes. Occurs when the value of the MinimumHeight property for a row changes. Occurs after a DataGridViewRow is painted. Occurs before a DataGridViewRow is painted. Occurs after a new row is added to the DataGridView. Occurs when the value of the RowsDefaultCellStyle property changes. Occurs when a row or rows are deleted from the DataGridView.
Occurs when the Size property value changes. Occurs when the DataGridView compares two cell values to perform a sort operation. Occurs when the DataGridView control completes a sorting operation. Occurs when the TabIndex property value changes. Occurs when the TabStop property value changes. Occurs when the value of the Text property changes. Occurs when the user has finished adding a row to the DataGridView control. Occurs when the user has finished deleting a row from the DataGridView control.
Occurs when the user deletes a row from the DataGridView control. Occurs when the Visible property value changes. For a description of this member, see BeginInit. For a description of this member, see EndInit. Skip to main content.
This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? Namespace: System. Forms Assembly: System. Displays data in a customizable grid.
In this article. Inherited from Control. Gets or sets the description of the control used by accessibility client applications. Gets or sets the name of the control used by accessibility client applications. Gets or sets the accessible role of the control. Gets or sets a value indicating whether the control can accept data that the user drags onto it.
Gets or sets a value indicating whether the option to add rows is displayed to the user. Gets or sets a value indicating whether manual column repositioning is enabled. Gets a value indicating whether the control can receive focus. Determines if events can be raised on the control. Gets a value indicating whether the control can be selected.
Gets or sets a value indicating whether the control has captured the mouse. Gets the rectangle that represents the client area of the control. Gets or sets the height and width of the client area of the control. Gets or sets a value indicating whether the column header row is displayed. Gets the name of the company or creator of the application containing the control.
Inherited from Component. Gets or sets the shortcut menu associated with the control. Gets the collection of controls contained within the control. Gets a value indicating whether the control has been created. Gets the required creation parameters when the control handle is created. Gets or sets the cursor that is displayed when the mouse pointer is over the control. Gets the data bindings for the control.
Gets or sets the default cursor for the control. Gets the space, in pixels, that is specified by default between controls. Gets the internal spacing, in pixels, of the contents of a control. Gets the DPI value for the display device where the control is currently being displayed. Gets the control hosted by the current cell, if a cell with an editing control is in edit mode.
Gets or sets a value indicating whether the control can respond to user interaction. Gets the width of the portion of the column that is currently scrolled out of view. Gets a value indicating whether the control has input focus. Gets or sets the height of the font of the control. Gets the window handle that the control is bound to. Gets a value indicating whether the control contains one or more child controls. Gets or sets the height of the control.
Gets or sets the number of pixels by which the control is scrolled horizontally. Gets or sets the IME mode of a control. Gets or sets a value indicating whether the control is visible to accessibility applications. Gets a value indicating whether the current cell has uncommitted changes. Gets a value indicating whether the currently active cell is being edited.
Gets a value indicating whether the current row has uncommitted changes. Gets a value indicating whether the control has been disposed of. Gets a value indicating whether the control has a handle associated with it.
Gets a value indicating whether the control is mirrored. Item[Int32, Int32]. Item[String, Int32]. Gets a cached instance of the control's layout engine. Gets or sets the space between controls. Gets or sets the name of the control.
Gets or sets the parent container of the control. Gets the size of a rectangular area into which the control can fit. Gets the product name of the assembly containing the control. Gets the version of the assembly containing the control. Gets a value indicating whether the control is currently re-creating its handle. Gets or sets the window region associated with the control. This property is now obsolete. Gets or sets a value indicating whether the control redraws itself when resized.
Gets or sets a value indicating whether the column that contains row headers is displayed. Gets or sets the width, in pixels, of the column that contains the row headers. Gets or sets the row that represents the template for all the rows in the control.
Gets a value that determines the scaling of child controls. Gets a value indicating whether the control should display focus rectangles. Gets or sets the site of the control. Gets or sets the height and width of the control. Gets or sets the tab order of the control within its container. Gets or sets the object that contains data about the control. Gets the number of pixels by which the control is scrolled vertically.
Gets or sets a value indicating whether the control and all its child controls are displayed. Gets or sets the width of the control. This property is not relevant for this class. Notifies the accessible client applications when a new cell becomes the current cell. AreAllCellsSelected Boolean. AutoResizeColumn Int Adjusts the width of the specified column using the specified size mode. Adjusts the height of the column headers to fit the contents of the largest column header. AutoResizeRow Int Adjusts the height of the specified row using the specified size mode.
BeginEdit Boolean. BeginInvoke Action. BeginInvoke Delegate. BeginInvoke Delegate, Object[]. Brings the control to the front of the z-order. Cancels edit mode for the currently selected cell and discards any changes.
ClearSelection Int32, Int32, Boolean. Commits changes in the current cell to the data cache without ending edit mode. Contains Control. Retrieves a value indicating whether the specified control is a child of the control. Creates a handle for the control. CreateObjRef Type. Inherited from MarshalByRefObject.
DefWndProc Message. Sends the specified message to the default window procedure. Destroys the handle associated with the control. DisplayedColumnCount Boolean.
DisplayedRowCount Boolean. Dispose Boolean. Begins a drag-and-drop operation. DrawToBitmap Bitmap, Rectangle. Supports rendering to the specified bitmap. Commits and ends the edit operation on the current cell using the default error context.
Commits and ends the edit operation on the current cell using the specified error context. EndInvoke IAsyncResult. Equals Object. Determines whether the specified object is equal to the current object.
Inherited from Object. Retrieves the form that the control is on. Sets input focus to the control. GetChildAtPoint Point. Retrieves the child control that is located at the specified coordinates. Serves as the default hash function. GetNextControl Control, Boolean. Retrieves the next control forward or back in the tab order of child controls.
GetPreferredSize Size. Retrieves the size of a rectangular area into which a control can be fitted. Retrieves the bounds within which the control is scaled. GetService Type. GetStyle ControlStyles. Retrieves the value of the specified control style bit for the control.
Determines if the control is a top-level control. Conceals the control from the user. HitTest Int32, Int Returns location information, such as row and column indices, given x- and y-coordinates.
Obtains a lifetime service object to control the lifetime policy for this instance. Called after the control has been added to another container. Invalidates the entire surface of the control and causes the control to be redrawn. Invalidate Boolean. Invalidate Rectangle.
Invalidate Rectangle, Boolean. Invalidate Region. Invalidate Region, Boolean. InvalidateCell Int32, Int Invalidates the cell with the specified row and column indexes, forcing it to be repainted. InvalidateColumn Int InvalidateRow Int Invoke Action. Executes the specified delegate on the thread that owns the control's underlying window handle. Invoke Delegate. Invoke Delegate, Object[]. IsInputChar Char.
IsInputKey Keys. LogicalToDeviceUnits Int LogicalToDeviceUnits Size. MemberwiseClone Boolean. NotifyCurrentCellDirty Boolean. NotifyInvalidate Rectangle. OnClick EventArgs. OnCursorChanged EventArgs. OnDockChanged EventArgs. OnDoubleClick EventArgs. OnDragLeave EventArgs. OnEnabledChanged EventArgs.
0コメント