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?
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
>
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.
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
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?
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?
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
I'm building an app where the user can switch the appearance of the UI controls a runtime.
I do this in codebehind like so:
StyleManager.ApplicationTheme =
new
MaterialTheme();
MaterialPalette.Palette.FontSize = 12;
MaterialPalette.Palette.MainColor = (Color)ColorConverter.ConvertFromString(
"#FFFC0EF1"
);
MaterialPalette.Palette.FontFamily =
new
FontFamily(
"Calibri"
);
But besides the radcontrols, there are a lot of MS controls (mostly Label), who's color, font and size i also have to switch.
And (to my surprise) there is no "RadLabel" or "RadTextBlock".
So how can I accomplish this with the regular controls? Can I make them "listen" to the StyleManager.ApplicationTheme ?
I have the following (simplified) xaml:
<telerik:RadCartesianChart x:Name="chart">
<telerik:RadCartesianChart.HorizontalAxis >
<telerik:CategoricalAxis />
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis />
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:LineSeries Stroke="Blue" ItemsSource="<Binding to a double array>"
</telerik:LineSeries>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
By default the x axis starts from "1" (See picture). How to have the x axis starting at "0" ?
Thanks