Telerik Forums
UI for WPF Forum
1 answer
730 views

Hello,

is it possible to test an application that uses the Touchmanager events on a machine that has no touchscreen? My main development machine has no touchscreen and it is a little cumbersome to deploy the application for each test on the target device.

Is there a way to simulate at least the Tap-event with a mouse click?

 

Beste regards,
Thomas

Petar Mladenov
Telerik team
 answered on 05 Apr 2016
6 answers
244 views

Hi,

Is there a way to bind the fill color of a map shape to a property of my DataContext but I can't do it. Here's what I've tried:

<DataTemplate x:Key="FooTemplate" DataType="Foo">
    <telerik:MapPathView>
        <telerik:MapPathView.Data>
            <tmpl:FooView .../>
        </telerik:MapPathView.Data>
        <telerik:MapPathView.ShapeFill>
            <telerik:MapShapeFill Fill="{Binding SomeProperty, Converter={StaticResource SomePropertyToBrushConverter}}" StrokeThickness="1"/>
        </telerik:MapPathView.ShapeFill>
    </telerik:MapPathView>
</DataTemplate>

When I run, I have an error "Cannot find source for binding with reference ..." because MapSahpeFill doesn't inherit the "inheritance context".

So is there a way to achieve what I want ?

Thank you,

Etienne

Petar Mladenov
Telerik team
 answered on 05 Apr 2016
5 answers
110 views
I have a custom queue-like collection that implements INotifyCollectionChanged and IList<>. Rather than raising CollectionChanged for every Enqueue() operation, it raises CollectionChanged once for every 5 Enqueue() operations: NotifyCollectionChangedEventArgs.NewItems contains a list of the 5 items added since the last CollectionChanged call, and NotifyCollectionChangedEventArgs.NewStartingIndex is set to my collection's Count property - 5.

This collection is being used as a data binding source to a RadCartesianChart with a DateTimeContinuousAxis. Unfortunately, when my collection raises CollectionChanged, an ArgumentOutOfRangeException is thrown out of ChartSeriesDataSource.GenerateDataPoint(). It appears that ChartSeriesDataSource's internal List<> is out of sync with my collection. NotifyCollectionChangedEventArgs.NewStartingIndex lies within my collection, but is several indices (1-4) beyond the end of ChartSeriesDataSource's internal List<>. 

Questions:

1. Does ChartSeriesDataSource (and ChartView generally) play nicely when it receives a NotifyCollectionChangedEventArgs.NewItems that contains more than one item? Especially if the source collection already contains data when the data binding is set up?

2. If not, is there another way to throttle ChartView's updates?
Martin Ivanov
Telerik team
 answered on 05 Apr 2016
2 answers
110 views

Hi,

1. I want to open a tool window with content. 
2. after the tool window is shown, i want to docking it  (by dragging) to existing radDaocking control.


I saw this telerik documentation for telerik winform:
ToolWindow windowTop = new ToolWindow();
windowTop.Text = "Window Top";
RadDocking radDock1 = new RadDocking();
this.radDock1.DockWindow(windowTop, DockPosition.Top);

what is the replacement code for this sample for telerik wpf?

(i don't have windowTop.Text neither  radDock1.DockWindow(windowTop, DockPosition.Top))

Thanks

shay
Top achievements
Rank 1
 answered on 05 Apr 2016
1 answer
387 views

Hi,

Need to remove the vertical girdlines for only specific columns in the Grid. As pointed out in the attached grid screenshot we need to remove the last gridline.

 

Or can we make sure that existing column fill the entire space of the grid. [Already tried ColumnWidth = "*", not working ]

 

Any suggestion are welcome.

 

Thanks in advance

Stefan Nenchev
Telerik team
 answered on 04 Apr 2016
4 answers
274 views

Hi there,

I'm working in a pretty big IT shop and it appears that 32 Telerik.WinControls where installed with version 2014.2.617.20 by one of the IT staff here.

The downstream issue I'm having is when trying to run the latest Telerik Demos App "Demos - Telerik UI for WPF", I get a DLL mismatch error.

Could not load file or assembly 'Telerik.Windows.Controls, Version=2016.1.112.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies, The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

I was able to trace back via my log files that this was the file that was used to install these assemblies:  "Telerik_UI_for_WinForms_2014_2_617.msi"

I want to mainly run the demo app to show to influential business partners what Telerik Controls can do, but these current ones installed on my GAC are blocking me from using the WPF Demo App

Would the best course of action be to find this MSI somewhere, and un-install it, or download it from Telerik (if it still exists)?

Or, is the conflict something else?

Much appreciate any feedback someone can provide.

Cheers!

 

 

Yana
Telerik team
 answered on 04 Apr 2016
4 answers
1.0K+ views

Hello Telerik,

I am trying to accomplish this

http://www.telerik.com/forums/gridview-cell-mousehover-hand-cursor

but for WPF.

Basically set a hand cursor when it is hovering on the "Name" cell.

I want to do a link-like visual to my cell (if you could also help on this, much appreciated)

I have tried to handle events like

<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" MouseEnter="GridViewDataColumn_MouseEnter" GotMouseCapture="GridViewDataColumn_GotMouseCapture" MouseMove="GridViewDataColumn_MouseMove" IsMouseCaptureWithinChanged="GridViewDataColumn_IsMouseCaptureWithinChanged"  CellStyleSelector="{StaticResource NameLengthTemplateSelector}"/>

private void GridViewDataColumn_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_GotMouseCapture(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_MouseMove(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_IsMouseCaptureWithinChanged(object sender, DependencyPropertyChangedEventArgs e)
{
 
}

 

but none of them gets hit by my breakpoint when I hover my cell

 

 

please help!

cheers

Yoan
Telerik team
 answered on 04 Apr 2016
3 answers
362 views
I have an old .net application that is no longer supported or being devolped. I need to make some changes and would also like to fancy up the interface. I used justdecompile to decompile it but I am getting a lot of XAML errors -
The property 'StyleManager.Theme' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 57 Position 116

.
The application uses

Telerik.Windows.Controls.Data.dll,Telerik.Windows.Controls.dll,Telerik.Windows.Controls.Docking.dll, Telerik.Windows.Controls.Input.dll, Telerik.Windows.Controls.Navigation.dll,Telerik.Windows.Data.dll

I ran the upgrade wizard on the project and it completed without any error I think it upgraded from Telerik version 2013. Can I upgrade this project to have no XAML and only use implictit styles?

 

 

Yana
Telerik team
 answered on 04 Apr 2016
1 answer
192 views

Hello,

we are evaluating telerik UI for WPF and testing now RadWizardControl with MVVM. We want do use the wizard for printing different documents. Is there a way to set different start pages on initializing the wizard?

Like when I navigate from page 1 to the wizard use index 0, from page 3 to the wizard index 5 and so on...

Is this possible?

ty 

Yoan
Telerik team
 answered on 04 Apr 2016
1 answer
168 views
Hi, simple question, may I ask how do I change the ruler of a document. 
 
Todor
Telerik team
 answered on 04 Apr 2016
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?