public class DataGridViewCellStyle extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.DataGridViewCellStyle
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.DataGridViewCellStyle
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataGridViewCellStyle()
Initializes a new instance by invoking the .NET constructor.
|
DataGridViewCellStyle(DataGridViewCellStyle dataGridViewCellStyle)
Initializes a new instance by invoking the .NET constructor.
|
DataGridViewCellStyle(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplyStyle(DataGridViewCellStyle dataGridViewCellStyle)
Invokes the .NET member ApplyStyle.
|
static DataGridViewCellStyle |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataGridViewCellStyle, a cast assert is made to check if types are compatible. |
DataGridViewCellStyle |
Clone()
Invokes the .NET member Clone.
|
DataGridViewContentAlignment |
getAlignment()
Gets the value of the .NET property Alignment.
|
Color |
getBackColor()
Gets the value of the .NET property BackColor.
|
NetObject |
getDataSourceNullValue()
Gets the value of the .NET property DataSourceNullValue.
|
Font |
getFont()
Gets the value of the .NET property Font.
|
Color |
getForeColor()
Gets the value of the .NET property ForeColor.
|
java.lang.String |
getFormat()
Gets the value of the .NET property Format.
|
IFormatProvider |
getFormatProvider()
Gets the value of the .NET property FormatProvider.
|
boolean |
getIsDataSourceNullValueDefault()
Gets the value of the .NET property IsDataSourceNullValueDefault.
|
boolean |
getIsFormatProviderDefault()
Gets the value of the .NET property IsFormatProviderDefault.
|
boolean |
getIsNullValueDefault()
Gets the value of the .NET property IsNullValueDefault.
|
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. |
NetObject |
getNullValue()
Gets the value of the .NET property NullValue.
|
Padding |
getPadding()
Gets the value of the .NET property Padding.
|
Color |
getSelectionBackColor()
Gets the value of the .NET property SelectionBackColor.
|
Color |
getSelectionForeColor()
Gets the value of the .NET property SelectionForeColor.
|
NetObject |
getTag()
Gets the value of the .NET property Tag.
|
DataGridViewTriState |
getWrapMode()
Gets the value of the .NET property WrapMode.
|
void |
setAlignment(DataGridViewContentAlignment Alignment)
Sets the value of the .NET property Alignment.
|
void |
setBackColor(Color BackColor)
Sets the value of the .NET property BackColor.
|
void |
setDataSourceNullValue(NetObject DataSourceNullValue)
Sets the value of the .NET property DataSourceNullValue.
|
void |
setFont(Font Font)
Sets the value of the .NET property Font.
|
void |
setForeColor(Color ForeColor)
Sets the value of the .NET property ForeColor.
|
void |
setFormat(java.lang.String Format)
Sets the value of the .NET property Format.
|
void |
setFormatProvider(IFormatProvider FormatProvider)
Sets the value of the .NET property FormatProvider.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setNullValue(NetObject NullValue)
Sets the value of the .NET property NullValue.
|
void |
setPadding(Padding Padding)
Sets the value of the .NET property Padding.
|
void |
setSelectionBackColor(Color SelectionBackColor)
Sets the value of the .NET property SelectionBackColor.
|
void |
setSelectionForeColor(Color SelectionForeColor)
Sets the value of the .NET property SelectionForeColor.
|
void |
setTag(NetObject Tag)
Sets the value of the .NET property Tag.
|
void |
setWrapMode(DataGridViewTriState WrapMode)
Sets the value of the .NET property WrapMode.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGridViewCellStyle()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic DataGridViewCellStyle(DataGridViewCellStyle dataGridViewCellStyle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException
dataGridViewCellStyle - the argument of type DataGridViewCellStylejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic DataGridViewCellStyle(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 void ApplyStyle(DataGridViewCellStyle dataGridViewCellStyle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException
dataGridViewCellStyle - the argument of type DataGridViewCellStylejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic static DataGridViewCellStyle cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGridViewCellStyle, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGridViewCellStyle instancejava.lang.Throwable - in case of error during cast operationpublic DataGridViewCellStyle Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic DataGridViewContentAlignment getAlignment() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getBackColor() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getDataSourceNullValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Font getFont() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getForeColor() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFormat()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IFormatProvider getFormatProvider() throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean getIsDataSourceNullValueDefault()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsFormatProviderDefault()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsNullValueDefault()
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 NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic NetObject getNullValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Padding getPadding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getSelectionBackColor() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Color getSelectionForeColor() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DataGridViewTriState getWrapMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAlignment(DataGridViewContentAlignment Alignment) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, RankException
Alignment - the new value of the propertyjava.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 itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itpublic void setBackColor(Color BackColor) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException
BackColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setDataSourceNullValue(NetObject DataSourceNullValue) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException
DataSourceNullValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setFont(Font Font) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException
Font - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setForeColor(Color ForeColor) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException
ForeColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setFormat(java.lang.String Format)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArrayTypeMismatchException,
NotSupportedException,
InvalidEnumArgumentException,
InvalidOperationException
Format - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setFormatProvider(IFormatProvider FormatProvider) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException
FormatProvider - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setNullValue(NetObject NullValue) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException
NullValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setPadding(Padding Padding) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException
Padding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setSelectionBackColor(Color SelectionBackColor) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException
SelectionBackColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setSelectionForeColor(Color SelectionForeColor) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, InvalidEnumArgumentException
SelectionForeColor - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setTag(NetObject Tag) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
Tag - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setWrapMode(DataGridViewTriState WrapMode) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException
WrapMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it