public class DataGridViewCellPaintingEventArgs extends HandledEventArgs
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.DataGridViewCellPaintingEventArgs
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=8.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.DataGridViewCellPaintingEventArgs
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataGridViewCellPaintingEventArgs() |
DataGridViewCellPaintingEventArgs(DataGridView dataGridView,
Graphics graphics,
Rectangle clipBounds,
Rectangle cellBounds,
int rowIndex,
int columnIndex,
DataGridViewElementStates cellState,
NetObject value,
NetObject formattedValue,
java.lang.String errorText,
DataGridViewCellStyle cellStyle,
DataGridViewAdvancedBorderStyle advancedBorderStyle,
DataGridViewPaintParts paintParts)
Initializes a new instance by invoking the .NET constructor.
|
DataGridViewCellPaintingEventArgs(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataGridViewCellPaintingEventArgs |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataGridViewCellPaintingEventArgs, a cast assert is made to check if types are compatible. |
DataGridViewAdvancedBorderStyle |
getAdvancedBorderStyle()
Gets the value of the .NET property AdvancedBorderStyle.
|
Rectangle |
getCellBounds()
Gets the value of the .NET property CellBounds.
|
DataGridViewCellStyle |
getCellStyle()
Gets the value of the .NET property CellStyle.
|
Rectangle |
getClipBounds()
Gets the value of the .NET property ClipBounds.
|
int |
getColumnIndex()
Gets the value of the .NET property ColumnIndex.
|
java.lang.String |
getErrorText()
Gets the value of the .NET property ErrorText.
|
NetObject |
getFormattedValue()
Gets the value of the .NET property FormattedValue.
|
Graphics |
getGraphics()
Gets the value of the .NET property Graphics.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
DataGridViewPaintParts |
getPaintParts()
Gets the value of the .NET property PaintParts.
|
int |
getRowIndex()
Gets the value of the .NET property RowIndex.
|
DataGridViewElementStates |
getState()
Gets the value of the .NET property State.
|
NetObject |
getValue()
Gets the value of the .NET property Value.
|
void |
Paint(Rectangle clipBounds,
DataGridViewPaintParts paintParts)
Invokes the .NET member Paint.
|
void |
PaintBackground(Rectangle clipBounds,
boolean cellsPaintSelectionBackground)
Invokes the .NET member PaintBackground.
|
void |
PaintContent(Rectangle clipBounds)
Invokes the .NET member PaintContent.
|
void |
setAdvancedBorderStyle(DataGridViewAdvancedBorderStyle AdvancedBorderStyle)
Sets the value of the .NET property AdvancedBorderStyle.
|
void |
setCellBounds(Rectangle CellBounds)
Sets the value of the .NET property CellBounds.
|
void |
setCellStyle(DataGridViewCellStyle CellStyle)
Sets the value of the .NET property CellStyle.
|
void |
setClipBounds(Rectangle ClipBounds)
Sets the value of the .NET property ClipBounds.
|
void |
setColumnIndex(int ColumnIndex)
Sets the value of the .NET property ColumnIndex.
|
void |
setErrorText(java.lang.String ErrorText)
Sets the value of the .NET property ErrorText.
|
void |
setFormattedValue(NetObject FormattedValue)
Sets the value of the .NET property FormattedValue.
|
void |
setGraphics(Graphics Graphics)
Sets the value of the .NET property Graphics.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPaintParts(DataGridViewPaintParts PaintParts)
Sets the value of the .NET property PaintParts.
|
void |
setRowIndex(int RowIndex)
Sets the value of the .NET property RowIndex.
|
void |
setState(DataGridViewElementStates State)
Sets the value of the .NET property State.
|
void |
setValue(NetObject Value)
Sets the value of the .NET property Value.
|
getHandled, setHandledpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGridViewCellPaintingEventArgs()
throws java.lang.Throwable
java.lang.Throwablepublic DataGridViewCellPaintingEventArgs(DataGridView dataGridView, Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, int columnIndex, DataGridViewElementStates cellState, NetObject value, NetObject formattedValue, java.lang.String errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
dataGridView - the argument of type DataGridViewgraphics - the argument of type GraphicsclipBounds - the argument of type RectanglecellBounds - the argument of type RectanglerowIndex - the argument of type intcolumnIndex - the argument of type intcellState - the argument of type DataGridViewElementStatesvalue - the argument of type NetObjectformattedValue - the argument of type NetObjecterrorText - the argument of type java.lang.StringcellStyle - the argument of type DataGridViewCellStyleadvancedBorderStyle - the argument of type DataGridViewAdvancedBorderStylepaintParts - the argument of type DataGridViewPaintPartsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic DataGridViewCellPaintingEventArgs(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static DataGridViewCellPaintingEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGridViewCellPaintingEventArgs, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGridViewCellPaintingEventArgs instancejava.lang.Throwable - in case of error during cast operationpublic DataGridViewAdvancedBorderStyle getAdvancedBorderStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Rectangle getCellBounds() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DataGridViewCellStyle getCellStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Rectangle getClipBounds() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getColumnIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getErrorText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getFormattedValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Graphics getGraphics() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HandledEventArgspublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HandledEventArgspublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HandledEventArgsnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HandledEventArgspublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class HandledEventArgspublic DataGridViewPaintParts getPaintParts() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getRowIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DataGridViewElementStates getState() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Paint(Rectangle clipBounds, DataGridViewPaintParts paintParts) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
clipBounds - the argument of type RectanglepaintParts - the argument of type DataGridViewPaintPartsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void PaintBackground(Rectangle clipBounds, boolean cellsPaintSelectionBackground) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
clipBounds - the argument of type RectanglecellsPaintSelectionBackground - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void PaintContent(Rectangle clipBounds) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
clipBounds - the argument of type Rectanglejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setAdvancedBorderStyle(DataGridViewAdvancedBorderStyle AdvancedBorderStyle) throws java.lang.Throwable
AdvancedBorderStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCellBounds(Rectangle CellBounds) throws java.lang.Throwable
CellBounds - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCellStyle(DataGridViewCellStyle CellStyle) throws java.lang.Throwable
CellStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setClipBounds(Rectangle ClipBounds) throws java.lang.Throwable
ClipBounds - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setColumnIndex(int ColumnIndex)
throws java.lang.Throwable
ColumnIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setErrorText(java.lang.String ErrorText)
throws java.lang.Throwable
ErrorText - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFormattedValue(NetObject FormattedValue) throws java.lang.Throwable
FormattedValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setGraphics(Graphics Graphics) throws java.lang.Throwable
Graphics - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class HandledEventArgsinstance - the new underlying objectpublic void setPaintParts(DataGridViewPaintParts PaintParts) throws java.lang.Throwable
PaintParts - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRowIndex(int RowIndex)
throws java.lang.Throwable
RowIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setState(DataGridViewElementStates State) throws java.lang.Throwable
State - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setValue(NetObject Value) throws java.lang.Throwable
Value - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR