Hi,
I am using radcartesianbarchart to show multiple bar series. For example if i have category1, category2, and total these are the series collection.
If i click on legent of category1, need to show the category1 series. same for category2. If i click on total it should show all series. How we can achieve this.
Using hover property we can show fadeout of other series. But i need to draw when click on the legend only. Also please advise how to do animation for the chart series.
Thanks,
Arun
Hi,
I'm trying to bind items dynamically to a RadMenu but I only ever see an empty RadMenu despite the fact that binding a standard Menu to the same DataContext property works perfectly fine.
In my screenshots you can see I've tried two approaches but the RadMenu directly under the TitleBar of the Window simply remains blank. I'm adopting the standard approach with ObservableCollections for this and since the standard Menu works, I can't see why the RadMenu doesn't.
I'd be very grateful for any assistance.
M.Young
I have applied an editable radtabitem header as the following
I can see the editable TextBox set the the initial value for the header I can change it , but the Header Property it self still the same , so please what is wrong here?
<
Style
TargetType
=
"{x:Type socialtracker:EditableTabHeaderControl}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type socialtracker:EditableTabHeaderControl}"
>
<
Grid
>
<
Grid.Triggers
>
<
EventTrigger
RoutedEvent
=
"Grid.DragEnter"
>
<
BeginStoryboard
x:Name
=
"GridBeginStoryboard"
>
<
Storyboard
>
<
DoubleAnimation
Storyboard.TargetName
=
"ButtonTransform"
Storyboard.TargetProperty
=
"ScaleX"
Duration
=
"0:0:0.5"
From
=
"1"
To
=
"1.1"
/>
<
DoubleAnimation
Storyboard.TargetName
=
"ButtonTransform"
Storyboard.TargetProperty
=
"ScaleY"
Duration
=
"0:0:0.5"
From
=
"1"
To
=
"1.1"
/>
</
Storyboard
>
</
BeginStoryboard
>
</
EventTrigger
>
<
EventTrigger
RoutedEvent
=
"Grid.DragLeave"
>
<
StopStoryboard
BeginStoryboardName
=
"GridBeginStoryboard"
/>
</
EventTrigger
>
<
EventTrigger
RoutedEvent
=
"Grid.Drop"
>
<
StopStoryboard
BeginStoryboardName
=
"GridBeginStoryboard"
/>
</
EventTrigger
>
</
Grid.Triggers
>
<
TextBox
x:Name
=
"PART_EditArea"
Text
=
"{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, Mode=TwoWay}"
Visibility
=
"Collapsed"
/>
<
ContentPresenter
x:Name
=
"ContentPresenter"
Content
=
"{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content, Mode=TwoWay}"
/>
</
Grid
>
<
ControlTemplate.Triggers
>
<
Trigger
Property
=
"IsInEditMode"
Value
=
"True"
>
<
Trigger.Setters
>
<
Setter
TargetName
=
"PART_EditArea"
Property
=
"Visibility"
Value
=
"Visible"
/>
<
Setter
TargetName
=
"ContentPresenter"
Property
=
"Visibility"
Value
=
"Collapsed"
/>
</
Trigger.Setters
>
</
Trigger
>
</
ControlTemplate.Triggers
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Binding binding =
new
Binding
{
Path =
new
PropertyPath(
"."
),
Mode = BindingMode.TwoWay,
};
var editableTabHeaderControl =
new
FrameworkElementFactory(
typeof
(EditableTabHeaderControl));
editableTabHeaderControl.SetBinding(EditableTabHeaderControl.ContentProperty, binding);
DataTemplate newDataTemplate =
new
DataTemplate() { VisualTree = editableTabHeaderControl, };
RadTabItem item =
new
RadTabItem
{
Tag =
new
ObservableCollection<Tweet>(),
Name =
"SelectedPrint"
+ _intSelectedPrintTabsCount.ToString(),
Header =
" New Tab "
+ _intSelectedPrintTabsCount.ToString(),
HeaderTemplate = newDataTemplate
};
tbSearchAndFOllow.Items.Insert(tbSearchAndFOllow.Items.Count - 1, (item));
Hello,
I have added a footer to my gridview using the SumFunction. The content of all regular cells is aligned right (numeric values) but I cannot change the alignment of the result in the footer. Everything placed in the footer is rendered with minimal width and ignoring the width of the column, therefor all alignment settings are ignored.
Any advices how to align the content in the footer?
Thanks in advance.
I am trying to create dynamic columns by creating column header and assigning the list of string values based on the index to the column databinding and while i am trying to add aggregation to the columns i am facing runtime issue as mentioned below.
"No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic."
I am unable to resolve this issue after number of workarounds.
Kindly provide me a solution ASAP.
Regards,
Karthikeyan R
Hi *,
I try to use the selection changed Event for the cartesian Chart to notify another view.
It works fine but I recognized that there is no possibility to select an item with the null value (see attached Picture).
Any ideas?
Thx
Rostislaw
I have a radlistbox which has images, title and createddate of them. I showed images and title but i don't know what this listbox sort by. How can i sort listbox by createddate?
Something likes
<telerik:RadGridView.SortDescriptors>
<telerik:SortDescriptor Member="DateCreate" SortDirection="Ascending" />
</telerik:RadGridView.SortDescriptors>
of gridview.
Such as 'example.png', ListBox shows image and title, I want it to sort by created date.