Jun 21, 2017, 2:13 AM
-
-
Jun 21, 2017, 2:46 PMHello @syphuonglam! Welcome to Ext.NET forums!
A layout is something you give to containers, not inner components.
That is, you give an outer panel a a layout (VBox, HBox, Fit, Border, etc) to define how the components inside it will be laid out. As of how the panel itself will be placed, it will depend on whatever is surrounding it.
Usually a ViewPort is the main, outer component, of a page (it basically is a container that fits the browser window's width/height).
There may be some situations where an inner container determines how will it be laid out inside its outer. This case is true, for example, when the outer container is in the Border layout, then the inner components can determine their placement "region" with the Region() argument.
Here's an MVC sample using the border layout: Border Layout Regions Toggle. More border layout examples would be the WebForms BorderLayout Example and the ones beside it.
I hope this helps! Take a look on the other layout examples on both MVC Examples Explorer and WebForms Examples Explorer for more! -
Jun 22, 2017, 1:35 AM
CLOSED
Thanks @fabricio.murta for the support.Last edited by syphuonglam; Jun 22, 2017 at 1:38 AM.
Similar Threads
-
[CLOSED] Border Layout Question razor ext 3.2
By idrissb in forum 3.x Legacy Premium HelpReplies: 2Last Post: Jul 29, 2015, 9:48 AM -
[CLOSED] Image and layout
By jchau in forum 2.x Legacy Premium HelpReplies: 1Last Post: Jul 08, 2015, 5:26 AM -
[FIXED] [#784] [3.2.0] Absolute layout is not working on image button in ext.net 2.5
By btbtbtbbt in forum BugsReplies: 1Last Post: Apr 14, 2015, 9:18 AM -
[CLOSED] Row Layout in Razor
By joxa83 in forum 2.x Legacy Premium HelpReplies: 1Last Post: Oct 29, 2012, 10:46 AM -
vbox layout is not working on image button
By robertgan in forum 1.x HelpReplies: 1Last Post: Feb 27, 2012, 9:17 AM