Copyright © 2003-2024 MultiMedia Soft

FocusMode property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property FocusMode As Ctl3d.FocusModes

 

[C#]

public Ctl3d.FocusModes FocusMode {get; set;}

 

[C++]

public: __property Ctl3d.FocusModes get_FocusMode();

public: __property void set_FocusMode(Ctl3d.FocusModes);

 

 

Remarks

Determines how the control render its surface when it receives the input focus.

Supported values are the following:

Enumerated value

Value

Meaning

FocusModes.None

0 (default)

The control does not changes its look when it receives the input focus.

FocusModes.Border

1

The control draws a black dashed border around the caption text.

FocusModes.DefinedColor

2

The control renders its surface using the color defined at runtime through the ColorSurfaceFocus property or at design time using the Colors tab of the 3D Button Visual Editor application.

 

This property can be changed at Design time using the Others tab of the 3D Button Visual Editor application.