Telerik Forums
UI for WPF Forum
2 answers
206 views

Hello everyone!

Is there a way to scroll to active cell in UI from codebehind? My spreadsheet contains big amount of data and needs some sort of navigation.

Soulstorm
Top achievements
Rank 1
 answered on 10 Feb 2016
1 answer
139 views
I have added a button to some cell edit template. When I click on it, I open a file dialog to select some file. However, as soon as I click on the button, the edit mode is left. How can I stay in the edit mode?
Alexander
Top achievements
Rank 1
 answered on 10 Feb 2016
1 answer
173 views
How to change the background color of the RadRibbonTab (Not the background of the title bar but only the selected tab background).
Evgenia
Telerik team
 answered on 10 Feb 2016
1 answer
349 views

I have to react to a key-down-event in a datacell of a GridView. So in XAML I have defined the following:


<telerik:GridViewDataColumn Header="Bezeichnung" DataMemberBinding="{Binding Bezeichnung}">
   <i:Interaction.Triggers>
      <i:EventTrigger EventName="KeyDown">
         <GalaSoft_MvvmLight_Command:EventToCommand Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBox}}, Path=DataContext.OpenNachschlagText}" />
      </i:EventTrigger>
   </i:Interaction.Triggers>
</telerik:GridViewDataColumn>

 

With this snippet of code there are no errors in the output-console (no "DataContext.OpenNachschlagText not found" or so). But my ICommand (RelayCommand in my case) is not called when I press a key on the keyboard.

What is wrong or better: how can I react on a key, for example the F5 key?

Thanks in advance

Marcus

Petya
Telerik team
 answered on 09 Feb 2016
6 answers
153 views

Hello,

 When I update a named range programmatically I am forced to remove the name and re-add it with the updated value. This is fine as a workaround but any cells that referred to the name can have strange visuals depending on the new value. For example, I have a named range 'Test' in which RefersTo ​is '=1'. I set A1 to be =Test and it displays 1 as expected. If I remove the name and re-add a new name 'Test' with RefersTo '=1000', A1 will extend into the neighboring cell.

Svetoslav
Telerik team
 answered on 09 Feb 2016
3 answers
228 views

Hi,

Do you have a roadmap for the 3D support with the RadMap Control ? And for 2016, what is the next features for the RadMap, full support Geojson ?

Others providers has this option:

Thank you

Petar Mladenov
Telerik team
 answered on 09 Feb 2016
5 answers
212 views
Hi,

We are still using .net version 3.5 and I need to use a RichTextBox that supports the spell checker for this version.  Since I have purchased my license recently, I do not see that version in the current downloads.  Is there a way for me to obtain a version that will work in 3.5?

Thanks in advance,
Laura
Tanya
Telerik team
 answered on 08 Feb 2016
1 answer
220 views

Hi,

 I was trying to use the new feature to bind to the ChartView's AnnotationProvider.Source, and one of the requirements I have goes through changing the default display of the Label for the CartesianGridLineAnnotation.

 I have an example project zip @ https://www.dropbox.com/s/cj06tc8yhd7x0v5/AnnotationTypes-modified.zip?dl=0 (and picture) of the problem I'm facing: When I statically define the annotation in the Annotations collection of the ChartView, I have no problems whatsoever to change the LabelDefinition in order to achieve the vertical text and whatever else we need from changing this property.

 When I attempt to change it through styles however, nothing that we "set" on this property takes effect.

From what I understood, I need to use styles in order to change the generated Annotation controls on the AnnotationProvider through the AnnotationDescriptor.

I might obviously be overlooking or misunderstanding something.

 Thank you in advance,

David

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Feb 2016
3 answers
123 views

I saw that you create a dynamic object that wraps the items in the IEnumerable I supply.

None of the attributes is being passed to the dynamic object. As a result, the PropertyDefinition EditorAttribute is null, and if I look at PropertyDefinition.SourceProperty, then it has no attributes.

 

Let me start by explaining why these attributes are important in my case:

Due to compatibility, and for ease of development, I use the Browsable attribute in order to filter properties that we don't want (In that case, I filter out, in the AutoGeneratingPropertyDefinitions event, properties with either Browsable = false, or properties without the browsable property. With such way, I don't care if a property was added to the ViewModel. Instead of setting Browsable=False to lots of lots of properties, I only add True to those I want to show).

 

Another useful scenario:

On some properties, I want to put a slider (bound to an int), and I want to be able to control the Minimum, and the Maximum of the slider.

Currently, this is not possible using the EditorAttribute.

I've added a new custom attribute called PropertyValueAttribute, which gets a string of the property name, and the value (object), and on the FieldLoaded event, I use reflection in order to set the required properties into the actual editor.

 

These are just small examples of how the attributes can be used in these cases.

 

However, none of these attributes is being copied into the dynamic object, and furthermore, the editor itself is not being set (so I'm seeing the default editor supplied by you, if any...)

This surely looks like a bug.

 

 

Furthermore, is there any way of getting the instance of the dynamic object? (the Item property returns the IEnumerable, and if I want to do some biding to the dynamic object, then I can't).

 

 

Another question:

If I decide to work in Unbound mode, then I need to create my own PropertyDefinition, but I cannot supply the EditorAttribute to it (since this property is internal/private).

I don't want to use EditorTemplate, since I already have the attribute in ViewModel and it contains the type of the editor and the name of the property in the control that is bound to the actual property in the view model.

Why is this EditorAttribute property inaccessible? (is there any good reason?)

 

 

Thanks

Maya
Telerik team
 answered on 08 Feb 2016
3 answers
499 views

Hello,

I'm working with the Office 2013 theme, perhaps the problem is not visible in other theme.

I have a WPF application with a combo box that can be enabled/disabled with a click on a button on the ribbon. Clicking on the button doesn't change the focus (that's important).

I the combo box is enabled and has the focus, pressing the ribbon button disables the combo box, but it stilll shows that it has the focus. When moving the focus to another control, the combo box still shows the focus state.

I think that the focus state should only be displayed when the combo box is enabled.

Yana
Telerik team
 answered on 08 Feb 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?