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
Ayappan Alagesan
NA
324
66.4k
Get particular element in datatemplate.
Jun 26 2017 12:43 AM
<Window.Resource>
<DataTemplate x:Key="AlertTemplateShortView" >
<Border x:Name="BdrListBox1" BorderBrush="{DynamicResource WhiteColorBrush}" BorderThickness="0 0 0 .5" CornerRadius="0" VerticalAlignment="Top" Margin="0,0,0,-1" Visibility="{Binding IsVisibility}">
<Grid DataContext="{Binding}" Margin="1" Name="Alertgrid">
</Grid>
</Border>
</DataTemplate>
</Window.Resource>
I want to get the border element in codebehind.
Reply
Answers (
2
)
Programmatically Animating a StackPanel using C# in WPF
Autocomplete text box in the Datagrid in WPF how to do this