SelectBackColor Property, SftMask Object
Defines the control's background color for selected text.
Syntax
Get
| C# | System.Drawing.Color Clr = object.SelectBackColor; |
| VB.NET | Clr = object.SelectBackColor As System.Drawing.Color |
| C++ | OLE_COLOR Clr = object->SelectBackColor; OLE_COLOR Clr = object->GetSelectBackColor(); |
| C | HRESULT object->get_SelectBackColor(OLE_COLOR* Clr); |
| VB | Clr = object.SelectBackColor As OLE_COLOR |
Put
| C# | System.Drawing.Color object.SelectBackColor = Clr; |
| VB.NET | object.SelectBackColor = Clr As System.Drawing.Color |
| C++ | OLE_COLOR object->SelectBackColor = Clr; void object->PutSelectBackColor(OLE_COLOR Clr); |
| C | HRESULT object->put_SelectBackColor(OLE_COLOR Clr); |
| VB | object.SelectBackColor = Clr As OLE_COLOR |
object
A SftMask object.
Clr
Defines the control's background color for selected text.
Comments
The SelectBackColor property defines the control's background color for selected text.
If the control has the input focus, the SelectBackColorFocus property is used instead.
If the control is disabled (see Enabled property), the BackColor property is used instead.
See Also SftMask Object | Object Hierarchy