Telerik Forums
UI for WPF Forum
1 answer
145 views

Hi,

Is it possible to add 2 textblocks in each coboboxItem and bind text values of those textblocks to properties of some class?

 

To help better understand the issue i have added an image also

Stefan
Telerik team
 answered on 16 Nov 2018
1 answer
109 views

Hi Telerik team,

the forum search doesn't work!

Every keyword leads to null result

Please fix it.

 

Best regards

Markus

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Nov 2018
1 answer
149 views

Hi,

I always want a tab of the same order.

 

<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <DockPanel Grid.Row="0" >
            <TextBlock Text="AInput"/>
            <TextBox />
        </DockPanel>
        <telerik:RadGridView Grid.Row="1" ItemsSource="{Binding  AList}" />
        <DockPanel Grid.Row="2" >
            <TextBlock Text="BInput"/>
            <TextBox/>
        </DockPanel>
        <telerik:RadGridView Grid.Row="3" ItemsSource="{Binding  BList}" />
        <DockPanel Grid.Row="4" >
            <TextBlock Text="CInput"/>
            <TextBox/>
        </DockPanel>
    </Grid>
</Window>

Application Run -> Tab Key, Tab, Tab…..

 

# Current status

1. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput

2. AInput -> A RadGrid (B3) -> BInput -> B RadGrid(B3)  -> CInput            <=== Problem

3. AInput -> A RadGrid (B3) -> BInput -> B RadGrid(B3)  -> CInput            <=== Problem

....

 

#  hope
 1. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
2. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
 3. AInput -> A RadGrid (A1,B1, A2,B2,A3,B3) -> BInput -> B RadGrid(A1,B1, A2,B2,A3,B3)  -> CInput
....

 

Is this possible?

Stefan
Telerik team
 answered on 15 Nov 2018
1 answer
214 views

I have a dynamically generated document in a RadRichTextBox. When I print this document, the quality (graphics) is very bad.

1.PrintSettings printSettings = new PrintSettings();
2.printSettings.DocumentName = _protocol.Title + " - Protokoll";
3.printSettings.PrintScaling = PrintScaling.ShrinkToPageSize;
4.printSettings.PrintMode = PrintMode.Native;
5.this.documentViewer.Print(printSettings);


If I export the document as pdf and print the PDF document, then the print quality is fine.

How can I improve the print quality of the RadRichTextBox?


Martin
Telerik team
 answered on 14 Nov 2018
2 answers
302 views

Dear All,

I am new to Chat control. I am practicing RadChat in Chat application, such that I have list of contacts on Left side, which bounded to List of users where

public class User: Entity
{
        public ObservableCollection<MessageBase> Messages { get => messages; set { messages = value; RaisePropertyChange(); } }
}

I have bounded RadChat DataSource as SelectedUser.Messages property, where SelectedUser is public property in my viewmodel, which contains selected item object.

As I assume that RadChat need to updated Messages as datasource is changed, but instead of refreshing messages, it appends new messages to old one.

My requirement is to Clear all messages in Chat UI, as I have selected new Messages object as datasource.

 

Here I want to clarify that data in Messages are correct according to my need. I feel it is some issue in RadChat or I need further steps to acheive my target.

<telerik:RadChat Grid.Row="2" Margin="5 0 0 0" Name="ctrlChat"                                     CurrentAuthor="{Binding CurrentAuther,UpdateSourceTrigger=PropertyChanged}"
DataSource="{Binding SelectedUser.Messages, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
   <telerik:EventToCommandBehavior.EventBindings>
    <telerik:EventBinding EventName="SendMessage"
                         Command="{Binding SendMessageCommand}" PassEventArgsToCommand="True" />
     </telerik:EventToCommandBehavior.EventBindings> 
    </telerik:RadChat>

 

 

Stefan
Telerik team
 answered on 14 Nov 2018
3 answers
242 views

When maximizing dockable windows on a second monitor they get cut-off. See attachment. This only happens, when the second monitor has a higher resolution, than the main monitor. Maximizing on main monitor or my third monitor which is smaller it works fine.

 

You already had a similar bug, which was obviously only fixed for the main monitor resolution:

https://www.telerik.com/forums/visual-studio-example---floating-document-is-not-maximized

 

My Telerik Version: 2018.1.220.45

 

Please get this fixed.

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Nov 2018
5 answers
119 views

Good morning
I have a problem that I can not solve despite having read many threads about this topic.
I have a RadGridView with binding to table where are listed a series of processing steps coming from an external microprocessor.
the running process is always on the first line.

Faced with a change in the status of some microprocessor values, which occur with a few milliseconds, refresh the values of the only cells that interest me with these instructions (for reasons of display speed):

   ((WorkPhaseInProgress) RadGridViewWorkPhaseInProgressOnDashBoard.Items [0]). QtaDone = qtaDone;
   ((WorkPhaseInProgress) RadGridViewWorkPhaseInProgressOnDashBoard.Items [0]). QtaPartialDone = qtaPartialDone;
   ((WorkPhaseInProgress) RadGridViewWorkPhaseInProgressOnDashBoard.Items [0]). QtaDoneForHour = qtaForHourNow;
   RadGridViewWorkPhaseInProgressOnDashBoard.Items.Refresh ();

where

RadGridViewWorkPhaseInProgressOnDashBoard is the name of the RadGridView

WorkPhaseInProgress class of single item

and everything works perfectly.

my question is:
how can I change the backgroud color for a few seconds to the only cells that interest me?

I can run everything in a separate thread, but my problem is how to change freely (according to my logic related to the microprocessor) the change of back color.
I hope I explained myself
thank you in advance

Vladimir Stoyanov
Telerik team
 answered on 14 Nov 2018
1 answer
152 views

The default behaviour for the StepLineSeries is that the centre of the step is over the point, is there a way to change the position of the step up/down so it corresponds with change in the horizontal axis

e.g. Imagine I have a StepLineSeries displaying the amount of money in my piggy bank on the vertical axis, and the date on a DateTimeContinuous horizontal axis, with the following amounts on dates:

1st Jan = £0

2nd Jan = £10

5th Jan = £3

Currently the first step up happens in between the horizontal axis markers for 1st and 2nd Jan, instead of on the axis marker for 2nd Jan, which is when I actually changed the value. Is there a way to adjust this behaviour?

 

Vladimir Stoyanov
Telerik team
 answered on 14 Nov 2018
1 answer
198 views

I am using RadTreeView with  IsTriStateMode="True" and IsOptionElementsEnabled="True" options. i am having an issue on aligning the selection of TreeViewItem and the checkbox state. i tried binding IsChecked and IsSelected properties, but did not work as expected.  

I prefer doing in XAML. Any suggestions?

Martin Ivanov
Telerik team
 answered on 14 Nov 2018
1 answer
875 views

Hi,

Is it possible to change the AccentColor in XAML?

I want to do something like this, but in a global style.xaml:

FluentPalette.Palette.AccentColor = (Color)ColorConverter.ConvertFromString("#FF0078D7");
FluentPalette.Palette.AccentFocusedColor = (Color)ColorConverter.ConvertFromString("#FF4CB0FF");
FluentPalette.Palette.AccentMouseOverColor = (Color)ColorConverter.ConvertFromString("#FF008EFF");
FluentPalette.Palette.AccentPressedColor = (Color)ColorConverter.ConvertFromString("#FF0063B1");

Best regards,

Moritz

Vladimir Stoyanov
Telerik team
 answered on 14 Nov 2018
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?