I have a series of points that I am drawing on a RadCartesianChart. These points form a shape that is significant in our application, and somewhat approximates an ellipse. I need to draw a border (simply following the set of points) around it using simple lines, and then fill the area with shading or, preferably, a crosshatch patter. Is this possible? If so, can someone point me to some documentation and/or guide me through the process of making it happen?
Thanks!
Brad.
Hi, I'm testing my application with v4.0.30319 dlls on Windows 7.
With my application's language set to en-US, the initial main window is created well with English strings.
However, dynamically created controls are all created with Korean strings, which I assume follow my machine's culture setting. I checked the CurrentUICulture value while debugging, and after the first initialization, CurrentUICulture is somehow reset to ko-KR.
This does not happen with the previous Telerik dlls (2015 Q2) on Windows 7, or with v4.0.30319 dlls on Windows 10.
So I'm guessing v4.0.30319 dlls somehow reset the culture setting after the first initialization, only on Windows 7.
How can I fix this?
I've placed a RadGridView in the items control template of my combobox. It's working fine with the exception of the filtering, which is a bit "clunky". The gridview displays when clicking on the dropdown button, but when I enter some text, the grid closes and only re-opens (with the new filtered dataset) after clicking twice on the dropdown.
Any ideas?
XAML:
<tk:RadComboBox Width="200" Text="{Binding ComboText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" OpenDropDownOnFocus="True" StaysOpenOnEdit="True" IsFilteringEnabled="True" IsEditable="True" >
<tk:RadComboBox.Items>
<tk:RadComboBoxItem>
<tk:RadComboBoxItem.Template>
<ControlTemplate>
<tk:RadGridView ItemsSource="{Binding MatterList}" SelectedItem="{Binding SelectedMatter}" IsReadOnly="True" AutoGenerateColumns="False" Width="400" Height="150" ShowGroupPanel="False" ScrollViewer.VerticalScrollBarVisibility="Auto">
<tk:RadGridView.Columns>
<tk:GridViewDataColumn Header="Matter Id" DataMemberBinding="{Binding MatterId}" Width="150*" SortingState="Ascending" />
<tk:GridViewDataColumn Header="Description" DataMemberBinding="{Binding MatterDescription}" Width="200*"/>
</tk:RadGridView.Columns>
</tk:RadGridView>
</ControlTemplate>
</tk:RadComboBoxItem.Template>
</tk:RadComboBoxItem>
</tk:RadComboBox.Items>
</tk:RadComboBox>
In the Viewmodel, the "MatterList" dataset is an observable collection which invokes "RaisePropertyChanged" event when updated.
I have a telerik:RadDataForm with an EditTemplate.
In that template I have a number of telerik:DataFormDataField's defined.
What I would like is to have the keyboard focus automatically set to one of these fields (not the first), when I do a BeginEdit().
How?
Hi,
how to invert the Arrow direction >> to <<
the property flowDirection isn't good for me because it's change all the inner controls directions
Thanks
Hello~
I have attached picture.
That picture explains my problem.
I want to restored no 1.
Please help me~
<
UserControl
x:Class
=
"DeviceReading.Views.DeviceReadingView"
xmlns:prism
=
"http://prismlibrary.com/"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
prism:ViewModelLocator.AutoWireViewModel
=
"True"
>
. . . . . . . . . . . . . . . . . . .
<
StackPanel
Grid.Row
=
"0"
Grid.Column
=
"0"
HorizontalAlignment
=
"Stretch"
Margin
=
"0 5 0 3"
Orientation
=
"Horizontal"
>
<
CheckBox
Content
=
"Gas Velocity"
Command
=
"{Binding Path=ShowHideGasVelocityChartViewCommand}"
CommandParameter
=
"{Binding Path=IsChecked, RelativeSource={RelativeSource Self}}"
/>
</
StackPanel
>
<
telerik:RadDocking
Grid.Row
=
"1"
Grid.Column
=
"0"
x:Name
=
"Docking"
>
. . . . . . . . . . . . . . . . . . .
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Header
=
"Gas Velocity"
IsHidden
=
"{Binding IsGasVelocityChartHidden, Mode=TwoWay}"
prism:RegionManager.RegionName
=
"GasVelocityChartRegion"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
. . . . . . . . . . . . . . . . . . .
</
telerik:RadDocking
>
. . . . . . . . . . . . . . . . . . .
</
UserControl
>
Where UserControl is Prism UserControl. Below is ViewModel code.
public
class
DeviceReadingViewModel : BindableBase, IConfirmNavigationRequest
{
. . . . . . . . . .
public
DeviceReadingViewModel(IEventAggregator eventAggregator)
{
this
._eventAggregator = eventAggregator;
this
.ShowHideGasVelocityChartViewCommand =
new
DelegateCommand<
object
>(
this
.showHideGasVelocityChartView);
}
// Field and property controlling of the RadPain status (Visible / Hidden)
private
bool
_isGasVelocityChartHidden;
public
bool
IsGasVelocityChartHidden
{
get
{
return
this
._isGasVelocityChartHidden; }
set
{
this
.SetProperty(
ref
this
._isGasVelocityChartHidden, value); }
}
// The command of hidding / visualizing of the RadPain.
public
DelegateCommand<
object
> ShowHideGasVelocityChartViewCommand {
get
;
private
set
; }
private
void
showHideGasVelocityChartView(
object
parameter)
{
if
((
bool
)parameter ==
true
)
this
.IsGasVelocityChartHidden =
false
;
else
this
.IsGasVelocityChartHidden =
true
;
}
}