Telerik Forums
UI for WPF Forum
6 answers
374 views
After dynamically applying a palette to a chart, how do I find the color of a particular series on that chart based on the palette application?

My xaml is as follows:
<Controls:RadCartesianChart x:Name="chart" Palette="{Binding SelectedPalette, Mode=TwoWay}" >

If the value of  SelectedPalette changes, I want to know the resulting color of any given Series in the chart's  SeriesCollection in my xaml.cs. The types of these charts may be BarSeries, LineSeries or AreaSeries .

Thanks
Petar Marchev
Telerik team
 answered on 13 Jul 2015
13 answers
2.5K+ views
I created a GridViewDataColumn in my MVVM WPF project with CheckBox as its CellTemplate, properly bound to a boolean property of the DataContext. When I tick the check-box for the currently-selected row, everything works fine. But when I do it for a different row, the current selection does not move to that row (as it would when clicking on a text field, for instance) even though the view-model item for that row gets updated about the check-box state change.
I tried several solutions with no help, such as:
http://www.telerik.com/forums/problem-with-gridviewcheckboxcolumn-in-wpf
http://www.telerik.com/forums/propagating-gridviewcheckboxcolumn-selection-to-datamemberbinding-in-edit-mode
http://www.telerik.com/forums/gridviewcomboboxcolumn-update-on-change

Can you think of any reason this would happen?
Dimitrina
Telerik team
 answered on 13 Jul 2015
3 answers
598 views

Here is my Checkbox in RadGridView which is not implemented in MVVM. I would like to implement this MVVM.

I used interaction triggers but the command is not getting fired. How can I do this ?

<telerik:GridViewDataColumn Header="Delete" Width="60">
        <telerik:GridViewDataColumn.CellTemplate>
            <DataTemplate>
                <CheckBox HorizontalAlignment="Center" IsChecked="{Binding IsDeleted, Mode=TwoWay}" >
                    <i:Interaction.Triggers>
                        <i:EventTrigger EventName="Checked">
                            <cmd:EventToCommand Command="{Binding DiagramChecked}" />
                        </i:EventTrigger>
                    </i:Interaction.Triggers>
                </CheckBox>
            </DataTemplate>
        </telerik:GridViewDataColumn.CellTemplate>                  
    </telerik:GridViewDataColumn>
<telerik:GridViewDataColumn Header="Delete" >
  <telerik:GridViewDataColumn.CellTemplate>
      <DataTemplate>
          <CheckBox IsChecked="{Binding IsDeleted, Mode=TwoWay }" Checked="ToggleButton_OnChecked"  Unchecked="ToggleButton_OnUnchecked">
          </CheckBox>
      </DataTemplate>
  </telerik:GridViewDataColumn.CellTemplate>
 </telerik:GridViewDataColumn>  

Dimitrina
Telerik team
 answered on 13 Jul 2015
3 answers
168 views

In this thread http://www.telerik.com/forums/prism-and-rad-window you have a demo for how to use a RadWindow as the main window.  However, when you switch to using the NoXAML dlls, the window does not show.  I should also note that I am currently using the demo version, in case that matters.  Thanks for any help with this!

Steve
Top achievements
Rank 1
 answered on 10 Jul 2015
1 answer
156 views

Hi,

 when I export a document as pdf I obtain always a giant file.

So I executed this simple test, I loaded a xaml 214Kb doc file, I save it as Pdf and I obtain a 4257Kb file!!

 Why?

Working with real files that contains 100/200 images I obtain files over 1 Gb.  

Thank's marc.

Boby
Telerik team
 answered on 10 Jul 2015
3 answers
756 views

Hi,

We have customised the RadListBox control for our use and are also using CollectionViewSource for grouping. The problem is that the vertical scroll is not showing when there is only a single group.

If there are more than one groups the vertical scroll appears as usual when needed.

We are using a WrapPanel for the ItemsPanelTemplate and have disabled the Horizontal Scrollbar so the items are only stacked vertically when the control is resized.

Please suggest what can be wrong.

 

Regards

Apar

Geri
Telerik team
 answered on 10 Jul 2015
5 answers
266 views
Hi,

I want to change theme for the entire wpf application. I am using RadControls for WPF Q3 2012. When use (in MainWindow.xaml.cs)
StyleManager.ApplicationTheme = new VistaTheme();
Compiler gives,
Error    1    The name 'StyleManager' does not exist in the current context.
Error    2    The type or namespace name 'VistaTheme' could not be found (are you missing a using directive or an assembly reference?)

I notice that the Telerik.Windows.Themes.Vista.dll is not added. However Telerik.Windows.Themes.Vista.dll can not be found (it is not in Binaries directory). I need help on this. Thanks.

York


Dimitrina
Telerik team
 answered on 10 Jul 2015
8 answers
301 views

Hi~

As following picture, selected row of radgridview does not display!

Applied Theme is VisualStudio2013.

Give me some hint! plz.

version is 2014. q3.

 

 <telerik:RadGridView x:Name="datas"
        AutoGenerateColumns="False" 
        CanUserFreezeColumns="False" 
        CanUserResizeColumns="True"
        ShowGroupPanel="False"
        RowIndicatorVisibility="Collapsed"                 
        AutoExpandGroups="True"        
                IsReadOnly="False"
                FontFamily="{Binding ElementName=control,Path=FontFamily}"  
                FontSize="{Binding ElementName=control,Path=FontSize}"  
                FontWeight="{Binding ElementName=control,Path=FontWeight}"

 

​

Stefan
Telerik team
 answered on 10 Jul 2015
3 answers
173 views

Hello,

 I want to customize the appearance of the panzoombar, can you help me to do it?

I use the version of Telerik.Windows.Controls.Chart.dll is 2012.2.1503.40.

 Thanks

Martin Ivanov
Telerik team
 answered on 10 Jul 2015
3 answers
338 views

Hi 

I set ItemSource property of the RadGridView from the code behind as 

 tTaxoGrid.ItemsSource=taxoTable

The binding occurs in GridViewDataColumns but it fails in RowDetailsTemplate. Following is the XAML I am using. Here txtRemarks is empty.

Even if I use the same binding property as in GridViewDataColumns (e.g, Species), that also fails displaying in RowDetailsTemplate.

 

Please assist me in this regard

Thank you

 

<Grid.Resources>
            <DataTemplate x:Key="RowDetailsTemplate">
                                    <TextBlock Name="txtRemarks"  Text="{Binding Remarks}" />
            </DataTemplate>
 </Grid.Resources>

 

<telerik:RadGridView Name="tTaxoGrid"   RowDetailsTemplate="{StaticResource RowDetailsTemplate}" AutoGenerateColumns="False">

            <telerik:RadGridView.Columns>

                  <telerik:GridViewToggleRowDetailsColumn />

                         <telerik:GridViewDataColumn Header="ID" IsVisible="False" DataMemberBinding="{Binding ID}" />

                         <telerik:GridViewDataColumn Header="Species"  DataMemberBinding="{Binding Species}" />

                        <telerik:GridViewDataColumn Header="Common Name" DataMemberBinding="{Binding Common_Name}" />

                         <telerik:GridViewDataColumn Header="Sub Order"  DataMemberBinding="{Binding Sub_Order}" />

                          <telerik:GridViewDataColumn Header="Family"    DataMemberBinding="{Binding Family}" />
       
            </telerik:RadGridView.Columns>

        </telerik:RadGridView>

Stefan
Telerik team
 answered on 09 Jul 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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?