Thanks!
Brad.
I'm using a DefaultVisualStyle Property to set the style in order to control the Fill color of ScatterPointSeries via the DataItem.PointColor property (as seen below)
This works fine, but when I try to use a ChartDataSourceStyle to reduce the number of datapoints using Index-based sampling, something breaks and I no longer see ANY points displayed in the graph, due to this binding failure:
Path Tag.DataItem.PointColor Path.Fill Brush PointColor property not found on object of type DataPointSamplingInfo.
** How can I redirect the DataPointSamplingInfo points to use the PointColor of its DataItems (they'll all have the same value) **
<Style x:Key="ScatterPointStyle" TargetType="Path" >
<Setter Property="Fill" Value="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Tag.DataItem.PointColor}"/>
</Style>
<telerik:ChartSeriesProvider Source="{Binding ChartData}" >
<telerik:ChartSeriesProvider.SeriesDescriptors >
Hi
I've been using the Microsoft WebView2 control lately and find it quite horrible to work with...
I was wondering if you guys at Telerik would be able to make a wrapper for it that improve the functionality of the control ?
Problems that i encountered :
- Initialization is pretty messed up and require that you setup a Rube Goldberg machine to make it work.
- Overflow issues : the Webbrowser may overflow any / all other WPF controls unless you do a lot of scorcery ...
- Having the WebView inside a scrollbar is pretty messed up with overflow issues all over.
Hi,
Is there a way to change the icon for the rad expander from the circle with a '<' or '>' to an icon and shape that I define?
Thanks
Tony
I'm sure this is trivial, but I've been unable to find the answer. I have a RadGridView defined as follows:
<telerik:RadGridView
ItemsSource="{Binding Products}"
SelectedItem="{Binding SelectedProduct, Mode=TwoWay}">
...
</telerik:RadGridView>
However, when I change the "SelectedProduct" programmatically, the RadGridView doesn't show that highlighting. What am I doing wrong?
<
telerik:RadRibbonView
ApplicationButtonVisibility
=
"Collapsed"
TitleBarVisibility
=
"Collapsed"
HelpButtonVisibility
=
"Collapsed"
>
<
telerik:RadRibbonTab
Header
=
"Home"
HeaderVisibility
=
"Collapsed"
>
<
telerik:RadRibbonGroup
Header
=
"Actions"
>
<
telerik:RadRibbonButton
LargeImage
=
"{StaticResource Back}"
Text
=
"Close"
Size
=
"Large"
Command
=
"{Binding CloseViewCommand}"
/>
<
telerik:RadRibbonButton
LargeImage
=
"{StaticResource Edit}"
Text
=
"Edit"
Size
=
"Large"
Command
=
"{Binding EditItemCommand}"
/>
<
telerik:RadRibbonButton
LargeImage
=
"{StaticResource Save}"
Text
=
"Save"
Size
=
"Large"
Command
=
"{Binding SaveItemCommand}"
/>
<
telerik:RadRibbonButton
SmallImage
=
"{StaticResource Cancel}"
Text
=
"Cancel"
Size
=
"Large"
Command
=
"{Binding CancelItemCommand}"
/>
</
telerik:RadRibbonGroup
>
<
telerik:RadRibbonGroup
Header
=
"Print"
>
<
telerik:RadRibbonButton
SmallImage
=
"{StaticResource Print}"
Text
=
"xxx"
Size
=
"Large"
Command
=
"{Binding PrintItemCommand}"
/>
</
telerik:RadRibbonGroup
>
<
telerik:RadRibbonGroup
Header
=
"Extras"
>
<
telerik:RadRibbonButton
SmallImage
=
"{StaticResource UpdatePortrait}"
Text
=
"xxxxx"
Size
=
"Large"
Command
=
"{Binding UpdatePictureCommand}"
/>
</
telerik:RadRibbonGroup
>
</
telerik:RadRibbonTab
>
</
telerik:RadRibbonView
>
Hey,
I am using a DragDropManager to drag images from a itemscontrol onto a table.
Now I want to rotate the image, if the user presses the Key "R" during Dragging.
But I dont get it to work.
All Input Bindings on the Window and DataTemplate did not fire.
Does anyone have an idea to achieve what I want?
DragDropManager.AddDragInitializeHandler(icImages, OnDragInitialize);
private void OnDragInitialize(object sender, DragInitializeEventArgs e)
{
clsImage imageData = (clsImage)((FrameworkElement)e.OriginalSource).DataContext;
DragDropData dragData = new DragDropData
{
ImageData = imageData ,
Column = Column
};
e.Data = dragData;
e.DragVisual = new ContentControl { ContentTemplate = LayoutRoot.Resources["ImageTemplate"] as DataTemplate, Content = imageData };
e.AllowedEffects = DragDropEffects.All;
e.Handled = true;
}
<DataTemplate x:Key="ImageTemplate">
<Grid>
<telerik:RadSvgImage
UriSource="{Binding file}"
HorizontalAlignment="Left"
SizeType="ContentToSizeStretch"
OverrideColor="{Binding ImageColor}"
/>
</Grid>
</DataTemplate>