Hi
I have added a text box in a RadPanelBarItem.Header and did a databinding with the viewmodel for its text property.However it is not showing text box in panel bar on binding.Can anyone help me in below ?
I have added a text box in a RadPanelBarItem.Header and did a databinding with the viewmodel for its text property.However it is not showing text box in panel bar on binding.Can anyone help me in below ?
<
telerik1:RadPanelBarItem.Header>
<StackPanel Orientation="Horizontal" >
<TextBlock Margin="0 0 0 0" Text="Results:" />
<TextBox x:Name="txtResultCount" Text="{Binding ResultCount}" Visibility="{Binding IsResultCountVisible, Converter={StaticResource BoolToVisibility}}" VerticalAlignment="Top" Height="16" Width="60"></TextBox>
</
StackPanel>
</telerik1:RadPanelBarItem.Header>
ViewModel has below two properties
public Boolean IsResultCountVisible
{
get { return _IsResultCountVisible; }
set { _IsResultCountVisible = value; }
}
public Int32? ResultCount
{
get { return _ResultCount; }
set { _ResultCount = value; }
}