Telerik Forums
UI for WPF Forum
1 answer
119 views
I'm sorry to say this but, your documentation is lacking for the Diagram.  I start an example but it doesn't give me enough to actually get any success.

From your documentation, I created the following class.  Can you please tell me how I would link all of the nodes created in the loop to the baseN node?  Linking is not covered in this scenario and I can't find documentation or examples on the ObservableGraphSourceBase to understand it:
public class ItemNodes :
    ObservableGraphSourceBase<NodeViewModelBase,
        LinkViewModelBase<NodeViewModelBase>>
{
    public ItemNodes()
    {
        ItemNode baseN = new ItemNode("Base");
        this.AddNode(baseN);
 
        for (int i = 0; i < 10; i++)
        {
            ItemNode n1 = new ItemNode(String.Format("Item {0}", i));
            this.AddNode(n1);
            this.CreateLink(baseN, n1);
        }
    }
 
    public override void AddNode(
        NodeViewModelBase node)
    {
        if (!(node is ItemNode))
        {
            node = new ItemNode("New Item!");
        }
 
        base.AddNode(node);
    }

Joel Palmer
Top achievements
Rank 2
 answered on 21 May 2014
1 answer
92 views
When a user selects an item in the GridView, my application needs to select all others of the same type.  This part is working, the problem I'm having is when the user selects an item of a different type (which I detect in the SelectionChanging event) - I'm unable to clear the existing selection while in the SelectionChanging() event. 

I call GridView.SelectedItems.Clear(), but (I assume because I am in the SelectionChanging event) nothing happens.  Is this a bug, and is there a workaround to clear the GridView selection while in a SelectionChanging event?  Thanks.
Yoan
Telerik team
 answered on 21 May 2014
4 answers
224 views
Working with version 2014.1.224.45. mvvm pattern.

I have a grid inside a tileview.  The grid has its own vert/horiz scrollbars.  with respect to the horizontal scrollbar, there are more columns than what the screen can show so the horiz scroll kicks in.

Now as the user enters data and tabs through the cells, eventually they land in a cell that is off the visible part of the grid (e.g. the right hand side of the columns).  is there anyway to force the grid's scroll bar to scroll to the right so that the cell being edited (tabbed into) will be visible?

we tried a couple of things (my developer did) and no luck.  Perhaps we missed the mark on this one?

Any ideas?
Robert
Top achievements
Rank 1
 answered on 21 May 2014
1 answer
614 views
Hi,

i try to add some png to a custom shape gallery, but without andy success.

MyGallery secondGallery = new MyGallery { Header = "Shapes" };
secondGallery.Shapes.Add(new Switch
{
    SN = "000",
    Content = "Start",
    Height = 50,
    Width = 50,
    Backcolor = "#319b47",
    Forecolor = "#ffffff",
    Geometry = ShapeFactory.GetShapeGeometry(CommonShapeType.EllipseShape),
    Manufacturer = "Manufacturer 2.2"               
});

But i want to set an image instat of Gemoetry. Can you tell me how?

Thanks
Best Regrads
Rene
Martin Ivanov
Telerik team
 answered on 21 May 2014
3 answers
315 views
Hi Guys

I was wondering, is it possible to bind a Collection to a Spreadsheet? For eg if I had a collection ObservableCollection<string> MyCollection , I would be able to bind this a GridView like this -> radGridView1.ItemSource = MyCollection;

Is this type of binding possible with the Spreadsheet control?

Thanking you in advance!

Darryl Chetty
Petya
Telerik team
 answered on 21 May 2014
1 answer
147 views
Hi

I am having an issue with the RadTreeListView. When we have 30+ items in our grid, the scrolling becomes very jerky as the scroller fails to keep up with the pointer. Is there anything we can do about this? We cannot use the RadGridView because we need to display hierarchical data. 

Many thanks

Ed

Boris
Telerik team
 answered on 21 May 2014
9 answers
936 views
Hello,

I am trying to implement MVVM pattern using RadGridView.
I have a People property as the ItemsSource of the Grid.
Now, I also have a SelectedPeople property that I want to bind to the grid (Two Way).
Anyone knows how can that be supported in RagGridView?

Thanks!
Dimitrina
Telerik team
 answered on 21 May 2014
12 answers
140 views
Hi,
Copying from a TFS PBI Description into a rad Rich Text Box does not work.
Could this be due to different rich text formats and is there a way to fix this ?
Thanks
- Chris
Mihail
Telerik team
 answered on 21 May 2014
3 answers
398 views
Hi.

I have one problem.

My source is below.

             <telerik:RadCartesianChart.SeriesProvider>
                <telerik:ChartSeriesProvider Source="{Binding Series}">
                    <telerik:ChartSeriesProvider.SeriesDescriptors>
                        <telerik:CategoricalSeriesDescriptor ItemsSourcePath="Data" ValuePath="Value" CategoryPath="LocalTime">
                            <telerik:CategoricalSeriesDescriptor.Style>
                                <Style TargetType="telerik:LineSeries">
                                    <Setter Property="StrokeThickness" Value="1"/>
                                    <Setter Property="Visibility" Value="{Binding Name , Converter={StaticResource pointFocusConverter}}"/>
                                    <Setter Property="ShowLabels" Value="{Binding Path=DataContext.Ribbon.IsShowLabel, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
                                    <Setter Property="LegendSettings">
                                        <Setter.Value>
                                            <telerik:SeriesLegendSettings Title="{Binding Name}" />
                                        </Setter.Value>
                                    </Setter>
                                    <Setter Property="VerticalAxis">
                                        <Setter.Value>
                                            <MultiBinding Converter="{StaticResource multiVerticalAxisConverter}">
                                                <Binding Path="Data"/>
                                                <Binding Path="DataContext.Series" ElementName="lineChart"/>
                                            </MultiBinding>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </telerik:CategoricalSeriesDescriptor.Style>
                        </telerik:CategoricalSeriesDescriptor>
                    </telerik:ChartSeriesProvider.SeriesDescriptors>
                </telerik:ChartSeriesProvider>
            </telerik:RadCartesianChart.SeriesProvider>


Currently, good work.

But I want to wort setter about [Property="VerticalAxis"]

Now chart is changed by changing [ItemsSourcePath="Data"]

But converter of 'VerticalAxis' do not work.

Why is this not work?

What should I do for working of converter ?

Petar Marchev
Telerik team
 answered on 21 May 2014
1 answer
181 views
Hi,

I have a short question belonging to the the GridLines in a GridView.
Is it possible to format the GridLines inidividual for each row?  (e.g. the width or color).

Thanks

Vanya Pavlova
Telerik team
 answered on 21 May 2014
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?