Hi all,
I can't find even one simple example that shows how to do that.
I need to put an item on the panel (I don't care if it's Listbox or TextBlock or RichTextBox) that will let me add lines of text while running, from the ViewModel code, each line with a color that I choose.
For example:
"This is red line of text" (this text will be red)
"This is blue line of text" (this text will be blue)
What it the simplest way to do that ?
Thanks very much!
(It's in WPF - MVVM)
I just updated my controls to the latest release (2016.1.112.45). The issue does NOT occur when I roll back to the previous version. That said, I am stumped as to what is going on.
I have a RadTabControl, inside which sit three tabs: Product, Item, PLU
Each tab has its own busy indicator. I have a method to show/hide the content of a specific tab along with its associated busy indicator. The product tab works fine. It shows and hides the product tab and busy indicator, using the Office Black theme.
In design mode, I set the Item busy indicator to VISIBLE for testing and layout purposes and it looks great. See the attached design image. However, when I run my application, the text is visible, but the circular progress bar does not show. See the attached image showing the indicator of a running application.
I have tried everything from Z-index to relocating the indicator. I refuse to create a custom template, especially since it works for the product tab, just not the other two. Below is the relevant code snippet.
<
telerik:RadTabControl
Name
=
"ProductSetup"
>
<
telerik:RadTabItem
Name
=
"ProductTab"
Header
=
"Product"
IsSelected
=
"True"
>
<
Grid
>
<
ScrollViewer
Name
=
"prodMainContainer"
HorizontalScrollBarVisibility
=
"Auto"
>
<-- PRODUCT XAML... -->
</
ScrollViewer
>
<
telerik:RadBusyIndicator
Name
=
"prodBusyIndicator"
Visibility
=
"Collapsed"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
IsBusy
=
"True"
/>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
Name
=
"ItemTab"
Header
=
"Item"
>
<
Grid
>
<
ScrollViewer
Name
=
"itemMainContainer"
HorizontalScrollBarVisibility
=
"Auto"
>
<-- ITEM XAML... -->
</
ScrollViewer
>
<
telerik:RadBusyIndicator
Name
=
"itemBusyIndicator"
Visibility
=
"Collapsed"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
IsBusy
=
"True"
/>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
Name
=
"PluTab"
Header
=
"PLU"
>
<
Grid
>
<
ScrollViewer
Name
=
"pluMainContainer"
HorizontalScrollBarVisibility
=
"Auto"
>
<-- PLU XAML... -->
</
ScrollViewer
>
<
telerik:RadBusyIndicator
Name
=
"pluBusyIndicator"
Visibility
=
"Collapsed"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
IsBusy
=
"True"
/>
</
Grid
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
Thoughts?
Sean~
if you click it, then you might see that the AutoHideArea stays open and the hyperlink works.
However, if you hide the autohide by clicking on another pane, and then hovering on the autohide pane header (so it will open), and click on the hyperlink, then there is a good chance that the autohide area will code immediately, and that the hyperlink will not execute.
I have traced this issue to be a focus issue, and I have "fixed" it by registering to a mouse down (or preview mouse down) on the hyperlink, and then setting focus on the first focusable ancestor.
Hi,
I just started using the RadDocking control in my project. The XAML designer shows the error "ContextMenuTemplate should contain a RadContextMenu as root element". Blend 2013 is not showing the page designer because of this issue. But the project is compiling and running without any issue.
Please find the attached image for the code.
Thanks in advance
Rabeek Ahamed
Please download an example using a TiledMapSource and the OSGB1936Projection (setting it in OSGBTileProvider) here: https://dl.dropboxusercontent.com/u/1738032/RadMapMbtilesDemo.zip.
The following isn't working as expected:
* Center point conersion using the OSGB36Converter isn't correctly setting the center point
* Zooming in will not render tiles/not render them at the correct position.
Can you please tell us if we've got anything wrong/if there's a fix we need to download.
We have consumed RadSlider control in one of our application.While automating that , Rad Slider Control displayed in Inspector tool as UICustom control and Object is found through automation. But slider control properties like position, maximum ,minimum and Slide are not showed.
If we declare the control as UISlider in automation, slider properties are showed but RadSlider control is not identified as it is UICustom control.
Could you please Provide new RadSlider control with UISlider type Instead UICustom.
Hi,
I have RadListBoxes that represents categories. Each of these RadListBox contains items that can be dragged to another category. Only one item can be selected across all the RadListBox. When I drag an item from a category to an other, the category from where I drag set selected to an item that it contains. Is there a way to prevent that behavior because I would like that the dragged item stays selected.
I attached a sample solution that represent the situation : drag an item from category A to another category and the selected item should be the dragged item in the drop category.
Thank you,
Etienne
Hi,
is there a easy way to show the appointments in a DataGrid or a similar simple listing and integrate this view as a ViewDefinition to reuse the grouping and filtering abilities from ScheduleView?
Thanks
I have a radgridview, where I use IsReadOnlyBinding on some columns to make specific cells readonly dependent on the dataitem of the row.
However, I would like to give my users a visual clue that they cannot change the values (by setting the background color to grey in the cell style).
I can do this by binding to the same property on the dataitem of the row, but is it possible to do by binding to a property on the GridViewCell?
That way I could make a solution-general cell style in a resouce dictionary and have all my readonly cells go grey.
Thanks!
Basically i need to combine the ability to display multiple events or GanttTasks on a single line and at the same time to set different colors depending on task-'type'. The SDK Samples contain both options (SameRowRecurringTask, TasksWithDifferentColors).
I encountered following issues trying to combine the abilities:
The attached image shows what i need.