The PagerStyle class is from the Telerik Grid API.
Color MyValue;
var color = RadGrid1.PagerStyle.BackColor;
color = MyValue;
Color MyValue;
var color = RadGrid1.PagerStyle.BackColor;
color = MyValue;
PagerStyle returns GridPagerStyle. BackColor returns type Color.
If I edit the returned value by writing RadGrid1.PagerStyle.BackColor = Color(and however I manipulate this Color),
or write:
RadGrid1.PagerStyle.BackColor = MyValue (where MyValue is my own custom set variable).
Is there a difference in the end result? Is one approach preferred over the other?
Thanks