Telerik Forums
UI for WPF Forum
1 answer
190 views
Hello

I'm using 2009 Q1 WPF RadControls,
How would I achieve the same functionality for my RadTreeView that the following code would perform for WPF TreeViews?

        <Style TargetType="{x:Type TreeViewItem}">
            <Style.Resources>
                <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="#ffa7cdf0"/>
                <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="#ffa7cdf0"/>
            </Style.Resources>
        </Style>

In other words, how would I change the style (colour in this case) of the Highlight brush of TreeViewItems from golden to something else? Also, please show me how to change the inactive (i.e. highlight colour when focus is lost) colour.

Many thanks





Dimitrina
Telerik team
 answered on 15 Apr 2009
3 answers
72 views
How do I make the group panel shorter?
Kalin Milanov
Telerik team
 answered on 15 Apr 2009
1 answer
132 views
I have seen the example of Binding to the SelectedRecords proerpty for the GridView. What I~27d really like to be able to do though is be able to retrieve the selected items as their underlying object type purely in XAML through a binding statement. The problem this currently has is that the SelectedRecords property is a SelectedRecordsCollection and so in the code behind I need to do something like this.~3cbr /~3e ~3cbr /~3e from record in myGrid.SelectedRecords~26nbsp~3b ~3cbr /~3e select ~28record as DataRecord~29.Data as MyObjectType~3cbr /~3e ~3cbr /~3e Is there anyway to get an IEnumerable~26lt~3bMyObjectType~26gt~3b without using code behind~3cbr /~3e ~3cbr /~3e Cheers~3cbr /~3e ~3cbr /~3e Justin
Milan
Telerik team
 answered on 15 Apr 2009
1 answer
117 views
Instead of always making all of the tabs smaller to get them to fit on the tabcontrol, does the tab control support scrolling tabs?


Valentin.Stoychev
Telerik team
 answered on 15 Apr 2009
1 answer
281 views
Hi,

I have a Dictionary:

public Dictionary<string, Unit> Template { get; set; } 

And I'm trying to bind it to my grid:

myGrid.ItemsSource = myInstance.Template; 

So far it works, but when I try to add or edit new rows, I'm not able to edit any cell. I've tried every combination of DataMemberBinding, DataMemberPath, object creation in the AddingNewDataItem event, Anonymous types, etc. with no success.

Is there a way to bind a Dictionary to a grid and create new entries for it?





Pavel Pavlov
Telerik team
 answered on 14 Apr 2009
3 answers
258 views
As far as i can see, the chart always renders and scales the chart area after each DataPoint addition.
1. Can i determine a fixed scale for my axes ?
2. Can i control the chart drawing rate (i do not need the animation) ?
3. Do you have performance issues ?
Ves
Telerik team
 answered on 14 Apr 2009
9 answers
358 views
I downloaded WPF Q1 2009 release and noticed

I application I built using the previous release does not work 100% as it is supposed to. I have a grid with MultiSelection enabled and it supported Shift+ and Ctl+ key cmobinations. After upgraded to Q1 2009, Ctl+ key is not supported and it does not select the row was clicked.

I'm able to iterate through rows and columns using new release but noticed the grid does not support extended method to process rows or columns by conditions like as mentioned in here http://blogs.telerik.com/vladimirenchev/posts/09-02-03/Easy_programmatic_UI_customization_for_WPF_and_Silverlight.aspx . I don't even see the extended methods First(), Where() ...being recognized by VS IDE/Intellisense. Hopefully I don't miss any necessary references or namespaces....?

How to add <ComboBox> in colum header and write event to set value in all rows on Header combox item changed event and select the rows only have specific cell value?

How to conditionally format rows and columns?

How can I add pagination controls on top of Grid like in Group by selection area?

I really like Telerik controls but I thing there is no enough documentation on how to use advanced features... Please provide answers ASAP to complete my prototype.
Vlad
Telerik team
 answered on 14 Apr 2009
5 answers
162 views
I couldn't see any procedure for using Silverlight controls in WPF, is this possible? 

If not, please could you indicate any plans for providing those controls that are in Silverlight but not in WPF - there shouldn't be a subset in WPF, the other way round would be understandable.  Why should my WPF app be poorer than a Silverlight one?

The logic for having the commonality is obvious from a code re-use perspective.

Thanks
John Baker

.Net 3.5sp1
Vista
Q3 2008 SP1 WPF & Silverlight control libraries.
Ivan
Telerik team
 answered on 13 Apr 2009
5 answers
125 views
While trying to navigate the record collection programmatically, I found this thread: Record Navigation. This works well for me, unless when the data is grouped. This happens because the internal (hierarchical) structure of the Record collection changes. Is there some way to get an IndexOf when that happens, or am I better off trying to find it myself using recursion?

Thanks in advance
Milan
Telerik team
 answered on 13 Apr 2009
2 answers
150 views
Hi,
I think there is a bug in your Radgrid control. When I use the ToHtml() or ToCsv() with a filter then it take all the data.

If I have grid, with lets say 100 records and I then make a filter ( the build in) so I only have 2 records shown and then make the export to word (ToHtml)
Then I end up with a word Doc with a nice header and 2 records perfect formattet but I also have the rest of the record as one long text string.
The same problem is with the ToCsv.

Henrik Holte
Top achievements
Rank 1
 answered on 13 Apr 2009
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?