StrataCollapsable Container Link Manager


Author
Message
Ruchika Garg
Ruchika Garg
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: StrataFrame Users
Posts: 17, Visits: 70
Where can i get more information on how to use StrataCollapsable Container Link Manager?
Replies
Ruchika Garg
Ruchika Garg
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: StrataFrame Users
Posts: 17, Visits: 70
it didn't work.. :-(
Leonard P.
Leonard P.
StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)StrataFrame Novice (93 reputation)
Group: Awaiting Activation
Posts: 65, Visits: 306
Hi,

It could be achieved by tweaking Containers Dock property each time one container expends.

You need to set Dock property of a container being expended to Fill, and other containers to Top or Bottom depending on their position relative to the expending control.



For example, If you have 3 Collapsible Containers (at the Top, Middle, and Bottom) your code would look something like this:



private void Form1_Load(object sender, EventArgs e)

{



strataCollapsableContainerTop.IsBodyShown = true;









strataCollapsableContainerBottom.IsBodyShown = false;

strataCollapsableContainerMiddle.IsBodyShown = false;



strataCollapsableContainerLinkManager1.AddContainer(strataCollapsableContainerBottom);

strataCollapsableContainerLinkManager1.AddContainer(strataCollapsableContainerTop);

strataCollapsableContainerLinkManager1.AddContainer(strataCollapsableContainerMiddle);





}







private void strataCollapsableContainerMiddle_Opened(object sender, EventArgs e)

{

strataCollapsableContainerMiddle.Dock = DockStyle.Fill;



strataCollapsableContainerBottom.Dock = DockStyle.Bottom;

strataCollapsableContainerTop.Dock = DockStyle.Top;



}



private void strataCollapsableContainerTop_Opened(object sender, EventArgs e)

{

strataCollapsableContainerTop.Dock = DockStyle.Fill;



strataCollapsableContainerBottom.Dock = DockStyle.Bottom;

strataCollapsableContainerMiddle.Dock = DockStyle.Bottom;





}



private void strataCollapsableContainerBottom_Opened(object sender, EventArgs e)

{

strataCollapsableContainerBottom.Dock = DockStyle.Fill;



strataCollapsableContainerMiddle.Dock = DockStyle.Top;

strataCollapsableContainerTop.Dock = DockStyle.Top;

}

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search