[forms-devel] Add Ratio property to MasterDetailPage

Michael Rumpler michael at mrumpler.at
Tue Aug 16 08:14:21 UTC 2016


I also came across this problem. In my app I use a MasterDetailPage with MasterBehavior=Split. This way Master and Detail are always shown side by side.

If the Masters width is already enough in portrait, then I wouldn’t want it to become even wider in landscape. So a ratio would not suffice in this case.

I would also like the user to be able to change the width on their own (drag the separator). When the master width falls below a certain changeable threshold then it should be closed like in the other MasterBehavior settings. The MGSplitViewController provides this on iOS (https://github.com/mattgemmell/MGSplitViewController).

 

Regards,

Michael

 

From: Jason Smith [mailto:jas at microsoft.com] 
Sent: Tuesday, August 16, 2016 9:18 AM
To: Sung-su Kim <holywater86 at gmail.com>; forms-devel at lists.dot.net
Subject: Re: [forms-devel] Add Ratio property to MasterDetailPage

 

A ratio like control is needed. However upon further thought a simple ratio may not provide the desired effect. It is easy to imagine scenaries where fixed widths are desired as well, or stepped sizing. I wonder if interrogating the Page itself in a Measure call is the best approach here.

 

From: forms-devel [mailto:forms-devel-bounces at lists.dot.net] On Behalf Of Sung-su Kim
Sent: Tuesday, August 16, 2016 12:01 AM
To: forms-devel at lists.dot.net <mailto:forms-devel at lists.dot.net> 
Subject: [forms-devel] Add Ratio property to MasterDetailPage

 

Hello,

 

I would like to talk about adding a "Ratio" property to the MasterDetailPage.

 

On platforms that support MasterDetailPage can be handled the master page size.

So I think that Xamarin can provide this function as a common property.

Also using this property could make a MasterDetailPage more easily.

 

"Ratio" property have a value from 0 to 1.

It means percentage of screen covered.

 

What do you think about this ?

 




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7752 / Virus Database: 4647/12817 - Release Date: 08/16/16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/forms-devel/attachments/20160816/0613002c/attachment.html>


More information about the forms-devel mailing list