or
<
Window
x:Class
=
"RadGridViewTesting.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadGridView
x:Name
=
"radGridView"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding Path=EmployeeList}"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Path=FirstName}"
Header
=
"First Name"
UniqueName
=
"FirstName"
IsReadOnly
=
"{Binding Path=ReadOnly}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
Window
>
namespace
RadGridViewTesting
{
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
DataContext =
new
ViewModel();
}
}
}
namespace
RadGridViewTesting
{
public
class
Employee
{
public
string
FirstName {
get
;
set
; }
public
bool
ReadOnly {
get
;
set
; }
}
class
ViewModel
{
List<Employee> _myList;
public
ViewModel()
{
_myList =
new
List<Employee>();
_myList.Add(
new
Employee() { FirstName =
"John"
, ReadOnly =
true
});
_myList.Add(
new
Employee() { FirstName =
"Jane"
, ReadOnly =
false
});
_myList.Add(
new
Employee() { FirstName =
"Jack"
, ReadOnly =
true
});
}
public
List<Employee> EmployeeList {
get
{
return
_myList; } }
}
}
<
telerik:GridViewDataColumn
Width
=
"300*"
Header
=
"Paragraph"
IsGroupable
=
"False"
IsFilterable
=
"True"
Name
=
"Paragraph"
TextWrapping
=
"Wrap"
DataMemberBinding
=
"{Binding Paragraph}"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
Grid
>
<
telerik:RadRichTextBox
x:Name
=
"radRichPar"
FontSize
=
"10"
/>
<
telerik:TxtDataProvider
RichTextBox
=
"{Binding ElementName=radRichPar}"
Text
=
"{Binding Path=Paragraph, Mode=TwoWay}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
from C# I want to access radRichPar to highlight some text programmatically..........it does not appear in intellisense......thanks
 
<telerik:RadTabControl x:Name="radTabControl" Grid.Row="1" TabStripPlacement="Bottom" >
<telerik:RadTabItem x:Name="Column" Header="Column">
</telerik:RadTabItem>
<telerik:RadTabItem x:Name="WallFoot" Header="WallFoot">
</telerik:RadTabItem>
<telerik:RadTabItem x:Name="Stair" Header="Stair">
<GroupBox Header="GroupBoxtest" Margin="10"/>
</telerik:RadTabItem>
</telerik:RadTabControl>