Hi,
I want to make a custom theme like the green theme with a dark and a light color variation but with different colors. For example RedTheme or BlueTheme.
What is the best way to achieve this?
Thanks
I am using DataFilter and its source is Bind to the Grid, I don't want to use the unbound mode because then I will have to populate everything. I am using rest service to get all the data and I want to do the filtering also on the server side.
- User open the window
- I make a rest request to get the data and populate the grid
- User add a filter
- I am listening for the collection changed and item changed event
- I loop through all the filters and send a request to get the filtered data
The problem is that DataFilter also filters the grid on the client side, so If my rest request takes time the grid items source is updated twice, one from the data filter and another one when rest returns the data
Is there any preview event or any other way to tell datafilter ot not filter the grid
Looking for a way to dynamically populate multiple doughnut series so that I can make my "ring" chart that I made with the winforms version.
I've looked at the "Dynamic Number of Series (ChartSeriesProvider)" article. There doesn't seem to be a "PieSeriesDescriptor", and using the "ChartSeriesDescriptor" that is for "all series", it complains about "<telerik:ChartSeriesDescriptor " with the errors:
The type "ChartSeriesDescriptor" is abstract and must include an explicit value
Type 'ChartSeriesDescriptor' is not usable as an object element because it is not public or does not define a public parameterless constructor or a type converter.
Hello, lets say that we are using the radGridView and we have some columns like above:
First Name, Last Name, Sex, Age, Type1, Type2
The column "Type1" has a custom editor that implements the classes:
CreateCellElement and CreateCellEditElement using a combobox for selection of value.
Also i must clarify that column "Type2" depents on column's "Type1" value
So how can we clear in the current row the column's "Type2" value when the value of column "Type1" is changed through the CreateCellEditElement?
Thanks
Once I build a RadDiagram I have basically one List of Items and one List of Links.
Now, would it be possible to Bind a TreeView with these two objects only?
See the screenshot attached for example. The Diagram consists of four objects linked together.
Now, Is it possible to have a TreeView representation of the Diagram like in the screenshot attached?
From the documentation seems to be that this cannot be done, unless I create dynamically a brand new List (i.e. TreeSource) for the tree from the Items and Links objects.
Where TreeSource would basically be a:
public
ObservableCollection<TreeViewNode> TreeSource;
public
class
TreeViewNode {
public
string
DisplayName {
get
;
set
; }
public
ObservableCollection<TreeViewNode> Nodes {
get
;
set
; }
}
And the XAML
<HierarchicalDataTemplate x:Key="TreeViewTemplate" ItemsSource="{Binding Nodes}" >
<TextBlock Text="{Binding DisplayName}"/>
</HierarchicalDataTemplate>
<
telerik:RadTreeView
x:Name
=
"tree"
ItemsSource="{Binding TreeSource}"> ItemTemplate="{StaticResource TreeViewTemplate}"
I am working on a Prism WPF project and I have a RadExpander in the shell of my project.
<
Grid
>
<
Grid
>
<
ContentControl
prism:RegionManager.RegionName
=
"ContentRegion"
/>
<
tel:RadExpander
x:Name
=
"MenuFlyOut"
IsExpanded
=
"True"
tel:AnimationManager.IsAnimationEnabled
=
"True"
ExpandDirection
=
"Right"
Width
=
"210"
Background
=
"CornflowerBlue"
Margin
=
"0,0,159,0"
>
<
tel:RadExpander.Header
>
<
TextBlock
x:Name
=
"ExpanderCaption"
Text
=
"Menu"
Foreground
=
"White"
/>
</
tel:RadExpander.Header
>
<
tel:RadExpander.Content
>
<
StackPanel
Margin
=
"10,20,0,0"
Width
=
"200"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
Opacity
=
"1"
>
//Button that opens UserControl in ContentRegion
//stuff in the stackpanel
</
StackPanel
>
</
tel:RadExpander.Content
>
</
tel:RadExpander
>
</
Grid
>
</
Grid
>
Currently since the RadExpander IsExpanded is set to "true" when the UserControl loads, the RadExpander is, obviously, still expanded. What I am trying to do is change the state of IsExpanded when the UserControl finishes loading.
my latest attempt was to set it in the codebehind of the UserControl:
public partial class UserControlContent : UserControl
{
public UserControlContent()
{
InitializeComponent();
var setExpander = new Shell();
setExpander.MenuFlyOut.IsExpanded = false;
}
}
But that didn't work.. I've tried a few other ways to do this. Event Triggers, Binding to a property which calls a method that sets IsExpanded.
Obviously, I'm missing something, and help would be appreciated.
I'm trying to get a shapefile into the radmap (intending to be similar to the hotel floor plan example), however my shapefile does not get displayed properly. It's using WGS84, and is displayed correctly with every shapefile viewer i can find
Attached expected and resulting outputs
<Grid>
<telerik:RadMap x:Name="radMap"
UseDefaultLayout="False"
UseSpringAnimations="False"
Background="Transparent"
MouseDragMode="None"
MouseDoubleClickMode="None">
<telerik:RadMap.Provider>
<telerik:EmptyProvider/>
</telerik:RadMap.Provider>
<telerik:VisualizationLayer x:Name="VisualizationLayer">
<telerik:VisualizationLayer.Reader>
<telerik:AsyncShapeFileReader PreviewReadShapeDataCompleted="OnPreviewReadShapeDataCompleted">
<telerik:AsyncReaderSource DataSource="C:\temp\TestImageBlend\Test.dbf" Source="C:\temp\TestImageBlend\Test.shp" />
</telerik:AsyncShapeFileReader>
</telerik:VisualizationLayer.Reader>
</telerik:VisualizationLayer>
</telerik:RadMap>
</Grid>