Telerik Forums
UI for WPF Forum
0 answers
116 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
145 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
252 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
530 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
156 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
349 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
297 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
359 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
1 answer
362 views

Hi,

I want to stop the user the ability to undock.

i.e - to turn off drag and drop.

How can we achieve this ?

Thanks,

Ian

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Aug 2018
5 answers
219 views

     Hi,

I am having problems displaying Histogram(bar series) with Points(point series) within them in a CartesianChart in WPF.

If I declare only one single Horizontal axis(Categorical) for both the series, then the series are appearing one after another horizontally.

If I declare two separate axis(categorical) for both, then the scales arent getting adjusted equally.

I would want to achieve such that either both share a single Horizontal axis and both series are drawn overlapping or

let both series have two separate axis and their scale is equvivalent.

How do I achieve this?

Dinko | Tech Support Engineer
Telerik team
 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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?