Hello community!!!
I am trying to get the "ForeColor" value of a "RadButton" but when it is in "MouseOver" state. Any idea how can I do that?
As you can see in my screenshot, into "Visual Style Builder" I found the "HighlightedForeColor" key for the "MouseOver" state but I don't know how to get this value into my code like I do to the example below for this "RadButton".
Thank you for your time!!!
I am trying to get the "ForeColor" value of a "RadButton" but when it is in "MouseOver" state. Any idea how can I do that?
As you can see in my screenshot, into "Visual Style Builder" I found the "HighlightedForeColor" key for the "MouseOver" state but I don't know how to get this value into my code like I do to the example below for this "RadButton".
public static Color RGB_Color()
{
RadButton Rad_Button = new RadButton();
RadForm Rad_Form = new RadForm();
Rad_Form.Controls.Add(Rad_Button);
Rad_Form.ThemeName = "Office2019Dark";
Color forecolor = new Color();
forecolor = Rad_Button.ForeColor;
Debug.WriteLine("The forecolor is : " + forecolor);
return forecolor;
}