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
Roberto Salemi
NA
146
141.2k
Set height datagrid as height of his stackpanel, for show ve
Feb 19 2015 12:10 PM
Hi,
I have this GRID:
<Grid Margin="0,0,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="90" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
In 2° row I have:
<StackPanel Margin="0,0,0,50" Grid.Row="1" Visibility="Hidden" Name="stackPanelSearchResult">
<GroupBox>
<GroupBox.Header>
<Label Style="{StaticResource LabelFieldset}" Content="{StaticResource menuLabelGroupBoxGrid}" />
</GroupBox.Header>
<DataGrid Name="dgPlan"......
......
</DataGrid>
</GroupBox>
</StackPanel>
</Grid>
How can I set the height of datagrid as hegith of stackpanel for show verticarl scrollbar?
Thanks.
Reply
Answers (
1
)
Bind enum to combobox
Creating 3D models in WPF