Telerik Forums
UI for WPF Forum
0 answers
206 views

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

 

Jackey
Top achievements
Rank 1
 asked on 11 Apr 2015
0 answers
39 views

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

Jackey
Top achievements
Rank 1
 asked on 11 Apr 2015
1 answer
184 views

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?

Jackey
Top achievements
Rank 1
 answered on 11 Apr 2015
1 answer
92 views
I am wondering if there are easy ways to implement cancel logic in RadPropertyGrid?

Thanks,
Jingfei
Jackey
Top achievements
Rank 1
 answered on 11 Apr 2015
2 answers
167 views
Hi team,
I am using CellStyleSelector documented in this link. However, in the following code 
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;
 }
I want to know the column index of the GridViewCell. I know the container object is type of GridViewCell. However i don't know how to continue. I read some class documentation, finding no proper ways. Any ideas?

Thanks,
Jingfei
Jackey
Top achievements
Rank 1
 answered on 11 Apr 2015
12 answers
305 views
RadDataForm is really nice when binding to data with simple properties (int, string, bool, ...) but now I stuck while binding it to an entity type which has a collection of entities from another type. Let's assume there is a class Category with Fields ID (of type int) and Name (of type string) but also a property of type List<Product>.

I use a RadListBox with a custom DataTemplate to show the products (inside RadDataForm EditTemplate) but when I edit values of a product the RadDataForm does not recognize that changes as it only checks for edits at the bound object (which is the Category but not the related products). Is this possible with RadDataForm? How can I tell my RadDataForm (manually) that the CurrentItem has changed?
Jackey
Top achievements
Rank 1
 answered on 11 Apr 2015
0 answers
96 views

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

Jackey
Top achievements
Rank 1
 asked on 11 Apr 2015
1 answer
77 views

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

Peshito
Telerik team
 answered on 10 Apr 2015
1 answer
230 views

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.

Dimitrina
Telerik team
 answered on 10 Apr 2015
1 answer
56 views

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

Dimitrina
Telerik team
 answered on 10 Apr 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?