Telerik Forums
UI for WPF Forum
3 answers
192 views
Hi,

I'm working with new 3DLineSeries.

By default, a line has a triangular section. Can I set a round geometry? I want to obtain "a standard circolar tube".

Thanks, 

marc.
Martin Ivanov
Telerik team
 answered on 30 Oct 2018
1 answer
459 views

I am trying to understand how to prevent my LineAnnotation labels from being cut off.  Here is a contrived example.  I realize I could pick different locations but is there some kind of margin I can give the chart to see the text in the cases shown below? See attached image.

 

<Grid x:Name="LayoutRoot">
    <telerik:RadCartesianChart >
        <telerik:RadCartesianChart.HorizontalAxis>
            <telerik:LinearAxis x:Name="horizontalAxis"  >
            </telerik:LinearAxis>
        </telerik:RadCartesianChart.HorizontalAxis>
        <telerik:RadCartesianChart.VerticalAxis >
            <telerik:LinearAxis />
        </telerik:RadCartesianChart.VerticalAxis>
        <telerik:RadCartesianChart.Annotations>
            <telerik:CartesianGridLineAnnotation Axis="{Binding ElementName=horizontalAxis}"
                                                 Value="48"
                                                 Stroke="#f7706c"
                                                 Label="Label Cut Off At Top"                                                 
                                                 StrokeThickness="1" >
                <telerik:CartesianGridLineAnnotation.LabelDefinition>
                    <telerik:ChartAnnotationLabelDefinition Location="Top"                                                               
                                                            HorizontalOffset="4"  />
                </telerik:CartesianGridLineAnnotation.LabelDefinition>
            </telerik:CartesianGridLineAnnotation>
            <telerik:CartesianGridLineAnnotation Axis="{Binding ElementName=horizontalAxis}"
                                                 Value="108"
                                                 Stroke="#f7706c"
                                                 Label="Label Cut Off To the Right"
                                                 StrokeThickness="1"/>
        </telerik:RadCartesianChart.Annotations>
        <telerik:RadCartesianChart.Series>
            <telerik:ScatterSplineAreaSeries >
                <telerik:ScatterSplineAreaSeries.DataPoints>
                    <telerik:ScatterDataPoint XValue="30" YValue="40"/>
                    <telerik:ScatterDataPoint XValue="70" YValue="25"/>
                    <telerik:ScatterDataPoint XValue="100" YValue="20"/>
                </telerik:ScatterSplineAreaSeries.DataPoints>
            </telerik:ScatterSplineAreaSeries>
        </telerik:RadCartesianChart.Series>
    </telerik:RadCartesianChart>
</Grid>

 

 

Martin Ivanov
Telerik team
 answered on 30 Oct 2018
1 answer
154 views

Hello,

is HtmlFormatProvider supports loading images from disk when <a href /> use such an image? Or there is an event when provider is loading image and I could handle it myself to read image from path and put it as base64 in correct place of raddocument?

Best regards,

Jakub

Tanya
Telerik team
 answered on 30 Oct 2018
0 answers
82 views

Hello, i have a problem.

I need to use the Selected Value from the radDateTimePicker in other VB.NET classes.

If I set the Dim as Public Shared i get an error. "Cannot access non-shared Field 'radDateTimePicker' in shared context"

 

How can I use the SelectedValue in the other class?

 

 

Noah
Top achievements
Rank 1
 asked on 30 Oct 2018
1 answer
237 views

I can't seem to find how I can intercept the hyperlink clicked event from a hyperlink in a cell in a RadSpreadSheet .The RadSpreadSheet is inside a RadRibbonWindow, if that makes a difference.

I've tried doing the following, but it does not work:

public MainWindow()
{
    InitializeComponent();
    this.AddHandler(Hyperlink.ClickEvent, new RoutedEventHandler(HyperlinkClicked));

}

private static void HyperlinkClicked(object sender, RoutedEventArgs e)
{

   // Some code

}

 

What is the correct solution to handle when a hyperlink is clicked?

Martin
Telerik team
 answered on 29 Oct 2018
1 answer
175 views

I want to use MaskedTextInput to replace textbox with StringFormat, it is pretty simple.

<telerik:RadMaskedTextInput Text="{Binding SSN, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" InputBehavior="Replace"  Mask="###-##-####" />

I use it to display the SSN in the certain format when I get it from the service. Also I want to update it as well.

At the beginning, it is empty. I tried to insert a random value. But I can only insert the first two number. Sometimes even I can't insert a letter. There is a red X on the right of the textbox, Not sure what is wrong.

Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 29 Oct 2018
3 answers
157 views

Hello,

I am using Telerik testing framework.

I need to test RadVerticalLinearGauge/RadHorizontalLinearGauge and RadRadialGauge that contains RadialScale/LinearScale, GaugeRanges, BarIndicator and Needles.

How can I get their properties like: ticks, colors, values of needle and bar, max, min etc.?

Thank's!

Nikolai
Telerik team
 answered on 29 Oct 2018
14 answers
130 views

Hi,
I'm testing your Outlook Template for visual studio, and I see that by marking an e-mail in the data-grid, you can mark the e-mail as read/unread, which make the font bold for the selected e-mail. But this read/unread command only apply for a single marked e-mail in the data-grid. 

I have now made it possible to mark multiple e-mails in the data-grid, but when I upon read/unread command, only the first e-mail I selected is marked unread/read and the rest is ignored. 
How do I enable the read/unread command to apply for all the selected e-mails?

Is it possible to set the documenthost window empty at application startup, instead of viewing the first mail?

Martin Ivanov
Telerik team
 answered on 29 Oct 2018
2 answers
282 views

Hello!

 

I'm using RadDiagramConnection to draw Line with Arrows. When I set StrokeDashArray to some array, for example "5 1" to draw dashed line, I get this dashed line on the border of my arrows.

So would you be so kind to tell me how I can remove these borders from my arrows please?

This is my code:

<telerik:RadDiagramConnection StartPoint="410,100" EndPoint="100,420"
                                                                  SourceCapType="Arrow1Filled" TargetCapType="Arrow1Filled"
                                                                  SourceCapSize="40,40" TargetCapSize="40, 40" StrokeDashArray="5 1"
                                                                  StrokeThickness="5" Background="White" BorderBrush="Transparent"
                                                                  Stroke="Red"
                                                                  />

Best regards,
Tatiana

Tatiana
Top achievements
Rank 1
 answered on 29 Oct 2018
1 answer
744 views

Hi,

I want radgridview to scroll like Datagid  (ScrollViewer.CanContentScroll="True")

 

<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <DataGrid ItemsSource="{Binding SampleDataList}"  ScrollViewer.CanContentScroll="True" Grid.Row="0" RowHeight="40" />
        <telerik:RadGridView  ItemsSource="{Binding SampleDataList}" Grid.Row="1" ScrollViewer.CanContentScroll="True" RowHeight="40"  />
    </Grid>
</Window>

Dilyan Traykov
Telerik team
 answered on 29 Oct 2018
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?