Home All Groups Group Topic Archive Search About

UIP App block: Layout manager question

Author
17 Nov 2004 6:54 PM
James Geurts
Can someone go over the idea behind the ilayoutmanager.  What is the point of
implementing that interface?  Also, if possible, is there an example of how
it is used?

Author
18 Nov 2004 7:35 AM
Kevin Yu [MSFT]
Hi Jim,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know the purpose of
ILayoutManager in UIP Application Block. If there is any misunderstanding,
please feel free to let me know.

The ILayoutManager interface gives you the ability to add custom layout
logic to views in your applications. You can define generic layouts such as
horizontal or vertical layouts in which your controls appear from left to
right or top to bottom respectively. You can also customize a layout for
each of your views by specifying the position of each control. You create a
class that implements the ILayoutManager interface and defines the
LayoutControls method.

For more information, please check the following link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/
uipab-ch02.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Author
26 Jan 2005 3:55 PM
Mike
This is pretty much what the library documentation suggests as well. I
think what James was referring to are actual examples of how to go
about implementing and/or using it? As well, I conur with James'
interest. I can probably figure it out, but having some examples would
help. I am assuming James has already reviewed the stock examples; I
haven't looked at these yet myself, so apologies in advance if I am
leaping before I look.

Best regards,
Michael

AddThis Social Bookmark Button