sourcechord / GridExtra

Custom panel controls for WPF/UWP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

change visibility in different layout width

SalehBagheri opened this issue · comments

Hi,
I need to change my wpf application layout to responsive mode! like "Telegram Desktop"!

Can I change visibility of some panels or controls in small width?

Hi, @SalehGladius!
ResponsiveGrid class doesn't has way of control visibility.
I'll try to implement responsive feature for ResponsiveGrid's children visibility, next release.(maybe until later March)

Please, wait for a while.

If using MVVM could you not bind the visibility of the control a property. Bind the window size to a property. Write a function that changes the visibility of the control based on the value of the window size property. Call the function when the window size changes.