Telerik Forums
UI for WPF Forum
1 answer
89 views
We are using the PropertyGrid to edit the contents of an object and it works fine. However we need to be notified when the user finishes editing an individual property. The EndEdit event comes pretty close (once we changed EditMode to single) but we can not figure out which property was actually edited.

Obviously one solution is to have the object we are editing implement INotifyPropertyChanged and handle the property changed event. Unfortunately we don't have access to this object and the property access methods are not virtual so we can't easily extend it.

Is there a way to tell which property was edited in the EndEdit event?

Thanks
Ivan Ivanov
Telerik team
 answered on 24 Nov 2014
4 answers
209 views
I want to change the order of RadPanes in a RadPaneGroup. Obviously others already had the same problem:

http://www.telerik.com/forums/how-to-change-tab-order-in-radpanegroup

In it above post. There is a Link to your PITS given, that does not work. So how is the status, now that the issue occurred four years ago?


(BTW: PITS looks shitty when you visit it wit an Opera Browser)
George
Telerik team
 answered on 24 Nov 2014
3 answers
162 views
I'm using the PdfFormatProvider to export RadDocuments to disk. Adobe Reader prompts me to save changes when these documents are closed. The saved document is slightly smaller than the original.

Is this a known issue?
Tanya
Telerik team
 answered on 24 Nov 2014
2 answers
220 views
I'm using RadDiagram for making a designer in our system.
I have three parts in my screen, (RadDiagram, RadDiagramToolBox and ToolBar).

What I have to display in my RadDiagramToolBox are icons (images for my custom shapes) For a reason, my custom shapes can not inherit from RadDiagramShape, That's Why the RadDiagram didn't accept my custom shapes and I made MyDesigner which is inhering from RadDiagram, and override the this.Drop += MyDesigner_Drop;

To do this I used this hierarchy http://www.telerik.com/forums/raddiagramtoolbox-xaml-example#IUr1zXo3zUq-9NytMbeamw '
as the following:
        <telerik:RadDiagramToolbox Grid.Column="0" Grid.RowSpan="3"
                                   Header="{Binding SelectedItem.Header, RelativeSource={RelativeSource Self}}"
                                   Visibility="{Binding IsChecked, ElementName=toolboxButton, Converter={StaticResource BooleanToVisibilityConverter}}">
            <telerik:RadDiagramToolboxGroup Header=" Charts ">
        
                <telerik:RadDiagramToolboxItem Name="TimeChartIcon" Background="Transparent">
                    <telerik:RadDiagramShape Name="TimeChartIcon1" Background="Transparent" BorderBrush="Transparent">
                        <Image Source="/Fathom.TestDiagram;component/Images/TimeChartIcon.png"                    
                               Stretch="UniformToFill"
                               Name="TimeChartIcon2"/>
                    </telerik:RadDiagramShape>
                </telerik:RadDiagramToolboxItem>

      <telerik:RadDiagramToolboxItem Background="Transparent">
                <telerik:RadDiagramShape Name="ValueChartIcon" Background="Transparent" BorderBrush="Transparent">
                        <Image Source="/Fathom.TestDiagram;component/Images/ValueChartIcon.png"                    
                               Stretch="Fill"/>
                    </telerik:RadDiagramShape>
                </telerik:RadDiagramToolboxItem>
   </telerik:RadDiagramToolboxGroup>
            
            <telerik:RadDiagramToolboxGroup Header=" Others "/>
        </telerik:RadDiagramToolbox>

and in MyDesigner_Drag I used this http://www.telerik.com/forums/raddiagramtoolbox-drag-drop#trdWTLlUNEKga8H6yFFsqQ
and I added these lines of code after Admin Tina's codes:
              
                    droppedShape.Background = Brushes.Transparent;                  <br>                    droppedShape.Position = e.GetPosition(this);<br>                    droppedShape.BorderBrush = Brushes.Transparent;<br>                    droppedShape.BorderThickness = new Thickness(2);<br>                    droppedShape.Padding = new Thickness(0);<br>                    this.Items.Add(droppedShape);


What I got is, I can drag the RadDiagramShape  which contains an image  from RadDiagrmToolBox and dropped it as a RadDiagramShape contains the same image inside a RadDiagramShape. (How I could have the image in the new dropped instance?)
But What I want is, I want to check inside the MyDesigner_Drag event any info leads me to know the custom shape that the user has dragged and dropped to create an instance from it. Like (Name or Content->Image source)
I could see that item.Content is an image but I couldn't access to Name or Image Source and I couldn't see the name or source of the image that I hard-coded in Xaml code in debug mode!!

I really need your help.
Thank You.

Alaa
Top achievements
Rank 1
 answered on 24 Nov 2014
1 answer
57 views
Hello

I want to find  is there any way to access to tesianChartGrid.grid.xLines property information runtime ?

regards
Martin Ivanov
Telerik team
 answered on 24 Nov 2014
1 answer
131 views
Hi,


I am incrementing my candlestick count during a live feed test. The ChartView is bounded to an ObservableCollection<Candlestick> which is constantly being  refreshed when an updated or brand new candlestick each period.

The first image (25_candlesticks) is a snapshot of the Chart View  for the first 25 candlesticks displayed.

The next image (100_candlesticks) shows the Chart View after 100 candlesticks are displayed.

As you can see, the chart does not auto right scroll to show a preselected number of candlesticks in the current view, but instead, crams all the candlesticks into the same viewing area.

I do not want this. What is necessary is that I have this instead:

1) To have my very first candlestick appear on the left of the screen

2) as more candlesticks are added, the screen remains un-scrolled until about 3 quarters down the view screen.

3) at about 3/4 from the edge of the view screen, the chart auto-scrolls as new candlesticks are added, while maintaining the current X and Y axis scaling that I initially chose.

Could you please instruct me on how this can be done?

I would very much appreciate a WPF C# sample on this as a reference.

Thanks for any help.
Peshito
Telerik team
 answered on 24 Nov 2014
1 answer
175 views
Hi,
    I found it was hard to drag scroll bar up/down when grouping data.  I tried to set CanContentScroll = "True" to fix performance issue. but it doesn't work. Could you give us some advice how to fix this issue. My demo has 50 columns and 10000 record. group ID by default pls see my screenshot
 
Dimitrina
Telerik team
 answered on 24 Nov 2014
1 answer
154 views
How to hide the design tab in Visual Studio and show only the XAML tab when editing a window containing a RichTextBox control or RadToolBar?

How to disable the interactivity of the editor so that normal keyboard navigation in the XAML source code does not move controls on the WPF window?

This slows down the editing considerably and introduces many small unwanted changes in the WPF window controls layout.
Sia
Telerik team
 answered on 23 Nov 2014
7 answers
1.1K+ views
Hi!

Is there a possibility to find out the actual scroll position of the GridView? The matter is that I rebind the datasource und therefore the Grid looses the actual scroll position and jumps to the first item.

I experienced a bit with ScrollViewer and ScrollContentPresenter but couldnt find a solution!

Greetings
Philip
Dimitrina
Telerik team
 answered on 21 Nov 2014
4 answers
270 views
 The following exception has been thrown when chartview loading in screen.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Telerik.Charting.DataPointCollection`1.<System.Collections.Generic.IEnumerable<Telerik.Charting.DataPoint>.GetEnumerator>d__0.MoveNext() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\DataPoints\DataPointCollection.cs:line 88
   at Telerik.Charting.DateTimeContinuousAxisModel.BuildValues(AxisUpdateContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\Axes\Continuous\DateTimeContinuousAxisModel.cs:line 899
   at Telerik.Charting.DateTimeContinuousAxisModel.UpdateCore(AxisUpdateContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\Axes\Continuous\DateTimeContinuousAxisModel.cs:line 289
   at Telerik.Charting.AxisModel.Update(AxisUpdateContext context) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\Axes\AxisModel.cs:line 497
   at Telerik.Charting.ChartAreaModelWithAxes.UpdateAxis(AxisModel axis, IList`1 series) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\ChartAreas\ChartAreaModelWithAxes.cs:line 387
   at Telerik.Charting.ChartAreaModelWithAxes.UpdateAxes() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\ChartAreas\ChartAreaModelWithAxes.cs:line 340
   at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\ChartAreas\ChartAreaModelWithAxes.cs:line 190
   at Telerik.Charting.ChartNode.Arrange(RadRect rect, Boolean shouldRoundLayout) in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\ElementTree\ChartNode.cs:line 214
   at Telerik.Charting.ChartAreaModel.Arrange() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Engine\ChartAreas\ChartAreaModel.cs:line 94
   at Telerik.Windows.Controls.ChartView.RadChartBase.UpdateChartArea() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 720
   at Telerik.Windows.Controls.ChartView.RadChartBase.CallUpdateUI() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 1006
   at Telerik.Windows.Controls.ChartView.RadChartBase.OnInvalidated() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\RadChartBase.cs:line 982
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at Vestas.Servicetool.Toolcontainer.App.Main() in C:\Views\SEKUM_VOToolkit_4.3.0\FirecrestUI\Servicetool\Servicetool\Toolcontainer\obj\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Anthony
Top achievements
Rank 1
 answered on 21 Nov 2014
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?