This is probably a generic WPF question but I want to refer to a checkbox control in code (vb) . The control is on the the maximized template of the XamTilesControl.
<!--Start of the maximized template--><igTiles:XamTilesControl.ItemTemplateMaximized><DataTemplate> <StackPanel Orientation="Horizontal">
...
<CheckBox Name="cbGetUsingService" Grid.Row="0" Grid.Column="0" IsChecked="{Binding SolutionIsGet, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
In Code:
Public Sub GoButton()
Dim bGet as Boolean = somemagicfunction("cbGetUsingService").IsChecked
End Sub
As a workaround I added the property to the datasource and bound it. Now in code I can just refer to the datasource. But, how would you do it with an unbound control?
Thanks.
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support