Telerik Forums
UI for WPF Forum
3 answers
213 views
Hi,

I see there is IsSelected property for the docking.  Is there a Selected event for the docking tabs? 

A selected event should be triggered everytime a tab is selected (and was not previously selected).  I using a GotFocus as a workaround, but is not what I need, as it get triggered several times.  I also tried the native Selector.Selected event, but it doesnt work.

J
Miroslav Nedyalkov
Telerik team
 answered on 10 Mar 2011
1 answer
262 views
I've got a scenario where I want to combine the features of masked text input with a combobox.  I have a data entry field which expresses a ratio (i.e., "100:5"), and for the moment am just using a non-editable combobox with some preset ratios. What I'd love is an editable combobox that used masking (i.e., "###:#") so that the user can either select a preset value, or enter their own within the constraints of the ratio format.

Only way I see to do this is use a RadMaskedTextBox along with a button that exposed a list.  I.e., build a Combobox out of parts, with all the pain and suffering that entails.

Or am I missing something?
George
Telerik team
 answered on 10 Mar 2011
1 answer
180 views
hi
How can change alert icon?
Yana
Telerik team
 answered on 10 Mar 2011
1 answer
68 views
If you have the MouseDragBehavior set to Select, is there anyway to cancel this, for example with the Escape key once you have started?

Thanks
Simon
Andrey
Telerik team
 answered on 10 Mar 2011
11 answers
376 views

We are populating Carousel control with multiple Radchart at runtime.

 

In XAML code  one single RadChart is defined in the DataTemplate  and that DataTemplate is the ItemTemplate of the RadCarousel

 

In the code behind we are binding the RadCarousel with Collection of data. Each item in the collection corresponds to one RadChart data.

 radCarousel.ItemsSource = CountyComparisonList();

Each CountyComparison class has a DataSeries property and we are populating DataSeries with multiple data point as bar series and adding in the Collection.

 Say first object in the collection gets populated with 6 data point and second object has two data point  and third has  one data point. So we need to change the width of each Radchart because they dont have equal number of bars.
In each rad chart we are displaying multiple bar series.

Problem is we are not able to adjust width and height of each individual RadChart populated in the RadCarousel.
How do we do that?

Thanks in advance for any Help

Manidipa

Milan
Telerik team
 answered on 10 Mar 2011
1 answer
90 views

I´m trying to set styling on RichTextBox, but no styling is applied. Telerik styling is not supported for RichTextBox?

My code example:

<Window x:Class="Richtextboxstyling.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <RichTextBox  telerik:StyleManager.Theme="Office_Silver"
                     Height="140"
                     VerticalScrollBarVisibility="Auto" 
                     HorizontalAlignment="Stretch" 
                     VerticalAlignment="Stretch"  />
    </Grid>
</Window>

Iva Toteva
Telerik team
 answered on 10 Mar 2011
1 answer
69 views
Good morning,

I'm currently looking quite closely at the WPF RichTextBox in regards of using it in a project for a customer, but I know some of its users are actively using images in their documents and placing them 'freely' in the document (as in not only aligned left/center/right) etc, but using Word's textflow, margins etc options to keep images inline with the text.

Is anything like that planned for the RadRichTextbox?

All the best,
-Jörg
Iva Toteva
Telerik team
 answered on 10 Mar 2011
3 answers
303 views

I have a Prism app which uses the BackGroundWorker for loading data into a DataTable and then binding the DataTable.DefaultView to the ItemSource of a RadGridView.  Often when I start the application, I get blank rows added into the grid.  Any idea why I get blank rows when I run the application sometimes but see actual data other times?  See XAML below:

<UserControl x:Class="OrganizationalUnitModule.Views.OUList"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:my="clr-namespace:OrganizationalUnitModule.Presenter"
             xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
             xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.DataContext>
        <my:OUListBWPresenter/>
    </UserControl.DataContext>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="80"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="600"/>
        </Grid.RowDefinitions>
        <Border Grid.Row="0" Margin="0,0,0,0" VerticalAlignment="Top" Height="80" Width="Auto">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
                    <GradientStop Color="#FFEEF3EB" Offset="1"/>
                    <GradientStop Color="#FF0B72B4"/>
                    <GradientStop Color="#FF549BC5" Offset="0.323"/>
                    <GradientStop Color="#FFA4C9D8" Offset="0.677"/>
                </LinearGradientBrush>
            </Border.Background>
        </Border>
  
        <Border Grid.Row="1" Margin="0,0,0,0" VerticalAlignment="Top" Height="40" Width="Auto">
            <StackPanel Orientation="Horizontal">
                <telerikControls:RadButton Content="Mode" Height="30" Width="80" Margin="15,5,0,5"/>
                <telerikControls:RadButton Content="Load" Height="30" Width="80" Margin="15,5,0,5"  Command="{Binding LoadCommand}" />
                <telerikControls:RadButton Content="Cancel" Height="30" Width="80" Margin="15,5,0,5"  Command="{Binding CancelCommand}" />
            </StackPanel>
        </Border>
  
        <Border Grid.Row="2" Margin="12,12,10,12">
            <telerik:RadGridView x:Name="OUGridView" AutoGenerateColumns="True"
                             ItemsSource="{Binding Path=OrganizationalUnitsDT.DefaultView}"
                             IsBusy="false" Grid.Row="2" SelectionMode="Multiple" Margin="0,0,0,0"
                             Height="Auto" Width="Auto" >
            </telerik:RadGridView>
                    </Border>
    </Grid>
</UserControl>

Vlad
Telerik team
 answered on 10 Mar 2011
2 answers
77 views
I can occasionally have SeriesMappings that I want to use a separate object to provide my data source.

My app is fairly heavy on charts and data and has pretty decent viewmodels for the charts. We bind directly to different objects for our current charting engines DataSeries.  Since the datasources can be swapped several objects below (but all INotify) we avoid alot of wiring.
Joel
Top achievements
Rank 1
 answered on 10 Mar 2011
1 answer
113 views
Hi,

I would like to implemement a command (a button) to scroll automatically to a timeslot.

Here is my scenario : I
enter a timeslot (for exemple 9:00 PM) from the GUI, I click on the button and the scheduleview automatically scrolls to the timeslot.

Are there mechanisms that allow to scroll to a timeslot?

Regards.
C.Léoni.
Valeri Hristov
Telerik team
 answered on 09 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?