This question is locked. New answers and comments are not allowed.
I am now using a custom column class as below,
I need a way of calling the checkbox.Click or .Checked event for this custom column.
How can I do this?
Imports System Imports System.Net Imports System.Windows Imports System.Windows.Controls Imports System.Windows.Documents Imports System.Windows.Ink Imports System.Windows.Input Imports System.Windows.Media Imports System.Windows.Media.Animation Imports System.Windows.Shapes Imports Telerik.Windows.Controls Imports Telerik.Windows.Controls.GridView Imports System.Windows.Controls.Primitives Public Class CustomColumn Inherits GridViewDataColumn Public Overrides Function CreateCellElement(ByVal cell As GridViewCell, ByVal dataItem As Object) As FrameworkElement Dim cb = TryCast(cell.Content, CheckBox) If cb Is Nothing Then cb = New CheckBox() cb.Height = 20 cb.SetBinding(CheckBox.IsCheckedProperty, Me.DataMemberBinding) cell.Content = cb cb.IsThreeState = True cell.SetBinding(GridViewCell.ValueProperty, Me.DataMemberBinding) End If If cell.Value = "True" Then cell.Background = New SolidColorBrush(Colors.Green) End If Return cb End FunctionEnd ClassI need a way of calling the checkbox.Click or .Checked event for this custom column.
How can I do this?