c# - How to achieve centred box in xaml responsive grid -


i place box in centre of screen in xaml grid layout. however, able use grid place objects inside box also. see below. how this? if red box span 5 rows, of different height, row above , below must same height. there similar arrangement columns. must responsive, such code works on wide range of device sizes. using xamarin. eg

i don't know if xamarin introduces different behavior, vanilla xaml, should able set verticalalignment , horizontalalignment center , box should centered (you need provide explizit size or put box).

if want layout content in box, should define separate gridlayout inside box (maybe taking @ sharedsizegroup if need share sizes between 2 grids).


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -