Telerik Forums
UI for WPF Forum
1 answer
169 views

I have some columns in datagridview which can be edited. When i select a row by clicking anywhere on the row and then single click on a cell to edit, the row selection goes away.But when we double click on the cell the cell becomes editable. I also have  a checkbox to select a row. Currently selection mode property of the grid is multiple.    Is there a way by which single clicking on a cell will not result in deselection of the  row?

 

Stefan
Telerik team
 answered on 19 May 2015
1 answer
127 views

Hello,

I have a column with a SumAggregateFunction.

I want to style the footer, if the sum is < 0, the foreground must be Red, if sum > 0, foreground must be Green.

I have not found how to do... Please help

Dimitrina
Telerik team
 answered on 19 May 2015
1 answer
168 views

I tried SelectionUnit="FullRow" to select a row with default highlights, and in RadGridView.RowStyle setting Trigger IsSelected with Value="True" to change a selection for all row with bacground colour. Nothing works properly (highlights only a cell), only IsMouseOver works that I expected.

 

<telerik:RadGridView x:Name=... SelectionUnit="FullRow" 

... >

                    <telerik:RadGridView.RowStyle>
                        <Style TargetType="{x:Type telerik:GridViewRow}">
                            <Style.Triggers>
                                <Trigger Property="IsSelected" Value="true" >
                                    <Setter Property="Background" Value="#CF7600"/>
                                </Trigger>
                            </Style.Triggers>
                        </Style>
                    </telerik:RadGridView.RowStyle>

 

Do you have any simple examples for solve this problem? 

First image: http://docs.telerik.com/devtools/wpf/controls/radgridview/selection/basics.html

but it's doesn't work.

Stefan
Telerik team
 answered on 19 May 2015
1 answer
163 views

I'd like to add a progressbar to a cell of treelistview (like in the example from the attachment).

I tried following, but nothing shows up on the view:

<telerik:RadTreeListView Margin="0,0,-2,0">
       <telerik:RadTreeListView.Columns>
           <telerik:GridViewColumn Header="Percent">
               <telerik:GridViewColumn.CellTemplate>
                   <DataTemplate>
                       <telerik:RadProgressBar Minimum="0" Maximum="100" Value="{Binding Progress}" Width="50"/>
                   </DataTemplate>
               </telerik:GridViewColumn.CellTemplate>
           </telerik:GridViewColumn>
       </telerik:RadTreeListView.Columns>
   </telerik:RadTreeListView>

any help appreciated

 â€‹

Dimitrina
Telerik team
 answered on 19 May 2015
1 answer
129 views

Hi - I am trying to select a shape with my finger on a touchscreen

 

for each shape I have a hander (vb.net);

     AddHandler shape.TouchDown, AddressOf Shape_TouchDown

 

...but no selection happens - I have a breakpoint on Shape_TouchDown and it is never being hit

 

Any ideas?

 

thanks

Petar Mladenov
Telerik team
 answered on 19 May 2015
1 answer
188 views

Hi - my application works fine with the mouse - panning (left button and drag), zooming (mouse wheel), selecting shapes (left button)

 

With the above, when selecting a shape, I have a handler for any MapShape and the MouseLeftButtonDown event - works fine.

 

Now I want to add this flexibility to a touchscreen usage of the same app, so expected (vb.net);

 

    AddHandler shape.MouseLeftButtonDown, AddressOf Shape_MouseLeftButtonDown
    AddHandler shape.TouchDown, AddressOf Shape_TouchDown

 

...to work fine for either mouse or touch.  Mouse works fine, but for touch;

What works - panning (finger and drag), zooming (pinching) - these worked regardless of attempting to integrate touch

What does not work is the selection of a shape with touch - adding a breakpoint shows that the event is not being hit with the above handler

 

Any ideas where I am going wrong, thanks

Petar Mladenov
Telerik team
 answered on 19 May 2015
0 answers
114 views

I have a theme project which will contain numerous resource dictionaries (nothing added at this stage), I want to be able to add a reference to this in the main project but I am unsure how to achieve this. Thanks for any help in advance.

WPF / VS 2013

 

Darren
Top achievements
Rank 1
 asked on 19 May 2015
0 answers
139 views

Hi,

is there any simple example where is shown, how so solve my behavior you can see in the attached file?

I habe 6 templates (1: two rows, first row one column, second row 2 coloumns,...) Each Column is a Frame
for a control called Widgets. In my Settings of the application i want the user to choose a template for the
startup. After choosing the template the user should drag and drop a widget to one column of the template.

On the attached file you see the UI and what i want to to. I want to drag a widget out of a listbox or a gridview
and drop it to a container. Before droping the user sees "Drop Widget 2" and after droping there should be the
image and the name of the Widget.

Can you please help me!

Thanks

Best Regards
Rene

ITA
Top achievements
Rank 1
 asked on 18 May 2015
1 answer
128 views
Do you have an example using the Radial Menu with a TreeListView?  I'd like to select a node in the hierarchy and pop a Radial Menu around it.
Kalin
Telerik team
 answered on 18 May 2015
1 answer
638 views

Using c# (not xaml) how do I draw a circle using EllipseData and set the centre to the middle of the circle so I can position it? I don't understand when the documentation says the width and height of EllipseData  are in degrees.

Andrew

Todor
Telerik team
 answered on 18 May 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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?