Subscribe to Subscribers

Forums » .NET » Silverlight »

How to set Orientations in user Control


Posted Date: 15 Nov 2011      Posted By:: Panamayan Purushothaman     Member Level: Gold    Member Rank: 430     Points: 3   Responses: 1



Hi Experts,


Now i am creation one user control.It contain 3 labels and 3 dropdownlist.its in horizontal view.in designing am create 2 rows and 3 columns.

but some page i need to use as vertical view.so i need to set view direction in dynamically.any one can able to tell me.

Here i attach sample screen

Any kind of help will be appreciated,

Thanks,
MEEKREDD
Dotnet-Information By Purushothaman



Attachments






Responses

#641978    Author: Tejas Trivedi      Member Level: Gold      Member Rank: 133     Date: 15/Nov/2011   Rating: 2 out of 52 out of 5     Points: 3

Hi,

Here just, I am sharing a view.I think, the easiest way to achieve this is put StackPanel inside your user control to support such orientation which is available in built. Now, add a dependency property let's say Orientation to your user control which is internally toggle the property of stack panel used.

Hope this will help you out.Feel free to discuss if you have any query.

Thanks & Regards
Tejas
[Don't just write Softwares,Write an innovative solutions.]


 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Databaseconnctivity in C#
Previous : Sliverlight child page right click disabled
Return to Discussion Forum
Post New Message
Category:

Related Messages

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Talk to Webmaster Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2013 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.