Telerik Forums
UI for WPF Forum
3 answers
121 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
476 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
156 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
317 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
121 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
158 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
242 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
3 answers
183 views
Is there a way to only update the value data binding when the user has done a thumb up action?

Thanks!
Martin Ivanov
Telerik team
 answered on 17 Jun 2014
3 answers
210 views
Hi. I have window with button and RadTabControl with 3 TabItem.
Button has click event 
private void BtnPrint_OnClick(object sender, RoutedEventArgs e)
        {
            Random r = new Random();
            var Background = Color.FromArgb((byte)r.Next(255), (byte)r.Next(255), (byte)r.Next(255), (byte)r.Next(255));
            Brush brush = new SolidColorBrush(Background);
            modulCalculationDefect.pipeControl.Background = brush;

            RenderTargetBitmap targetBitmap = new RenderTargetBitmap((int)modulCalculationDefect.pipeControl.ActualWidth,
                    (int)modulCalculationDefect.pipeControl.ActualHeight, 96d, 96d, PixelFormats.Default);
            targetBitmap.Render(modulCalculationDefect.pipeControl);

            BmpBitmapEncoder encoder = new BmpBitmapEncoder();
            encoder.Frames.Add(BitmapFrame.Create(targetBitmap));

            MemoryStream stream = new MemoryStream();
            encoder.Save(stream);
            BitmapImage bmp = new BitmapImage();
            bmp.BeginInit();
            bmp.StreamSource = new MemoryStream(stream.ToArray());
            bmp.EndInit();

            imageControl.Source = bmp;
        }
So when i click button I must change backgroud modulCalculationDefect.pipeControl, make image and view this image in imageControl. This work when select RadTabItem where located modulCalculationDefect.pipeControl. When selected another item image in imageControl doesn't change.
How can I fix that?

Martin Ivanov
Telerik team
 answered on 17 Jun 2014
2 answers
304 views
Hello Telerik,

I want to use the RadAutoCompleteBox but it should be possible to input a value which is not part of the itemssource.
The user should be able to either select a value from the itemssource or add a new item.

In other words the autocomplete should be optional. Is this possible?

Thanks for help.

Greetings
Michael
Michael
Top achievements
Rank 1
 answered on 17 Jun 2014
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
ProgressBar
Sparkline
LayoutControl
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
Rating
Accessibility
Callout
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
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?