Telerik Forums
UI for WPF Forum
3 answers
671 views
I am setting the Font and Font color of a RadRichTextBox via the FontFamily and Foreground properties which are bound to properties on a ViewModel. This works quite well when I have the Text property bound to a property on a ViewModel, but when I instead use an HtmlDataProvider to provide the text to the RadRichTextBox, setting the Foreground and FontFamily properties no longer has any effect. 

Is there a way to set the Font and Font color via databinding to either the textbox or the dataprovider or will I have to change the Html to specify the font and color?
Iva Toteva
Telerik team
 answered on 04 May 2012
4 answers
354 views
Hello,

I was wondering if it was possible to customize the visualization of RadTimeline duration items over and above what the TimelineItemTemplate offers.  Would it be possible to create an item visualization that, for instance, organized different data items into specific rows along the timeline?   Also would it be possible to create a visualation that drew a vertical line from the bottom of the timeline control up to the beginning of each duration item as a reference?

Regards,

cm
Tsvetie
Telerik team
 answered on 04 May 2012
6 answers
444 views
Hi,

I have a grid view with a checkbox column representing boolean values (true/false). When I'm trying to add a filter on this column, I see True and False as teh boolean text values. I want to know if it's possible to translate those values?

Thank's
Adam
Top achievements
Rank 1
 answered on 04 May 2012
7 answers
2.6K+ views
Hello telerik team,
                           is there any mouse click event in rad gridview?
In my last wpf project i want to click on radgridview that time the selected row details display on respective controls?

how to get clicked row data in gridview?

can u suggest some sample code here?
Maya
Telerik team
 answered on 04 May 2012
1 answer
153 views
Is there a way to make item labels clickable? If not, Is there any other way to make overlapping items from different series selectable?
Yavor
Telerik team
 answered on 04 May 2012
1 answer
108 views
I have a shape from one Diagram control and I paste it into a second Diagram control, the paste works fine, but there is no guarantee that the shape will be pasted into the visible area of the screen.  Is it possible to address this in some manner?  It would be nice to inspect the shape before it is pasted; I can witness the paste via CommandExecuted but the actually shape I am pasting is not present.
Alex Fidanov
Telerik team
 answered on 04 May 2012
1 answer
302 views
Good morning,

I'm having trouble with the RadListBox Template. For some reason if I insert a grid into a listbox template its formatting is not preserved.

Here's my code:

Template:
<DataTemplate x:Key="AutoCompleteListBoxTemplate">
    <Grid Width="{Binding ElementName=radListBox, Path=Width}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition  />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <TextBlock Text="{Binding Name}" Grid.Column="0" HorizontalAlignment="Stretch"   />
        <TextBlock Text=">>" Grid.Column="1" HorizontalAlignment="Right" Margin="5,0,5,0" />
   </Grid>
</DataTemplate>



RadListBox 
<telerik:RadListBox MinWidth="100" MaxHeight="250" x:Name="radListBox"
                    Grid.ColumnSpan="2" Visibility="Collapsed"
                    HorizontalAlignment="Left" VerticalAlignment="Top"
                    ItemTemplate="{StaticResource AutoCompleteListBoxTemplate}"
                    PreviewKeyDown="radListBox_PreviewKeyDown">
    <telerik:RadListBox.Effect>
        <DropShadowEffect ShadowDepth="10" Color="Gray" Opacity=".4" Direction="320" RenderingBias="Performance" />
    </telerik:RadListBox.Effect>
</telerik:RadListBox>

You will notice that in my template I have grid where I'm trying to force the last column over to the far right of the ListBoxItem. For some reason this isn't working with both columns aligning to the left. If I build the grid not within a ListBox template then it works.
I'm trying to make the last grid items align no matter the length of the content in the column before it.

Could the cause be that I'm using the Office_BlueTheme()?

****** EDIT ********
I tried removing the theme but it doesn't make a difference.

Thank you for your time.

Rob
George
Telerik team
 answered on 04 May 2012
6 answers
508 views
Hi,

I have a problem how to declare the MouseDoubleClick event using XAML in The MVVM pattern. For the the event associated to the RadTreeView I do not have problem. I do like this in my XAML:
<telerik:RadTreeView .......>
  <i:Interaction.Triggers>
   <i:EventTrigger EventName="LoadOnDemand">
    <vm:InvokeDelegateCommandAction Command="{StaticResource loadOnDemandCommand}" 
    CommandParameter="{Binding RelativeSource={RelativeSource Self, Path=InvokeParameter}"/>
   </i:EventTrigger>
  <i:Iteraction.Triggers>
</telerik:RadTreeView>

In the code snippet, I have created a command named  loadOnDemandCommand which is associated to the LoadOnDemandMethod in the viewModel when the LoadOnDemand event fires.

How can I do in XAML to declare a DoubleClick event which fires after double clicking on the RadTreeViewItem.

Thanks for your precious Help.

Alino 

 
Petar Mladenov
Telerik team
 answered on 04 May 2012
2 answers
171 views
Whenever I add a radGridView to a radPane the radGridView seems to inherits the radPane's Context menu as its context menu.  If I right click on a gridView on a radPane it has the context menu of  floating, dockable, tabbed document, auto hide and hide and if I select one of them it will do that to the pane the grid is contained in. Even if I set the gridView context menu to null after InitializeComponent I still have the radPane context menu when I right click on the gridView. It does not do this for other controls on the radPane just the gridView.

How can I stop this from happening?
Thanks
Dev
Top achievements
Rank 1
 answered on 03 May 2012
3 answers
173 views
In running the RadControls demo, I noticed that the older version of the RadTimeBar (Q2 2011) has little left/right arrows in the selection handles, where as the newer version (Q1 2012) does not. Is there a way to turn the arrows back on in the newer version? I've attached a picture of the older demo vs newer demo. The top picture is the new version and the bottom picture is the older version.
Tsvetie
Telerik team
 answered on 03 May 2012
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?