Telerik Forums
UI for WPF Forum
0 answers
133 views
Hi!

I'm implementing a POC by using the excellent RadCartesianChart component and I got a requirement regarding the LineSeries style: when using an annotation bound to the HorizontalAxis, is it possible to customize the LineSeries' style so it can be different between both sides of the annotation?

I've attached an image that shows what I have achieved so far. On the right side of the annotation I need to show the LineSeries as striped, instead of solid (the left side will remain solid).

Is it possible to have multiple styles by using only one series?

Thanks in advance,

Fred
Fred
Top achievements
Rank 1
 asked on 25 Feb 2015
0 answers
60 views
Hi!

I'm implementing a POC by using the excellent RadCartesianChart component and I got a requirement regarding the LineSeries style: when using an annotation bound to the HorizontalAxis, is it possible to customize the LineSeries' style so it can be different between both sides of the annotation?

I've attached an image that shows what I have achieved so far. On the right side of the annotation I need to show the LineSeries as striped, instead of solid (the left side will remain solid).

Is it possible to have multiple styles by using only one series?

Thanks in advance,

Fred
Fred
Top achievements
Rank 1
 asked on 25 Feb 2015
1 answer
109 views
Hello,

My VisualizationLayer has the setting ClusteringEnabledThreshold="11", but clustering continues at higher zoom levels (e.g., at 18).  Setting the ClusteringEnabledThreshold does not seem to stop clustering.  (I suspect I'm mis-interpreting how this parameter is to be used). 

Can you please provide guidance? 

The specific layer definition is:
  <telerik:VisualizationLayer x:Name="mainVizLayer" ItemTemplateSelector="{StaticResource WellSymbolTemplateSelector}"
                                             ClusteringEnabled="True" ClusteringEnabledThreshold="11">
</telerik:VisualizationLayer>

Thank you,
Bob
Pavel R. Pavlov
Telerik team
 answered on 25 Feb 2015
12 answers
169 views
Hello,

when I populate the graph with so many connections outgoing from a specific node, it takes so so so much time!

Here is my graph source

class GraphSource : GraphSourceBase<Node, Link>
        {
            List<Cluster> clusters = new List<Cluster>();
            public GraphSource()
            {
                 Cluster c1 = new Cluster("Cluster1");
                Cluster c2 = new Cluster("Cluster2");
                Cluster c3 = new Cluster("Cluster3");
                Cluster c4 = new Cluster("Cluster4");
                Cluster c5 = new Cluster("Cluster5");
                Cluster c6 = new Cluster("Cluster6");
 
             
                ECU eCU1 = new ECU("ECU1");
                ECU eCU2= new ECU("ECU2");
                ECU eCU3 = new ECU("ECU3");
                ECU eCU4 = new ECU("ECU4");
                ECU eCU5 = new ECU("ECU5");
                ECU eCU6 = new ECU("ECU6");
                ECU eCU7 = new ECU("ECU7");
                ECU eCU8 = new ECU("ECU8");
                ECU eCU9 = new ECU("ECU9");
                ECU eCU10 = new ECU("ECU10");
                ECU eCU11 = new ECU("ECU11");
                ECU eCU12 = new ECU("ECU12");
                ECU eCU13 = new ECU("ECU13");
                ECU eCU14 = new ECU("ECU14");
                ECU eCU15 = new ECU("ECU15");
                ECU eCU16 = new ECU("ECU16");
                ECU eCU17 = new ECU("ECU17");
                ECU eCU18 = new ECU("ECU18");
                ECU eCU19 = new ECU("ECU19");
                ECU eCU20 = new ECU("ECU20");
 
                c1.AddECU(eCU1);
                c1.AddECU(eCU2);
                c1.AddECU(eCU3);
                c1.AddECU(eCU4);
                c1.AddECU(eCU5);
 
                c2.AddECU(eCU1);
                c2.AddECU(eCU6);
                c2.AddECU(eCU7);
                c2.AddECU(eCU8);
                c2.AddECU(eCU9);
                c2.AddECU(eCU10);
                c2.AddECU(eCU11);
                c2.AddECU(eCU12);
                c2.AddECU(eCU13);
 
                c3.AddECU(eCU13);
                c3.AddECU(eCU17);
                c3.AddECU(eCU18);
                c3.AddECU(eCU19);
 
                c4.AddECU(eCU11);
                c4.AddECU(eCU12);
                c4.AddECU(eCU13);
                c4.AddECU(eCU14);
 
                c5.AddECU(eCU15);
                c5.AddECU(eCU16);
                c5.AddECU(eCU17);
                c5.AddECU(eCU18);
 
                c6.AddECU(eCU19);
                c6.AddECU(eCU20);
 
                clusters.Add(c1);
                clusters.Add(c2);
                clusters.Add(c3);
                clusters.Add(c4);
                clusters.Add(c5);
                clusters.Add(c6);
            }
 
 
            public void PopulateGraph()
            {
                foreach (Cluster cluster in clusters)
                {
 
                    Node vNode = new Node() { Width=10,Height=10};
 
                    this.AddNode(vNode);
                    foreach (ECU eCU in cluster.GetECUs())
                    {
 
                        IEnumerable<Node> res = from Node nn in this.Items where eCU.Name.Equals(nn.Content) select nn;
 
                        if (res.Count() == 0)
                        {
                            Node eNode = new Node() { Content = eCU.Name };
                            this.AddNode(eNode);
                            this.AddLink(new Link(vNode, eNode));
                        }
                        else
                        {
                            this.AddLink(new Link(vNode, res.First()));
                        }
 
                    }
                }
 
            }
 
        }


Thanks in advance,
Hassan
          
Hassan
Top achievements
Rank 1
 answered on 25 Feb 2015
1 answer
144 views
Is there way  to show the editing dialog for appointments non-modal?
Rosi
Telerik team
 answered on 25 Feb 2015
1 answer
96 views
Hi,

I'm using the Office2013Theme and I would like to know if something exist to facilitate the drag/drop operation when we have a verry small appointment?

Thank's
Alain
Rosi
Telerik team
 answered on 25 Feb 2015
1 answer
129 views
I am trying to create a menu where the top section is databound, with a divider, and then a couple static items on the bottom  Like this:

Link 1
Link 2
Link 3
----------
Add Link

So the user can delete Links by right clicking.

So is there a way to mix data bound and static items in a menu?
Kalin
Telerik team
 answered on 25 Feb 2015
2 answers
172 views
Hi

I'm trying to use the NoXmal binaries with Prism.

I have a region that contains the RadRibbonTab.  When I inject it into the RadRibbonView region nothing appears.

If I use the normal binaries everything works fine.

When using the NoXmal binaries, I can create a RadRibbonTab in the xmal file and it shows up.

This is the code for the RabRibbonTab view I'm adding to the region

<telerik:RadRibbonTab xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br>        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" <br>        x:Class="TelerikWpfApp1.Views.HomeRibbonView"<br>        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"<br>        Header="Home"><br>    <telerik:RadRibbonGroup Header="Jobs"><br>        <telerik:RadRibbonButton Content="Job List" Command="{Binding OpenJobListCommand}" /><br>    </telerik:RadRibbonGroup><br>    <telerik:RadRibbonGroup Header="Data"><br>        <telerik:RadRibbonButton Content="Sync Data" Command="{Binding OpenSyncViewCommand}" /><br>    </telerik:RadRibbonGroup><br></telerik:RadRibbonTab>


Any ideas?

Thanks

Nick
Nicholas
Top achievements
Rank 1
 answered on 24 Feb 2015
11 answers
263 views
Our users need to be able to enter data in the grids using the number pad which means that I need the Enter key to work like the Tab key for adding data.  I got this close to working using a CustomKeyboardCommandProvider where I assign the Enter key to the Tab key commands.  However, I would actually prefer to only have it work this way if I am inserting a record and let it work as normal if the user is just trying to go back and update a field.  I use the AddingNewDataItem to add a new object when inserting a record.  Is there any way in the CustomKeyboardCommandProvider to know when I am inserting vs updating a record? Or is there a better way to get this to work?

Also, if they are in insert mode, I would like to be able to take them to a new record after the current record is committed. Can I add a BeginInsert command to the list of commands after the Commit to get this to work?  I noticed that the tab key list does not include a CommitEdit command when it wraps from one record to another so I am not sure where to add this BeginInsert?

thanks!! 

Maya
Telerik team
 answered on 24 Feb 2015
6 answers
356 views
I have been going through the Forum and Google tring to find how I get the current Item of the Carousel control.  I need to get one value so that I can proceed to getting my data.  When I pause the program I can see all the item in CurrentItems, but when I try to code CurrentItem.fname that is not an option.  It appear as though this control has changed, but there is still information for the old way along with work arounds that no longer work.  Could you please Help make this Work?

My XAML for just the Carousel is
<telerik:RadCarousel x:Name="RadCarousel"
                                     Background="Transparent"
                                     Margin="10,10,0,0"
                                     Height="72"
                                     VerticalAlignment="Top"
                                     HorizontalScrollBarVisibility="Hidden"
                                     ItemTemplate="{StaticResource CarouselItemTemplate}"
                                     ItemsSource="{Binding}" SelectionChanged="RadCarousel_SelectionChanged"
                                     SelectedItem="{Binding SelectedItem, Mode=TwoWay}">
                    <telerik:RadCarousel.ItemsPanel>
                        <ItemsPanelTemplate>
                            <telerik:RadCarouselPanel Path="{StaticResource horizontalPath}"/>
                        </ItemsPanelTemplate>
                    </telerik:RadCarousel.ItemsPanel>
                </telerik:RadCarousel>

 

 

 




my Code behind is this

public void LoadSalesPerson(object sender, RoutedEventArgs e)
        {
            DataClasses1DataContext conn = new DataClasses1DataContext();
            List<GetSalesPeopleResult> getSalesPeopleResults = (from s in conn.GetSalesPeople()
                                                                select s).ToList();
 
            RadCarousel.ItemsSource = getSalesPeopleResults;
        }
 
        private void RadCarousel_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e)
        {
 
            int index = RadCarousel.Items.IndexOf(RadCarousel.SelectedItem);
            int smm = RadCarousel.ElementAt(index);
             
        }

 

Stefan
Telerik team
 answered on 24 Feb 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?