I'm looking for the same funcionality as :
MaskedEditBoxElement.Fill.BackColor for RadMaskedEditBox and
TextBoxElement.Fill.BackColor for RadTextBox
for RadSpinEditor.
Below effect which I need:

TextBox and Masked are ok but Spin isn't correct for me. Please help. Thanks.
MaskedEditBoxElement.Fill.BackColor for RadMaskedEditBox and
TextBoxElement.Fill.BackColor for RadTextBox
for RadSpinEditor.
Below effect which I need:
TextBox and Masked are ok but Spin isn't correct for me. Please help. Thanks.
4 Answers, 1 is accepted
0

Richard Slade
Top achievements
Rank 2
answered on 15 Mar 2011, 10:26 AM
Hello,
you can change the backcolor of the RadSpinEditor textboxitem in the following way
Hope that helps
Richard
you can change the backcolor of the RadSpinEditor textboxitem in the following way
this
.radSpinEditor1.SpinElement.TextBoxItem.BackColor = Color.Purple;
Hope that helps
Richard
0

Dawid
Top achievements
Rank 1
answered on 15 Mar 2011, 11:35 AM
I use this propert y(
this
.radSpinEditor1.SpinElement.TextBoxItem.BackColor
) but I need that color will set for the frame this control as the same as texbox and maskededit controls. On picture that I send is showing different behaviors.0

Richard Slade
Top achievements
Rank 2
answered on 15 Mar 2011, 12:01 PM
Hello,
You can change these items in the following way, but I would advise that instead of doing this, you create a custom theme using the Visual Style Builder to apply your new styles.
Hope that helps
Richard
You can change these items in the following way, but I would advise that instead of doing this, you create a custom theme using the Visual Style Builder to apply your new styles.
this
.radSpinEditor1.SpinElement.ButtonDown.Fill.BackColor = Color.Purple;
this
.radSpinEditor1.SpinElement.ButtonDown.Fill.NumberOfColors = 1;
this
.radSpinEditor1.SpinElement.ButtonUp.Fill.BackColor = Color.Purple;
this
.radSpinEditor1.SpinElement.ButtonUp.Fill.NumberOfColors = 1;
BorderPrimitive border = (BorderPrimitive)
this
.radSpinEditor1.SpinElement.Children[1];
border.BoxStyle = Telerik.WinControls.BorderBoxStyle.FourBorders;
border.BottomColor = Color.Red;
border.TopColor = Color.Red;
border.LeftColor = Color.Red;
border.RightColor = Color.Red;
Hope that helps
Richard
0
Hi Dawid,
Please find your answer in the other thread that you have opened "Fill back color".
All the best,
Stefan
the Telerik team
Please find your answer in the other thread that you have opened "Fill back color".
All the best,
Stefan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!