or
<
telerik:RadGridView
Name
=
"dGrid"
AutoGenerateColumns
=
"False"
Height
=
"188"
VerticalAlignment
=
"Top"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewComboBoxColumn
ItemsSourceBinding
=
"{Binding Path=Names, Mode=TwoWay}"
DataMemberBinding
=
"{Binding Path=Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
UniqueName
=
"ClmNames"
>
</
telerik:GridViewComboBoxColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Path=Name, Mode=TwoWay}"
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
public
MainWindow()
{
InitializeComponent();
_employees =
new
List<Employee>(){
new
Employee {Names =
new
List<
string
>{
"Ann"
,
"Nata"
}, Name =
"Ann"
},
new
Employee {Names =
new
List<
string
>{
"Elise"
,
"Ivan"
,
"Марк"
}, Name =
"Ivan"
},
new
Employee {Names =
new
List<
string
>{
"Elise"
,
"Ivan"
,
"Марк"
}},
};
dGrid.ItemsSource = _employees;
}
<
telerik:GridViewDataColumn.CellTemplate
><
br
>
<
DataTemplate
><
br
>
<
ComboBox
ItemsSource
=
"{Binding Path=ImprovementList}"
DisplayMemberPath
=
"refimprovement.name_full"
<br>
SelectedItem="{Binding Path=RecalcManualItem.cfaccimprovementlist, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"<
br
>
SelectionChanged="ComboBox_SelectionChanged" /><
br
>
</
DataTemplate
><
br
>
</
telerik:GridViewDataColumn.CellTemplate
>
public
void
ItemsRequest(
object
sender, ItemsRequestEventArgs e)
{
var dataContext = page.DataContext
as
MappingViewModel;
if
(dataContext ==
null
)
return
;
//var minZoom = e.MinZoom;
var upperLeft = e.UpperLeft;
var lowerRight = e.LowerRight;
var branches = _repository.GetBranches(upperLeft.Latitude, upperLeft.Longitude, lowerRight.Latitude, lowerRight.Longitude);
dataContext.SetBranches(branches, e);
}
i download the free trial RadControlsForWpfSetup_2012_2_611,and i study to us the gauge controls following this page : http://www.telerik.com/help/wpf/radgauge-overview.html
but when i run this corde
<
Window
x:Class
=
"WpfApp.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadialScale
>
<
telerik:IndicatorList
>
<
telerik:StateIndicator
Name
=
"stateIndicator"
Left
=
"0.45"
Top
=
"0.25"
RelativeWidth
=
"0.2"
RelativeHeight
=
"0.2"
>
</
telerik:StateIndicator
>
</
telerik:IndicatorList
>
</
telerik:RadialScale
>
</
Grid
>
</
Window
>
there are some erro message:
1、can't find the type"telerik:IndicatorList"
2、there is no Left 、Top、 RelativeWidth and RelativeHeight proprietary in StateIndicator
i also reference the these .dll: Telerik.Windows.Controls.DataVisualization.dll Telerik.Windows.Controls.dll Telerik.Windows.Data.dll
I do not konw the reason .
who can help me
Thanks !
StyleManager.ApplicationTheme = (Theme)themeUserSelected;
InitializeComponent();
<
Window.Resources
>
<
Path
x:Key
=
"MyVectorImage"
x:Shared
=
"False"
Stroke
=
"DarkGoldenRod"
StrokeThickness
=
"3"
Data
=
"M 10,20 C 10,25 40,35 40,17 H 28"
Stretch
=
"Fill"
Width
=
"100"
Height
=
"40"
/>
</
Window.Resources
>