Hi team,
I am reading the implicite style of radbutton, and find that the storyborad of mouse over state is below
<VisualState x:Name="MouseOver"> <Storyboard> <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="OuterMouseOverBorder"/> </Storyboard> </VisualState>And my question is why use UIElement.Opacity here instead just Opacity, like other states' storyborad do?
Thanks,
Jingfei
Hi team,
When I try to customize the styles and templates of RadButton, I am blocked by the states transition of RadButton. There are focused and unfocused states, also there are normal, pressed and mouse over states. The normal, pressed and mouse over states are straightforward to comprehesive. However, i don't quite understand how the focused and unfocused states work when a user click the button.
Thanks,
Jingfei
Hi there,
I have following layouts
<Border><context menu is here><other child items></Border>
But i found that i need to carefully click the items to so that the context menu can be triggered. If clicking to a blank area, the upper level context menu is triggered.
How do i avoid this?
public override Style SelectStyle(object item, DependencyObject container) { if (item is Club) { Club club = item as Club; if (club.StadiumCapacity > 50000) { return BigStadiumStyle; } else { return SmallStadiumStyle; } } return null; }Hi team,
In order to make my problem clear, I would list what I've done currently.
1. I am using MVVM, so I have view models of nodes, links and a graph source. All these implementations follow the guideline of RadDiagram MVVM. And it works fine.
2. Then I want to define some custom connectors. According to this thread, I manage to add custom connectors to my digram.
3. The solution of that thread mentioned above is using a attached property. And I also have a requirement: I need to remove or add nodes runtime. So I have following codes
if (this._graphSource == null){ this._graphSource = new LineGraph();}this._graphSource.Clear();this._graphSource.PopulateGraph(this);return this._graphSource;
And when my application starts up for the first time, the offsets of the custom connectors work properly. However, when I add or remove nodes, the above if statement wouldn't be executed, it would clear all the nodes existed, and re-populate the graph again. However, the offsets don't take effect now. Removing the if statement, then the offset works no matter I add or delete nodes.
The key is I don't want to create the LineGraph object each time I delete or add nodes.
Hope make myself clear.
Best Regards,
Jingfei
Is it possible to specify the fill direction explicitely?
At the moment, when displaying an Area series, the series is filled between the graph and zero. However, I sometimes need the filled area to be above or below the graph, independent of the actual value.
Alex

Where can I find source code of RadControl's WPF demo? I have already downloaded and installed demo on my local system. I am looking for a Visual Studio 2013 project solution.
Thanks.
This may be about JustCode but its really about WPF. So, move this entry if you think it'd be better serviced elsewhere.
Do you have a tool that will highlight Binding errors? I realize that Binding is hard because its not until the control is bound that we know if it worked or not. Right now, the only way to tell is by watching Visual Studio's lame Output window... then, its hard to spot the exceptions.
Even if it is after the code is started, it'd be awesome to have a tool that would list and allow navigation to controls that encountered a Binding error.
Thanks,
Joel