Telerik Forums
UI for WPF Forum
1 answer
113 views
Which version Pivot grid started with ?
Stefan
Telerik team
 answered on 20 Aug 2018
1 answer
139 views

Excuse me, 
I'm trying to use Milestone WPF player (which makes use of VideoOsPlayer) and I got an exception while removing a bounded item to the TileView itemsource.
I've created a sample project thinking the iussue would be on VideoOs player but they answered me 

Thank you for the sample. It allowed us to reproduce the issue, but unfortunately the behavior we observe is quite strange.
What appears to happen is that the DataContext on the controls we have inside the ImageViewerWpfControl are set to null by something outside our code. Our code has no code for setting these to null and no public properties allowing others to do so, so apparently Telerik is running through the children of the control and setting these?

We tried reproducing using normal WPF controls, but could not.
This is not behavior we expect/support and thus the code has not been designed for it.
One thing we found out is that if you set IsVirtualizing="False" on the Telerik control it will not cause the problem, so even though this is not optimal it is at least a workaround.
Maybe you can reach out to Telerik to ask them about this behavior?

Here you can find the whole thread with the link of the demo project

What's really strange is that setting IsVirtualizing="False" it apperently works...can you please check on your side?

I've used 2018.2.620.45 control version

Thanks in advance

 

 

Martin Ivanov
Telerik team
 answered on 20 Aug 2018
0 answers
83 views

Hello Telerik,

I have an expander inside a user control, which is inside of a raddocking's left pane. What I have done is that, I let the expander to decide the width of the docking's left side. But the problem is that as soon as I change the width of the docking manually (I drag the docking's corner to change its width), the mechanism stops, that is, the expander can not change the width of the docking anymore!

I would like to know why and how I can fix it. Any ideas?

Best Regards

kourosh

Kourosh
Top achievements
Rank 1
 asked on 20 Aug 2018
2 answers
106 views

I have a visualization layer bound to an observable collection of MapShapeData. There is a LineData in it whose initial points are Location.Empty. As I change Point1 and Point2, the line is correctly updated on the map. When I change Point1 and Point2 back to Location.Empty, the line stays on the map. I am expecting it to disappear.

This was the only simliar thread I saw:

https://www.telerik.com/forums/visualizationlayer-location-empty-and-updating

Dilyan Traykov
Telerik team
 answered on 17 Aug 2018
3 answers
208 views
My issue is when I dragging a  to other  and destination item do not change color like the normal case. My  use defined style with a command and command parameter. Someone can help me!
Dinko | Tech Support Engineer
Telerik team
 answered on 17 Aug 2018
8 answers
455 views
HI there,

I am using RadDiagram, where I will have two container shapes (RadDiagramContainerShape) Front and Rear. User will choose a device and drop it into the front/rear block, so a diagram shape will be created and added into front/rear block. But once I added, the parent container shape resized even I added a shape with same width of parent.

How to disable the auto resizing of parent container shape.

Regards,
Jawahar
Martin Ivanov
Telerik team
 answered on 17 Aug 2018
2 answers
120 views

In code-behind it is easy to insert a merge field:

this.radRichTextBox.InsertField(new Telerik.Windows.Documents.Model.MergeField() { PropertyPath = "SomePath"  });

Is it possible, from the viewmodel, to the same thing?

Peter
Top achievements
Rank 1
 answered on 17 Aug 2018
4 answers
296 views

Hi,

When running wpf application,readmap is not seem.I am  reading from .dbf and .shp.But there is not anything on screen. 

 

<telerik:RadMap x:Name="radMap">
                    <telerik:RadMap.Provider>
                        <telerik:EmptyProvider/>
                    </telerik:RadMap.Provider>
                    <telerik:InformationLayer x:Name="informationLayer">
                        <telerik:InformationLayer.Reader>
                            <telerik:MapShapeReader DataSource="/Trial;component/Resources/world.dbf"
                                            Source="/Trial;component/Resources/world.shp">
                                <telerik:MapShapeReader.ToolTipTemplate>
                                    <DataTemplate>
                                        <StackPanel Margin="10,5">
                                            <TextBlock FontWeight="Bold"
                                               Text="{Binding Converter={StaticResource ExtendedDataConverter}, ConverterParameter='CNTRY_NAME'}" />
                                            <TextBlock Text="{Binding Converter={StaticResource ExtendedDataConverter}, ConverterParameter='SQKM', StringFormat='Area: {0:#,#.0} sq.km.'}" />
                                        </StackPanel>
                                    </DataTemplate>
                                </telerik:MapShapeReader.ToolTipTemplate>
                            </telerik:MapShapeReader>
                        </telerik:InformationLayer.Reader>
                    </telerik:InformationLayer>

 

Why is not seem anything on screen? 

eren
Top achievements
Rank 1
 answered on 16 Aug 2018
5 answers
199 views

Hello,

I was wondering if there's a simple way to limit at max 6 items the number of items present inside a LayoutControl? I've added a control inside my ViewModel and I avoid adding more if the Count reaches 6 but the whole space is not occupied

 

Thanks in advance

Stefan
Telerik team
 answered on 16 Aug 2018
2 answers
290 views

Hello all, 

How hide label with value 0 in a RadPieChart ?

Here is my current code (and the result is in attachment) :

<telerik:RadPieChart x:Name="PieChart" Grid.Row="0">
    <telerik:RadPieChart.Behaviors>
        <telerik:ChartTooltipBehavior />
    </telerik:RadPieChart.Behaviors>
    <telerik:RadPieChart.Series>
        <telerik:DoughnutSeries ItemsSource="{Binding GraphItems}" ValueBinding="Value" ShowLabels="True">
            <telerik:DoughnutSeries.TooltipTemplate>
                <DataTemplate>
                    <Border Background="Black" Padding="5" TextElement.Foreground="White">
                        <StackPanel>
                            <TextBlock Text="{Binding DataItem.Label}" />
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding Value}" FontWeight="Bold" />
                            </StackPanel>
                        </StackPanel>
                    </Border>
                </DataTemplate>
            </telerik:DoughnutSeries.TooltipTemplate>
            <telerik:DoughnutSeries.SliceStyles>
                <Style TargetType="Path">
                    <Setter Property="Fill" Value="{Binding DataItem.Color}" />
                </Style>
            </telerik:DoughnutSeries.SliceStyles>
            <telerik:DoughnutSeries.LabelDefinitions>
                <telerik:ChartSeriesLabelDefinition Margin="9 0 0 0" DefaultVisualStyle="{StaticResource LabelStyle}">
                    <telerik:ChartSeriesLabelDefinition.Binding>
                        <telerik:PropertyNameDataPointBinding PropertyName="Value" />
                    </telerik:ChartSeriesLabelDefinition.Binding>
                </telerik:ChartSeriesLabelDefinition>
            </telerik:DoughnutSeries.LabelDefinitions>
        </telerik:DoughnutSeries>
    </telerik:RadPieChart.Series>
</telerik:RadPieChart>

 

Thx,

 

 

 

 

Julien
Top achievements
Rank 1
 answered on 16 Aug 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?