/// <summary>
        /// The size in pixels.
        /// </summary>
        /// <returns></returns>
        public Vector2 GetMenuItemAbsoluteSize()
        {
            var displayText = _getDisplayText();

            return(new Vector2(
                       NativeUtility.GetTextScale(displayText, _fontSizeInPixels).X *_fontSizeInPixels,
                       _fontSizeInPixels
                       ));
        }