I have a 2 buttons Previous/Next changing their states if there are more rows to read or not.

So they are enabled/or disabled with conditions.

Is it possible to read their state?

On WFA

Here below how I check I look for a better way

```
        if (nextbutton.Enabled)
            NextBtnState = true;
        else
            NextBtnState = false;
        if (prevbutton.Enabled)
            PrevBtnState = true;
        else
            PrevBtnState = false;

```