System.Windows.Forms.ToolBarButton.GetPushedState C# (CSharp) Method

GetPushedState() private method

private GetPushedState ( ) : bool
return bool
        private bool GetPushedState()
        {
            if ((int)parent.SendMessage(NativeMethods.TB_ISBUTTONCHECKED, FindButtonIndex(), 0) != 0) {
                pushed = true;
            }
            else {
                pushed = false;
            }

            return pushed;
        }