Telerik Forums
UI for WPF Forum
9 answers
359 views
Hello,
I have searched the forum but have not found a way to get notification when:
1.  a column is moved 
2.  a column is resized

What is the straightforward way to capture these events? I'm trying to do this from a custom control that extends RadGridView.

I'm using Q2 release.

Thanks,
Laura
parthiv
Top achievements
Rank 1
 answered on 28 Nov 2017
1 answer
263 views

Hi Team,

I would like to set few styles, namely TextDecorations like StrikeThrough, Underline and other styles like Horizontal Alignment, Boldness and Font Style programmatically by creating a FrameworkElementFactory of type Textblock and then assigning the same to a DataTemplate of type GridViewRow, which is then assigned to the ContentTemplateProperty of the GridViewRow; but to no avail.

Could you please guide me on the same.

Please let me know if any details/clarifications are required.

Thanks,

Swapnil Ramteke

Vladimir Stoyanov
Telerik team
 answered on 27 Nov 2017
1 answer
363 views

Hello

I used the following code to export to image

        Dim filename As String = "C:\Export\ExportedChart.png"

        Using fileStream As Stream = File.Open(filename, FileMode.OpenOrCreate)
            Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(Me.chart, fileStream, New PngBitmapEncoder())
        End Using

 

But the exported image misses the X and Y coordinate values. How can I export the image exactly as seen in the UI

I would like to export to PDF as well.

Dilyan Traykov
Telerik team
 answered on 27 Nov 2017
3 answers
271 views

How can I display the X and Y values in the tool tip for radCartesianchart bar series

 

In radChart, there is a option as below:

<telerik:BarSeriesDefinition ItemToolTipFormat="the X value is #X, the Y value is #Y"ShowItemToolTips="True" />
    </telerik:SeriesMapping.SeriesDefinition>

Martin Ivanov
Telerik team
 answered on 27 Nov 2017
2 answers
299 views

Hi,

I would like to use middle mouse to move viewport ?

Can you help me please ?

Thanks,

Nicolas

nicolasf
Top achievements
Rank 2
 answered on 27 Nov 2017
16 answers
594 views
Hi,
We need to have a RadGridView containing a bound column that could hold a long text (up 4000 char). Each cell if the column will have a little button on the side, and would just show a portion of the text. When the user clicks on the button, an editor popups (ideally in adjacent to the clicked cell) and user can edit the entire text and save it back to cell. Is that doable with the RdaGrdiView? Any help would be much appreciated.
Thanks
Stefan
Telerik team
 answered on 24 Nov 2017
1 answer
316 views

Hi,

we are using telerik-wpf controls for years now and are very happy, thanks so far. Now we are looking for a possibility to change
XAML Pages during runtime with an GUI Interfacec. We want to load the XAML page with its elements and display them. Some of
the elements should be protected. With drag & drop the user should be able to place a new textbox in the page an link this textbox
with a database-field.
After saving the user should only reopen the changed mask in the application and it should show the new field!

Is this possible with telerik controls in one way?

Thanks
Best Regards
RENE

Stefan
Telerik team
 answered on 24 Nov 2017
4 answers
468 views

Hi,

the last days, our customers suffer from following exception in our WPF/MVVM/PRISM/C# application. It is in German, but I give a translation for the important parts:

 

Source: PresentationFramework

HelpLink: null

Message: Beim Auswerten der Style-Eigenschaft für Element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0" wurde ein zyklischer Verweis gefunden. Translation: Cyclic reference found while evaluating the style property for element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0"

InnerException:  null

StackTrace:    bei System.Windows.FrameworkElement.UpdateStyleProperty()    

bei System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)    

bei System.Windows.FrameworkElement.OnVisualParentChanged(DependencyObject oldParent)    

bei System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)    

bei System.Windows.Media.Visual.RemoveVisualChild(Visual child)    

bei System.Windows.Media.VisualCollection.DisconnectChild(Int32 index)    

bei System.Windows.Media.VisualCollection.Clear()    

bei System.Windows.Controls.UIElementCollection.ClearInternal()    

bei System.Windows.Controls.Panel.ClearChildren()    

bei System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)    

bei System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)    

bei System.Windows.Controls.ItemContainerGenerator.OnRefresh()    

bei System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)    

bei System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)    

bei System.Windows.WeakEventManager.D

 

The exception appears when I open the application, don't use it for at least one minute and then open a new dialog of the application. The dialog contains a RadRibbon usercontrol. Sometimes the exception occurs when I don't wait a minute, but it appears more reliable if I do.

 

It does not appear when I debug the application. However, If I use the release mode in Visual Studio 2015 and start the application without debugging, I can reproduce the exception.

Since I cannot debug the application for this issue, I only hope for a flash of inspiration on how I could further approach this issue. If you need further information, please tell me.

Thank you!

 

 

Michael
Top achievements
Rank 1
 answered on 24 Nov 2017
3 answers
195 views

Hi all,

we are trying out Telerik drag and drop. We want to drag between 2x itemslist and a DockPanel. To be able to use Telerik drag visualizer we converted both the itemslist to a ListBox (not 100% what we wanted though, because listbox looks different).
This way we get a 'shadow' of the item we drag during the dragging. And an arrow indicating we can move the item (or red circle if denied).

The problem now is we want to deny certain drops in the dockpanel based on the data in our viewmodel. How can we accomplish this?
I can catch the events of the dockpanel like OnElementDragEnter, but I cannot set the e.Effects property to none. Also I don't have options class in my e.data object (like in your treeview example).

Also tried to set the dockpanel.allowdrop to false during drag. That works, but then the next time the drag over event wont fire again :(.

(the way we did this before Telerik components was just set the DragDropEffects.Effects to DragDropEffects.None)

 

Thanks in advance

Stefan
Telerik team
 answered on 23 Nov 2017
8 answers
260 views

Hi, 

I'm using the RadTimeLine control. I want to draw a connection between two timeline item, just like the following figure shows. Is there any way to do that?

I know it's easy to do with RadGanttView. But the RadTimeLine  is more flexible than RadGanttView. For some reason this must be implemented in the RadTimeLine.

Hope for reply!

 

Best regards,

Jie

Stefan
Telerik team
 answered on 23 Nov 2017
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?