AndreiMisiukevich / ContextMenu

ContextView for Xamarin.Forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: Get current state of menu

aubiyko opened this issue · comments

There is no property to get current state (opened or closed) of context menu view or cell. Such events do exist, but I think having seperate properties is nice and more convenient to work with.

yeah, they are protected now

        protected ScrollDirection CurrentDirection { get; private set; }
        protected ScrollState CurrentState { get; private set; }

you can get access in case of inherit class

CurrentDirection and CurrentState are in "LEGACY CODE" region at BaseContextMenuView. Can I use them safely?

@aubiyko i think yes. But for sure i need to refactor all project, because code quality is super bad