public class DataGrid extends Control
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGrid
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.DataGrid
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataGrid() |
DataGrid(java.lang.Object instance)
Internal constructor.
|
addAutoSizeChanged, addBackColorChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenu, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeAutoSizeChanged, removeBackColorChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenu, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringOnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, ToIDropTargetpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGrid()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException,
OutOfMemoryException,
InvalidCastException,
ObjectDisposedException,
Win32Exception
public DataGrid(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addAllowNavigationChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addBackButtonClick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addBackgroundColorChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addBackgroundImageChanged(EventHandler handler) throws java.lang.Throwable
addBackgroundImageChanged in class Controljava.lang.Throwablepublic void addBackgroundImageLayoutChanged(EventHandler handler) throws java.lang.Throwable
addBackgroundImageLayoutChanged in class Controljava.lang.Throwablepublic void addBorderStyleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCaptionVisibleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCurrentCellChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addCursorChanged(EventHandler handler) throws java.lang.Throwable
addCursorChanged in class Controljava.lang.Throwablepublic void addDataSourceChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addFlatModeChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigate(NavigateEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addParentRowsLabelStyleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addParentRowsVisibleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addReadOnlyChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addScroll(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addShowParentDetailsButtonClick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addTextChanged(EventHandler handler) throws java.lang.Throwable
addTextChanged in class Controljava.lang.Throwablepublic boolean BeginEdit(DataGridColumnStyle gridColumn, int rowNumber) throws java.lang.Throwable
java.lang.Throwablepublic void BeginInit()
throws java.lang.Throwable
java.lang.Throwablepublic static DataGrid cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGrid, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGrid instancejava.lang.Throwable - in case of error during cast operationpublic void Collapse(int row)
throws java.lang.Throwable
java.lang.Throwablepublic boolean EndEdit(DataGridColumnStyle gridColumn, int rowNumber, boolean shouldAbort) throws java.lang.Throwable
java.lang.Throwablepublic void EndInit()
throws java.lang.Throwable
java.lang.Throwablepublic void Expand(int row)
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowNavigation()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAllowSorting()
throws java.lang.Throwable
java.lang.Throwablepublic Color getAlternatingBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Color getBackgroundColor() throws java.lang.Throwable
java.lang.Throwablepublic BorderStyle getBorderStyle() throws java.lang.Throwable
java.lang.Throwablepublic Color getCaptionBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Font getCaptionFont() throws java.lang.Throwable
java.lang.Throwablepublic Color getCaptionForeColor() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCaptionText()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getCaptionVisible()
throws java.lang.Throwable
java.lang.Throwablepublic Rectangle GetCellBounds(DataGridCell dgc) throws java.lang.Throwable
java.lang.Throwablepublic Rectangle GetCellBounds(int row, int col) throws java.lang.Throwable
java.lang.Throwablepublic boolean getColumnHeadersVisible()
throws java.lang.Throwable
java.lang.Throwablepublic DataGridCell getCurrentCell() throws java.lang.Throwable
java.lang.Throwablepublic Rectangle GetCurrentCellBounds() throws java.lang.Throwable
java.lang.Throwablepublic int getCurrentRowIndex()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDataMember()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject getDataSource() throws java.lang.Throwable
java.lang.Throwablepublic int getFirstVisibleColumn()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getFlatMode()
throws java.lang.Throwable
java.lang.Throwablepublic Color getGridLineColor() throws java.lang.Throwable
java.lang.Throwablepublic DataGridLineStyle getGridLineStyle() throws java.lang.Throwable
java.lang.Throwablepublic Color getHeaderBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Font getHeaderFont() throws java.lang.Throwable
java.lang.Throwablepublic Color getHeaderForeColor() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ControlString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ControlString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ControlObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ControlString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ControlJCType representing the CLR Type of the instantiated Classpublic Color getLinkColor() throws java.lang.Throwable
java.lang.Throwablepublic Color getLinkHoverColor() throws java.lang.Throwable
java.lang.Throwablepublic Color getParentRowsBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Color getParentRowsForeColor() throws java.lang.Throwable
java.lang.Throwablepublic DataGridParentRowsLabelStyle getParentRowsLabelStyle() throws java.lang.Throwable
java.lang.Throwablepublic boolean getParentRowsVisible()
throws java.lang.Throwable
java.lang.Throwablepublic int getPreferredColumnWidth()
throws java.lang.Throwable
java.lang.Throwablepublic int getPreferredRowHeight()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getReadOnly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getRowHeadersVisible()
throws java.lang.Throwable
java.lang.Throwablepublic int getRowHeaderWidth()
throws java.lang.Throwable
java.lang.Throwablepublic Color getSelectionBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Color getSelectionForeColor() throws java.lang.Throwable
java.lang.Throwablepublic GridTableStylesCollection getTableStyles() throws java.lang.Throwable
java.lang.Throwablepublic int getVisibleColumnCount()
throws java.lang.Throwable
java.lang.Throwablepublic int getVisibleRowCount()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsExpanded(int rowNumber)
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsSelected(int row)
throws java.lang.Throwable
java.lang.Throwablepublic void NavigateBack()
throws java.lang.Throwable
java.lang.Throwablepublic void NavigateTo(int rowNumber,
java.lang.String relationName)
throws java.lang.Throwable
java.lang.Throwablepublic void removeAllowNavigationChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeBackButtonClick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeBackgroundColorChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeBackgroundImageChanged(EventHandler handler) throws java.lang.Throwable
removeBackgroundImageChanged in class Controljava.lang.Throwablepublic void removeBackgroundImageLayoutChanged(EventHandler handler) throws java.lang.Throwable
removeBackgroundImageLayoutChanged in class Controljava.lang.Throwablepublic void removeBorderStyleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCaptionVisibleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCurrentCellChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeCursorChanged(EventHandler handler) throws java.lang.Throwable
removeCursorChanged in class Controljava.lang.Throwablepublic void removeDataSourceChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeFlatModeChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigate(NavigateEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeParentRowsLabelStyleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeParentRowsVisibleChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeReadOnlyChanged(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeScroll(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeShowParentDetailsButtonClick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeTextChanged(EventHandler handler) throws java.lang.Throwable
removeTextChanged in class Controljava.lang.Throwablepublic void ResetAlternatingBackColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetGridLineColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetHeaderBackColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetHeaderFont()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetHeaderForeColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetLinkColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetLinkHoverColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetSelectionBackColor()
throws java.lang.Throwable
java.lang.Throwablepublic void ResetSelectionForeColor()
throws java.lang.Throwable
java.lang.Throwablepublic void Select(int row)
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowNavigation(boolean AllowNavigation)
throws java.lang.Throwable
java.lang.Throwablepublic void setAllowSorting(boolean AllowSorting)
throws java.lang.Throwable
java.lang.Throwablepublic void setAlternatingBackColor(Color AlternatingBackColor) throws java.lang.Throwable
java.lang.Throwablepublic void setBackgroundColor(Color BackgroundColor) throws java.lang.Throwable
java.lang.Throwablepublic void setBorderStyle(BorderStyle BorderStyle) throws java.lang.Throwable
java.lang.Throwablepublic void setCaptionBackColor(Color CaptionBackColor) throws java.lang.Throwable
java.lang.Throwablepublic void setCaptionFont(Font CaptionFont) throws java.lang.Throwable
java.lang.Throwablepublic void setCaptionForeColor(Color CaptionForeColor) throws java.lang.Throwable
java.lang.Throwablepublic void setCaptionText(java.lang.String CaptionText)
throws java.lang.Throwable
java.lang.Throwablepublic void setCaptionVisible(boolean CaptionVisible)
throws java.lang.Throwable
java.lang.Throwablepublic void setColumnHeadersVisible(boolean ColumnHeadersVisible)
throws java.lang.Throwable
java.lang.Throwablepublic void setCurrentCell(DataGridCell CurrentCell) throws java.lang.Throwable
java.lang.Throwablepublic void setCurrentRowIndex(int CurrentRowIndex)
throws java.lang.Throwable
java.lang.Throwablepublic void SetDataBinding(NetObject dataSource, java.lang.String dataMember) throws java.lang.Throwable
java.lang.Throwablepublic void setDataMember(java.lang.String DataMember)
throws java.lang.Throwable
java.lang.Throwablepublic void setDataSource(NetObject DataSource) throws java.lang.Throwable
java.lang.Throwablepublic void setFlatMode(boolean FlatMode)
throws java.lang.Throwable
java.lang.Throwablepublic void setGridLineColor(Color GridLineColor) throws java.lang.Throwable
java.lang.Throwablepublic void setGridLineStyle(DataGridLineStyle GridLineStyle) throws java.lang.Throwable
java.lang.Throwablepublic void setHeaderBackColor(Color HeaderBackColor) throws java.lang.Throwable
java.lang.Throwablepublic void setHeaderFont(Font HeaderFont) throws java.lang.Throwable
java.lang.Throwablepublic void setHeaderForeColor(Color HeaderForeColor) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class Controlpublic void setLinkColor(Color LinkColor) throws java.lang.Throwable
java.lang.Throwablepublic void setLinkHoverColor(Color LinkHoverColor) throws java.lang.Throwable
java.lang.Throwablepublic void setParentRowsBackColor(Color ParentRowsBackColor) throws java.lang.Throwable
java.lang.Throwablepublic void setParentRowsForeColor(Color ParentRowsForeColor) throws java.lang.Throwable
java.lang.Throwablepublic void setParentRowsLabelStyle(DataGridParentRowsLabelStyle ParentRowsLabelStyle) throws java.lang.Throwable
java.lang.Throwablepublic void setParentRowsVisible(boolean ParentRowsVisible)
throws java.lang.Throwable
java.lang.Throwablepublic void setPreferredColumnWidth(int PreferredColumnWidth)
throws java.lang.Throwable
java.lang.Throwablepublic void setPreferredRowHeight(int PreferredRowHeight)
throws java.lang.Throwable
java.lang.Throwablepublic void setReadOnly(boolean ReadOnly)
throws java.lang.Throwable
java.lang.Throwablepublic void setRowHeadersVisible(boolean RowHeadersVisible)
throws java.lang.Throwable
java.lang.Throwablepublic void setRowHeaderWidth(int RowHeaderWidth)
throws java.lang.Throwable
java.lang.Throwablepublic void setSelectionBackColor(Color SelectionBackColor) throws java.lang.Throwable
java.lang.Throwablepublic void setSelectionForeColor(Color SelectionForeColor) throws java.lang.Throwable
java.lang.Throwablepublic void SubObjectsSiteChange(boolean site)
throws java.lang.Throwable
java.lang.Throwablepublic void UnSelect(int row)
throws java.lang.Throwable
java.lang.Throwable