Focus custom setting. More...
Properties | |
Widget | LeftCandidate [get, set] |
Obtains and sets the destination widget of the focus when the left key is pressed for the target widget. | |
Widget | RightCandidate [get, set] |
Obtains and sets the destination widget of the focus when the right key is pressed for the target widget. | |
Widget | UpCandidate [get, set] |
Obtains and sets the destination widget of the focus when the up key is pressed for the target widget. | |
Widget | DownCandidate [get, set] |
Obtains and sets the destination widget of the focus when the down key is pressed for the target widget. | |
Rectangle | SearchHintRectangle [get, set] |
Obtains and sets a rectangle when searching for the focus. | |
bool | HideFocusImage [get, set] |
Obtains and sets whether to hide the focus image. | |
Rectangle | FocusImageRectangle [get, set] |
Obtains and sets a rectangle (position and size) when displaying the focus. | |
ImageAsset | FocusImage [get, set] |
Obtains and sets the custom image that has focus. | |
NinePatchMargin | FocusImageNinePatchMargin [get, set] |
Obtains and sets the 9-patch margin of the custom image that has focus. | |
int | FocusImagePadding [get, set] |
Obtains and sets the size to enlarge the outer side of the custom image that has focus. |
Focus custom setting.
If each member is the default value (null or zero), processing is performed following the standard setting.
Widget DownCandidate [get, set] |
Obtains and sets the destination widget of the focus when the down key is pressed for the target widget.
A standard focus search is performed when the value is null or for widgets that do not exist in the same scene. The focus is set for the specified widget regardless of the Focusable, Visible, and Enabled properties and whether it is within the display range.
ImageAsset FocusImage [get, set] |
Obtains and sets the custom image that has focus.
When there is null, the default focus image is used.
NinePatchMargin FocusImageNinePatchMargin [get, set] |
Obtains and sets the 9-patch margin of the custom image that has focus.
This value is ignored when FocusImage is null.
int FocusImagePadding [get, set] |
Obtains and sets the size to enlarge the outer side of the custom image that has focus.
This value is ignored when FocusImage is null.
Rectangle FocusImageRectangle [get, set] |
Obtains and sets a rectangle (position and size) when displaying the focus.
If the size is equal to or less than 0, the size of the target widget itself is used. Specifies the position and size using the local coordinates of the target widget itself.
bool HideFocusImage [get, set] |
Obtains and sets whether to hide the focus image.
If true, the standard or custom focus image is not displayed.
Widget LeftCandidate [get, set] |
Obtains and sets the destination widget of the focus when the left key is pressed for the target widget.
A standard focus search is performed when the value is null or for widgets that do not exist in the same scene. The focus is set for the specified widget regardless of the Focusable, Visible, and Enabled properties and whether it is within the display range.
Widget RightCandidate [get, set] |
Obtains and sets the destination widget of the focus when the right key is pressed for the target widget.
A standard focus search is performed when the value is null or for widgets that do not exist in the same scene. The focus is set for the specified widget regardless of the Focusable, Visible, and Enabled properties and whether it is within the display range.
Rectangle SearchHintRectangle [get, set] |
Obtains and sets a rectangle when searching for the focus.
If the size is equal to or less than 0, the size of the target widget itself is used. Specifies the position and size using the local coordinates of the target widget itself.
Widget UpCandidate [get, set] |
Obtains and sets the destination widget of the focus when the up key is pressed for the target widget.
A standard focus search is performed when the value is null or for widgets that do not exist in the same scene. The focus is set for the specified widget regardless of the Focusable, Visible, and Enabled properties and whether it is within the display range.