I have set the button's top border color to be red and bottom border color to be yellow by the below codes but the appearance never show the border colors when running.
this.ButtonElement.BorderElement.BoxStyle = BorderBoxStyle.FourBorders;
this.ButtonElement.BorderElement.TopColor = Color.Red;
this.ButtonElement.BorderElement.TopWidth = 2;
this.ButtonElement.BorderElement.BottomColor = Color.Yellow;
this.ButtonElement.BorderElement.BottomWidth = 2;
Please help me to solve this problem.