[]
Creates the new BaseObject object with default settings.
public BaseObject()
Public Sub New()
Creates the new BaseObject object with specified text.
public BaseObject(string text)
Public Sub New(text As String)
| Type | Name | Description |
|---|---|---|
| string | text | The string value. |
Creates the new BaseObject object with specified text and menu caption.
public BaseObject(string text, string menuCaption)
Public Sub New(text As String, menuCaption As String)
| Type | Name | Description |
|---|---|---|
| string | text | The string value. |
| string | menuCaption | The string value. |
Creates the new BaseObject object with specified color, text and menu caption.
public BaseObject(Color color, string text, string menuCaption)
Public Sub New(color As Color, text As String, menuCaption As String)
| Type | Name | Description |
|---|---|---|
| Color | color | The Color value. |
| string | text | The string value. |
| string | menuCaption | The string value. |
Creates the new BaseObject object with specified parameters.
public BaseObject(Color color, string text, string menuCaption, C1Brush brush)
Public Sub New(color As Color, text As String, menuCaption As String, brush As C1Brush)
| Type | Name | Description |
|---|---|---|
| Color | color | The Color value. |
| string | text | The string value. |
| string | menuCaption | The string value. |
| C1Brush | brush | The Brush object. |
Special constructor for deserialization.
protected BaseObject(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo. |
| StreamingContext | context | The context information. |