Telerik Forums
UI for WPF Forum
1 answer
96 views
I have an InformationLayer that contains points through a LocationCollection property in a view model. When I call the Clear() method on the LocationCollection, the lines on the map don't go away (even if I zoom in or out). My InformationLayer XAML looks like the following. As mentioned, MyPolyline is a LocationCollection:

<telerik:InformationLayer>
    <telerik:MapPolyline Points="{Binding MyPolyline}" Fill="Transparent" Stroke="Teal" StrokeThickness="1" />
</telerik:InformationLayer>

It appears I'm running version 2011.2.920.40. I have confirmed the MyPolyline.Count property is 0 after calling the Clear() method, but as mentioned, the lines on the map don't go away.
Andrey
Telerik team
 answered on 18 Oct 2011
1 answer
227 views
Based on a recent response, I now understand that you use the WPF Image class for rendering the underlying image specified in the UriImageProvider. However, on large images I run into performance issues. Normally, I can use something like: 

RenderOptions.SetBitmapScalingMode(oImage, BitmapScalingMode.LowQuality)

But I am not sure how to do this when working with the UriImageProvider.

Thanks,
Seth

Andrey
Telerik team
 answered on 18 Oct 2011
3 answers
167 views
when a gridview's vertical scrollbar is visible, if you just scroll to the bottom and clicked some grouping headers to collapse or expand the group as you will, after clicked some times, there would be a blank margin bettwen the header row and the first group, sometimes the grouping indicator(the triangle shape) also in wrong status.
Vera
Telerik team
 answered on 18 Oct 2011
1 answer
84 views
Hi,

In my scenario, the user will select a list of slots by holding left mouse button and Ctrl key from the keyboard. Once the mouse button is up the selected slots will be set as working hours for the respective resource. And the background color of the slots should be changed to some other color. How to achieve this? Any Help...

Regards,
Jeyakumar
Pana
Telerik team
 answered on 18 Oct 2011
1 answer
180 views
hello, i have one main menuitem with submenuitems. how can i open / expand the submenu automatically on
right mouse click? the property issubmenuopen is readonly.
thanks for help ...


Yana
Telerik team
 answered on 18 Oct 2011
2 answers
198 views
Hi All,
I have inserted an image into RadRichTextBox...Can i access the path of this image, the location from where i inserted it? Is there some Property to access path of inserted image(s)?

Iva Toteva
Telerik team
 answered on 18 Oct 2011
1 answer
144 views
I am using SortDescriptor  for multi column sorting in TreeListView. My requirement is there is a context menu appearing on columns cells with option like "Sort Ascending" & "SortDescending". When user right click on any cell then i find the corresponding column and add to SortDescriptor. So now when i add the column to SortDescriptor then the column header is highlighted with a small tringle. This is working fine for multiple columns.

My Problem is suppose I have 10 columns out of which I have added three columns to SortDescriptor and now 3 column header are highlighted. This is done by right click context menu. Now user directly click on 4th column header to sort. In that case the previous 3 columns are removed from SortDescriptor automatically and the user clicked column only highlighted. In my case I need to show all those 4 columns highlighted with 4 values in SortDescriptor. Please help me how I will be able to do.

Thanks
Ivan Ivanov
Telerik team
 answered on 18 Oct 2011
1 answer
195 views
Hi,
we are evaluating RadRichTextBox at the moment, because we have some specifice requirements.

We wanna show a textbox where the user can enter simple text, but furthermore we have some custom links in the text. This links point to another item in our application.

This can look like this:

"[X] is doing [Y]" where [X] and [Y] are two links. The source of this links are simple Ids, but we also wanna shows some custom tooltip.

I guess that I can do this using a InlineUIContainer.
 
The second requirement is that we wanna support Intellisense for the links, how can we do this and is there any example for this requirement?
Boby
Telerik team
 answered on 18 Oct 2011
8 answers
129 views
Hi,
I've a bar graph which can contain from only one value to a hundred values and the bars and the axis labels are too small to be readable. So i've modified my xaml to use a scrollviewer but tha's not enough : the scrollbars appears too late; the axis label are still too small.
How can i change the threshold making the scrollbars visible ?
Sample
Thanks

- Cedric -

<telerik:RadChart x:Name="RadChart1" ItemsSource="{Binding Data}" UseDefaultLayout="False">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
  
                <Grid Grid.Row="1">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <TextBlock Text="{Binding ElementName=chartArea, Path=ActualWidth, StringFormat=AreaWidth \{0\}}"/>
                    <TextBlock Text="{Binding ElementName=chartArea, Path=ActualHeight, StringFormat=AreaHeight \{0\}}"
                               Grid.Column="1" />
  
                    <TextBlock Text="{Binding ElementName=RadChart1, Path=ActualWidth, StringFormat=WWidth \{0\}}"
                               Grid.Row="1" />
                    <TextBlock Text="{Binding ElementName=RadChart1, Path=ActualHeight, StringFormat=WHeight \{0\}}"
                               Grid.Row="1"
                               Grid.Column="1" />
  
                    <telerik:ChartLegend x:Name="legend"
                                         Grid.Column="2" Grid.RowSpan="2"
                                         ItemsPanelOrientation="Horizontal"
                                         BorderThickness="0"
                                         Padding="5,0"
                                         Header="" />
                </Grid>
                <ScrollViewer HorizontalScrollBarVisibility="Auto"
                              VerticalScrollBarVisibility="Auto">
                    <telerik:ChartArea Grid.Row="0"
                                       x:Name="chartArea"
                                       Legend="{Binding ElementName=legend}"
                                       EnableAnimations="False"
                                       Padding="5,10,20,10">
                        <telerik:ChartArea.AxisX>
                            <telerik:AxisX  />
                        </telerik:ChartArea.AxisX>
                    </telerik:ChartArea>
                </ScrollViewer>
            </Grid>
                  
            <telerik:RadChart.SeriesMappings>
                <telerik:SeriesMapping LegendLabel="Close"
                                       ChartAreaName="chartArea">
                    <telerik:SeriesMapping.SeriesDefinition>
                        <telerik:HorizontalBarSeriesDefinition ShowItemLabels="True" />
                    </telerik:SeriesMapping.SeriesDefinition>
                    <telerik:SeriesMapping.ItemMappings>
                        <telerik:ItemMapping FieldName="Name"
                                             DataPointMember="XCategory" />
                        <telerik:ItemMapping FieldName="Value"
                                             DataPointMember="YValue" />
                    </telerik:SeriesMapping.ItemMappings>
                </telerik:SeriesMapping>
            </telerik:RadChart.SeriesMappings>
        </telerik:RadChart>
Yavor
Telerik team
 answered on 18 Oct 2011
2 answers
173 views
On our RadMap we have some layers. The layers contain some objects/mapItems.
All these objects have tooltips and when moving the mouse over an object the cursor changes to a hand-cursor and the ToolTip shows..

This works fine.
But...
When ScaleVisibility = "Visible" this won't work for objects which are placed in the bottom of the map. Or you can say: it doesn't work for objects lying on or under the same height as the ScaleBar.
When ScaleVisibility = "Collapsed" all the objects are working OK.
Could this be a bug in the z-index of the Scalebar?

For your information:
     <DataTemplate.Triggers>
            <Trigger SourceName="pin" Property="IsMouseOver" Value="true">
                <Setter Property="Cursor" Value="Hand"/>
            </Trigger>
        </DataTemplate.Triggers>
Rieni De Rijke
Top achievements
Rank 1
 answered on 18 Oct 2011
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?