Telerik Forums
UI for WPF Forum
3 answers
643 views
When I put in a scrollViewer Theme like
<Style TargetType="ScrollViewer">
        <Setter Property="t:StyleManager.Theme" Value="{StaticResource Theme}" />
</Style>

Then I put in a simple AvalonEdit Control into the Grid, I have to place the cursor in the very first character of the first line to be able to select the text box. How can I get around this? I would like to be able to use the Nice looking scroll viewer with the Editor. Ideally it would be nice if Telerik had a radtextbox with Line numbers and Syntax Highlighting.

<Grid>
<avalonEdit:TextEditor Margin="5" Grid.Row="2" Width="Auto" FontFamily="Segoe UI" FontSize="10pt" SyntaxHighlighting="C#" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" ShowLineNumbers="True">
</avalonEdit:TextEditor>
</Grid>


Thanks
Dimitrina
Telerik team
 answered on 18 Jun 2014
1 answer
89 views
how to display timeline in quarterly fashion (WPF)? 
Vladi
Telerik team
 answered on 18 Jun 2014
3 answers
336 views
I want each step can have customized label value and have one axis to show two different unit of values like in attachement
Currently i put the two axis together to make it looks like one to display in different unit, is there anyother way? and I am not able to show customized label. is it possible and how? I am new to this control 

​            <telerik:VerticalLinearScale  FlowDirection="RightToLeft" telerik:StyleManager.Theme="">
            </telerik:VerticalLinearScale>
            <telerik:VerticalLinearScale  FlowDirection="LeftToRight" telerik:StyleManager.Theme="">
            </telerik:VerticalLinearScale>
Andrey
Telerik team
 answered on 18 Jun 2014
3 answers
111 views
We have a RadVerticalLinearGauge as listed below. The floater indicator is essentially the maximum value within a time window determined from outside. I would like to have a number Just above or in the top of the floater indicator bar with the value.

Can this be achieved by templating the BarIndicator or is there some smart way with CustomItems?

<telerik:RadVerticalLinearGauge Grid.Row="1" Margin="0,30" telerik:StyleManager.Theme="Windows8Touch">
    <telerik:VerticalLinearScale Min="{Binding Path=Min}" Max="{Binding Path=Max}"
                                    RelativeHeight="1" RelativeY="0" RelativeWidth="1" RelativeX="0.5" LabelFormat="{}{0:F0} µV"
                                    StartWidth="0.35" EndWidth="0.35">
        <telerik:VerticalLinearScale.Indicators>
            <telerik:BarIndicator UseRangeColor="False" StartWidth="0.3" EndWidth="0.3"
                                    Background="{Binding Path=FloaterBrush}"
                                    Visibility="{Binding Path=IsFloaterVisible, Converter={StaticResource BooleanToVisibilityConverter}}"
                                    Value="{Binding Path=FloaterValue}" RenderTransformOrigin="0.5,0.5"/>
            <telerik:BarIndicator UseRangeColor="False" StartWidth="0.3" EndWidth="0.3"
                                    Background="{Binding Path=DirectBrush}"
                                    Value="{Binding Path=DirectValue}" />
        </telerik:VerticalLinearScale.Indicators>
    </telerik:VerticalLinearScale>
</telerik:RadVerticalLinearGauge>
Andrey
Telerik team
 answered on 18 Jun 2014
2 answers
451 views
Hello

I would like to know if is possible to navigate through my items using the arrow keys the same way as if I am using the framework listbox.
When you click on the arrow DOWN, the framework Listbox selects the item below the selectedItem, but when we do the same thing with the RadListBox, the selection goes to the item at the right of the selectedItem.

Here is the code for the framework Listbox:
<ListBox Width="700" Height="700" ItemsSource="{Binding YourSource}">
                              <ListBox.ItemsPanel>
                                  <ItemsPanelTemplate>
                                      <UniformGrid Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}" Columns="3" />
                                  </ItemsPanelTemplate>
                              </ListBox.ItemsPanel>
                          </ListBox>

And here for the RadListBox:
<telerik:RadListBox Width="700" Height="700" ItemsSource="{Binding YourSource}">
                             <telerik:RadListBox.ItemsPanel>
                                 <ItemsPanelTemplate>
                                     <UniformGrid Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}" Columns="3" />
                                 </ItemsPanelTemplate>
                             </telerik:RadListBox.ItemsPanel>
                         </telerik:RadListBox>

Maurício
Top achievements
Rank 1
 answered on 18 Jun 2014
1 answer
132 views
I want to datatrigger in pointtemplate's datatemplate.


Current  I get Chart's datacontext .

I need to ItemsSource by item.

How access?
Petar Marchev
Telerik team
 answered on 18 Jun 2014
7 answers
284 views
Hi,

I am facing some issues while evaluating Telerik WPF UI components for my application.

Here is some background on the application.
1. Application will have dockable multiple Main pages(We are calling it page).
2. Each Main Page will contain multiple dockable views (Windows inside page).
3. User Can Drag entire main page to different screen.

Issues
1. When user opens a window inside page on second monitor, and try to dock that window in same main page, the center docking icon appears on first monitor.
2. The size of floating windows and position resets every time they are docked and undocked. They cannot be set using data templates.
3. If a window has just been opened and is in floating then there is nothing present in the active Main Page from which it is opened. So no reference is obtained to handle the event for the same.

Kindly find the screen shots attached to issue 1.

Regards,
Rishi

George
Telerik team
 answered on 18 Jun 2014
1 answer
102 views
Hi there, I have an issue which is when I change my current official release telerik library to latest internal build, the xmlns:telerik instant throw an error, I already do clean rebuild add reference manually seems not fixed any recommendation to solve this issue?
Lance | Senior Manager Technical Support
Telerik team
 answered on 18 Jun 2014
1 answer
137 views
Hello,

I want to delay the auto shuffling of Tiles in RadTileList Controls. Currently what is happening, when I take a tile and move it downward to some empty space, other tiles reshuffle them before the Drag operation is completed and if I drop the tile on some empty space the dropped tile is moved to the new location(slot) which is created by reshuffling of tiles.

PS: This is not the behavior in Window 8.1 Home screen Tiles. When we drag a tile to empty space the other tiles are rearranged as in RadTileList but if that tile is dropped on a wrong position (downwards) The dropped tile come to it's original place.

Please have a look on attached images.
Maya
Telerik team
 answered on 18 Jun 2014
1 answer
230 views
Hello,
I would like implement RadDocking to Mainboard Panel - example in file: "Przyklad_do_RadDocking.png". But I don't know how I can set property SizeToContent to RadPane. In next step I want add VerticalScrollBar to RadDocking. But I think RadDocking always have only 100% visible size.
Vladi
Telerik team
 answered on 17 Jun 2014
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?