TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arul Vaithilingam
NA
3
0
Row Space Hide(Block)
May 27 2009 7:18 AM
How to hide(block) the row(s) space through code behind class.
e.g
My application has three rows , each rows contains the panels.
i want to display First & Third row , second row space should be hidden (same like a display: block in WebApp).
My Code:
<Grid.ColumnDefinitions>
<ColumnDefinition Width="48.75*" />
<ColumnDefinition Width="241.25*" />
<ColumnDefinition Width="160*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="25*" />
<RowDefinition Height="25*" />
<RowDefinition Height="25*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Canvas Grid.Column="1" Grid.Row="5" Grid.RowSpan="4" Margin="0.833,0,1.666,24.99" Name="panel1" Grid.ColumnSpan="4" Background="AliceBlue" Visibility="Hidden"></Canvas>
<Canvas Background="AliceBlue" Grid.ColumnSpan="4" Grid.RowSpan="3" Margin="0.833,1.666,1.666,0" Name="panel2" Grid.Row="8" Grid.Column="1" Visibility="Hidden"></Canvas>
<Canvas Background="AliceBlue" Grid.ColumnSpan="4" Grid.RowSpan="3" Margin="0.833,1.666,1.666,0" Name="panel3" Grid.Row="8" Grid.Column="1" Visibility="Hidden"></Canvas>
Thanks 'n Advance :)
Reply
Answers (
0
)
intercepting win32 messages and using managed code
How to implement the Hotkeys in WPF