« first day (234 days earlier)      last day (3915 days later) » 

09:42
Morning people
aka Sisyphe
lol
 
3 hours later…
12:18
:)
oh hi new life form!
haha, i see its a little dead in here today
well.. completely dead
its as empty as it was on the day it was born
i can understand weekends but on a monday? unusual
12:38
well i know johan isnt around in the day time , but i wonder where gregory and markus are :(
Greg is on holiday
Markus isnt' a regular
fair enough, how are you anyways mav?
sup guys?
hello there dennis
anyone using telerik here?
seems kinda buggy to me :>
12:45
not me i'm afraid, but i cant speak for mav or sisyphe
im simply tryin to change the foreground color of a richtextbox... since hours :D
haha, yea that doesnt sound like it should be a complicated thing
yea but telerik:RadRichTextBox seems to be a bit b*tchy :D im give up now xD
13:01
Hi Denis
and nah i haven't used telerik either. I'm "I'll do it myself" kinda guy :)
I have no choice :D got to use it at my work
anyway i cant see any advance in using telerik >_>
so what's the code that's not working?
have you searched SO? there's quite a bit of questions tagged as telerik in there
I searched for the problem. bit it seems that nobody else got this problem. I simply want to set Foreground="Blue". but im the only on the www who got this issue :D
13:27
Unfortunately not :( i need to set it in XAML
dennis have you tried setting a brush?
When you say Foreground="Blue" wpf standard controls create a SolidColorBrush with its Color set to #000000FF under the hood and assign that to the foreground using builtin converters
its entirely possible that your problem is simply that there's no converter for telerik to go from string to brush
unfortunately since i don't have telerik controls on me, i can only speculate
13:41
i think i didn't understood u right. do u want me to change "blue" to "#0000FF" or is brush a own method which i define in my resources?
13:52
@dennisschütz SolidColorBrush is a StaticResource that you define
and then reference that brush in foreground, if that doesn't work - then something is really wrong with the control or telerik is using non-standard way of changing colours (i wouldn't be surprised at all!)
can you please also share your xaml line of code where you're setting this
14:17
<telerik:RadRichTextBox Margin="3" Name="bemerkungAdrTextBox" MinHeight="80" Grid.ColumnSpan="5"
FontFamily="{Binding Source={StaticResource ...}, Path=RTBFont}" DocumentInheritsDefaultStyleSettings="True"
FontSize="{Binding Source={...}, Path=RTBFontSize}" >


<telerik:RadDocument ParagraphDefaultSpacingAfter="0" />
</telerik:RadRichTextBox>
@dennisschütz did the static resource bit work? I dont see Foreground mention in the rtb ?
yes my static resources are working. and i took foreground out in this one. imagine it in front of you :D
lol so your foreground is sorted?
<telerik:RadRichTextBox Foreground="Blue" Margin="3" Name="bemerkungAdrTextBox" MinHeight="80" Grid.ColumnSpan="5"
FontFamily="{Binding Source={StaticResource ...}, Path=RTBFont}" DocumentInheritsDefaultStyleSettings="True"
FontSize="{Binding Source={...}, Path=RTBFontSize}" >


<telerik:RadDocument ParagraphDefaultSpacingAfter="0" />
</telerik:RadRichTextBox>
that's the way i want it
14:34
 <Grid.Resources>
	<SolidColorBrush x:Key="BlueBrush" Color="#FF0000FF" />
</Grid.Resources>
<TextBlock Text="Test" Foreground="{StaticResource BlueBrush}" />
try it like that but replacing TextBlock with RTB
posted on June 10, 2013 by Eric Lippert

Take a look at this little program skeleton: class Foo { private int x; private int y; public Foo(int x, int y) { this.x = x; this.y = y; SideEffects.Alpha(); // Notice: does not use "this" } ~Foo() { SideEffects.Charlie(); … Continue reading →

:/ sadly not i forgot to add this code line here
<telerik:HtmlDataProvider Name="rtfDataProvider1" RichTextBox="{Binding ElementName=bemerkungAdrTextBox}" Html="{my2:ValidatedBinding Path=Bemerkung, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true, Converter={StaticResource VCRtfToHtmlConverter}}" />
14:49
I think if the html source defines the colours they override your own.
curiously they have ForeColor ?
i ll check that. but enough for today. thank u very much for your help. im goin to cry myself into sleep now. cya

« first day (234 days earlier)      last day (3915 days later) »