Telerik Forums
UI for WPF Forum
1 answer
144 views
I have some .xml files that are packages of some classes. I want to show those classes in telerik wpf diagrams control as a class diagram.
What is the best way of displaying class diagrams in WPF from .xml files? It should also populate diagrams automatically, that there is a minimum number of intersections in connections. 

Thanks,
Martin Ivanov
Telerik team
 answered on 20 Feb 2015
3 answers
114 views
Good morning,
i was just taking a deeper look at the two controls and it works realy well.
So I have two little questions:
- When i give my pdfviewer in xaml a documentsource, does it call my custom decode filter? Or i need to load/reload my pdf?
- What are the standard decode filters for pdfviewer? I mean if i have no custom filter implemented which decode filter is used?

Hope you can help me,

mfg David
David
Top achievements
Rank 1
 answered on 20 Feb 2015
11 answers
1.0K+ views

Hi,

 

I want to have a footer in one of my gridview columns that has two rows: one containing a textbox bound to a field in model view, and the second row displays the sum of items in that column.

 

---------------------------------

Total:  {text box}

                <sum>

---------------------------------

 

I have followed the suggestion from another thread to have a style for the footer to set the binding, and then reference that style on the column. 

 

<Style x:Key="SalesTotalStyle" TargetType="telerik:GridViewFooterCell">
    <Setter Property="ContentTemplate">
        <Setter.Value>
            <DataTemplate>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <TextBlock Grid.Row="0" Width="75" TextAlignment="Right" FontWeight="Bold"  Text="{Binding Path=DataContext.SalesSum,
                               RelativeSource={RelativeSource AncestorType=telerik:GridView}}" />
                    <TextBox Grid.Row="1" Text="{Binding Path=DataContext.ExpetedSalesTotal,                               
                       RelativeSource={RelativeSource AncestorType=telerik:GridView}}" Width="75" TextAlignment="Right"/>
                </Grid>
            </DataTemplate>
        </Setter.Value>
    </Setter>
</Style>


This works great and it does display y the data properly in the textbox.  However, how  can I add an aggregate function in the style section?? 
I undetstand aggregate functions will not show if the footer is set.  I have also tried to create a sum property (SalesSum) that reruns the sum of underlying data, whoever it doesn’t get refreshed in the grid as the user enters items in the column.  Any suggestion?

 



Cheers
Eliot
Top achievements
Rank 1
 answered on 20 Feb 2015
7 answers
171 views
Hello Telerik,

is the a way to use a QueryableEntityCollectionView object (bounded to a RadGridView) with EF6 which has a DBContext instate of ObjectContext?
I'm chaining my Telerik application form EF 4 to EF 6.
Or can you give me a link to a simple GridView example using Entity Framework 6?

Regards Uwe
Maya
Telerik team
 answered on 20 Feb 2015
2 answers
132 views
Hello,

for some reason, the manipulation adorner is offset relative to the shape after selecting a rotated shape (see attached image).
When selecting a shape with rotation angle = 0 and while rotating it, the adorner stays at the expected position.

What could be the cause for this behavior?

Alex
Alexander
Top achievements
Rank 1
 answered on 19 Feb 2015
1 answer
111 views
I have a spreadsheet control with data and the headers frozen by code.

Then any filter is applied on any column, that works. But when the filter is cleared by
the option “Clear Filter” some rows are frozen in addition to the previous
frozen header. In some cases, after clearing the filter, all the visible rows
are frozen and scroll does not move anything…

Any help?
Anna
Telerik team
 answered on 19 Feb 2015
3 answers
187 views
Hello,
I have some questions,

1- How can I control the MouseHover in RadDiagramShape from code behind not from xaml?

2- How can I keep only one connector for RadDiagramShape?
 I tried 
  MyShape.Connectors.RemoveAt(1);
  MyShape.Connectors.RemoveAt(0);
It worked 
Is there no easier way or a way to remove them all? or I can keep the middle one(Center Connector)?

Thank you.
Pavel R. Pavlov
Telerik team
 answered on 19 Feb 2015
1 answer
83 views
Hi,

I would like to ask on how to continue running a recorded step upon return on parent screen from modal popup.

Scenario as follows:
1. Click <modal popup> to open
2. On the modal popup, click <continue> button
3. On-click of <continue> button, parent screen is displayed

Expected result:
1. Upon return on parent screen, succeeding recorded scenarios will be tested

Actual result:
1. Upon return to parent screen, system experiences timeout, testing failed
Martin Ivanov
Telerik team
 answered on 19 Feb 2015
17 answers
602 views
I've searched for this for a while.  Is there a way to expand/collapse nested properties via code-behind?  It would be nice to have all properties expanded by default in my program.
Alexandru
Top achievements
Rank 1
 answered on 19 Feb 2015
3 answers
151 views
I need to create a custom text editor, which will be editing device specific files.  The files are text files and supposed to contain a subset of the low ASCII characters.   Some of the characters should display as strings rather than as their normal display value in the loaded windows character set.  I need to display tab characters in their expanded representation as spaces.  The files use Form Feeds (x0C) to mark pages.  These need to be represented on their own line as a string of dashes.     Can this type of character rendering control be accomplished with the RichTextBox control and it's txtformatproviders?   If so what would be involved (or is there an example in the SDK's I should look at? 

Tanya
Telerik team
 answered on 18 Feb 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
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?