Telerik Forums
UI for WPF Forum
3 answers
268 views
Hello. I want to implement future to draw shapes at runtime. In your docs are described, how to draw custom shapes or connections, but there are no info how to paint predefined shapes (Rectangles, Ellipses, Containers, etc.). This future is available only by drag and drop. But how  I can set draw (paint mode) dor mouse, like in MsPaint

http://joxi.ru/82Qqyg0spOaj2d
Pavel R. Pavlov
Telerik team
 answered on 20 Feb 2015
1 answer
113 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
100 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
964 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
155 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
117 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
91 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
168 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
63 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
501 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
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?