Telerik Forums
UI for WPF Forum
3 answers
208 views
Hot to programatically expand some item? I would like to do something like:
Items[0].Items[4].Expand()

I know there is a method called ExpandItemByPath but i cannot guess how to use it and documentation says absolutely nothing about it.

Thanks in advance for any help
Kiril Stanoev
Telerik team
 answered on 24 May 2011
1 answer
237 views
Hi,

I'm trying to give my price charts a 'Bloomberg' like look, i.e. I want to fill the area beneath the data series with a LinearGradientBrush.

I tried several options:
a) setting the PaletteBrushes like this:
           
<telerik:RadChart.PaletteBrushes>
  <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
    <GradientStop Color="Red" Offset="0" />
    <GradientStop Color="BlueViolet" Offset="1" />
  </LinearGradientBrush>
</telerik:RadChart.PaletteBrushes>


b) setting Appearance.Fill on the AreaSeriesDefinition like this:
Appearance = new SeriesAppearanceSettings
         {
             Fill = new LinearGradientBrush(Colors.OrangeRed, Colors.Blue, 90)
         }

c) finally by creating a new style for the SelfDrawingSeries object and setting the BackgroundStyle:
<Setter Property="BackgroundStyle">
    <Setter.Value>
        <Style TargetType="Shape">
            <Setter Property="Fill">
                <Setter.Value>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="OrangeRed" Offset="0"/>
                        <GradientStop Color="Blue" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Opacity" Value="0.5" />
        </Style>
    </Setter.Value>
</Setter>

All three approaches produced a visible effect (wow!) but it appears as if only the start color is used to fill the area of the series.

Is there something I'm getting or doing wrong or is this a bug?

Thanks,
Thorsten
Ves
Telerik team
 answered on 24 May 2011
1 answer
660 views
I want set a column to be the font bold in the program-code (not in xaml).

How can i do this?
Vanya Pavlova
Telerik team
 answered on 24 May 2011
1 answer
104 views
Hi, I have line charts place in tabcontrol with the axisx StripLinesVisibility set to visible and the axisy set to collapsed. And everytime i change tab back for forth, I will have the issue of the StripLines flickering. Is this a known bug?
Yavor
Telerik team
 answered on 24 May 2011
2 answers
175 views
Hi,

Is there a way i can set the radcarousel so  my items scroll vertically?  

Thanks!

Bill
Bill Anderson
Top achievements
Rank 1
 answered on 24 May 2011
1 answer
119 views
Hello
            I have a context menu in my gridview, and i need when user do right click on grid view column then i want to select that pertiular column, how can i do it in telerik grid view? What type of event i can capture to do this or is there any another way to do this?
Vanya Pavlova
Telerik team
 answered on 24 May 2011
1 answer
118 views
I have spent a few hours trying to figure out how to find a combobox in myWPF Gridview cell. I need to find it after gridview row is bound. There are no examples out there. It needs to happen in code behind Can anybody help? This is really driving me nuts.
Dimitrina
Telerik team
 answered on 23 May 2011
1 answer
140 views
I have a list of items that are generated based on user selections and I would like to display them on a timebar. I did create a converter to convert from my item to a RadLinearSparkline, but I can not figure out how to attach this Observable collection to display on the RadTimeBar. Is it only possible in the code behind?
Datafyer
Top achievements
Rank 1
Veteran
 answered on 23 May 2011
6 answers
537 views
Hey all,

I am writing an installer. It has a list of commands to execute and I need to show the progress.  I have a quite complex application that I am really using, so I created a sample app.  At first I was using the regular .NET 4 WPF DataGrid, but the .NET 4 DataGrid just wan't behaving stable.  See my recent post on MSND: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/e4eeb10b-8b27-4b26-a435-baa0ae4ea47a/

Anyway, my company has licensed Telerik, I was told, so I thought I would try the Telerik GridView.

I replaced the DataGrid with the Telerik GridView but I can't really even get started because the SelectedItem is not changing when the bound value changes.  It is a readonly bound value and I have it set to mode=oneway.  While debugging the NotifyPropertyChanged("CurrentCommand") is properly called.  This is one part that was working fine with the DataGrid.

Here is my sample app: DataGridExecutionListWithTelerik.zip

My overall goal is to Execute each command.  I must also do the following:
1. Show a progress spinner (which isn't in my sample but is working in my actual app) on the current item.
2. There are so many commands, there is scrolling.  So when it reaches the commands not visible, the GridView should scroll (I am using ScrollIntoView).  Then I need current command inprogress to always be visible.  When finished the item should stay scrolled to the bottom.

I need the SelectedItem to change when it changes in my ViewModel so the event fires so the ScrollIntoView function can be called.
Dimitrina
Telerik team
 answered on 23 May 2011
1 answer
238 views
Hi,
I am using RadGrid with 5 columns, in which one of the column hold Button. Click event of the button is binded using Command using MVVM model .eg(MyButtonCommand). when i click this button i need to show the RowDetailsTemplate. RowDetailsTemplate shows the some information about the row, but i don't have control to bring the Rowdetails when i click the button.

Is there anyway that i can show the RowDetails based on button inside the grid?
Adam Marshall
Top achievements
Rank 1
 answered on 23 May 2011
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?