ArcadeStick.GetButtonColor Method

Retrieves the color of the button at the specified index.

Syntax

public:
uint32 GetButtonColor(
         unsigned char buttonIndex
)  

Parameters

buttonIndex
Type: unsigned char 

  Zero-based index of the button to get the color of.

Return value

Type: uint32 

  Color of the button at the specified index, in the format 0xRRGGBB.

Requirements

Namespace: Microsoft.Xbox.Input

Metadata: microsoft.xbox.input.arcadestick.winmd

See also

Reference

ArcadeStick Class

ArcadeStick Members

Microsoft.Xbox.Input Namespace