How can I turn my total row into something I can handle a click event on?
Any suggestions?
Some code is shown below as reference, but not all, for clarity
<tkGrid:GridViewDataColumn
UniqueName="Scheduled"
HeaderCellStyle="{StaticResource GridViewHeaderCellStyle}"
FooterCellStyle="{StaticResource GridViewFooter_CellStyle}"
DataMemberBinding="{Binding Scheduled}">
<tkGrid:GridViewDataColumn.Header>
<TextBlock Text="Scheduled Assignments" TextWrapping="Wrap" />
</tkGrid:GridViewDataColumn.Header>
<tkGrid:GridViewDataColumn.CellTemplate>
<DataTemplate>
<HyperlinkButton
x:Name="Scheduled"
ToolTipService.ToolTip="{Binding Scheduled}"
Content="{Binding Scheduled}"
Tag="{Binding EmployeeID}"
Click="HyperlinkButton_Click"
Style="{StaticResource UnderlinedHyperlinkButton}"
ClickMode="Press"
</HyperlinkButton >
</DataTemplate>
</tkGrid:GridViewDataColumn.CellTemplate>
<tkGrid:GridViewColumn.AggregateFunctions>
<tkData:CountFunction ResultFormatString="{}{0} " />
</tkGrid:GridViewColumn.AggregateFunctions>
</tkGrid:GridViewDataColumn>
Private Sub HyperlinkButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs)
miEmployeeID = sender.tag
Select Case DirectCast(sender, System.Windows.Controls.HyperlinkButton).Name
Case "Scheduled"
Dim odlgScheduled As New dlg_Scheduled(miEmployeeID)
odlgScheduled.ShowDialog()
End Select
End Sub