Function OptionButton.getItemCount

Returns the amount of items in the OptionButton, including separators.

long getItemCount() nothrow @nogc const;